Callback Notifications
After the transactions are completed, the results is sent to the endpoint you specified in JSON format via an HTTP POST request. You can find an example request below:
{
"api_key": "LEOk0ivxoGt1Yf2He7zoWp34N9PgryGm",
"type": "deposit", // deposit - withdraw
"transaction_id": "68e2f06cc4f2127b",
"amount": 500, // 500 TRY
"status": "approved", //approved - rejected
"token": "e43a1999370d6eb33e347*******************8d53d64256bdc576b240"
}Token calculation formula:
hash("sha256", "api_key|api_secret|type|transactionid|status")Upon sending the request, if the response received is an HTTP status code in the 2xx range, the transmission is considered successful. Otherwise, the transmission is marked as faulty, and no attempts are made to resend the result for that operation.
Last updated