Skip to main content

Callbacks

After creating Deposit & Withdraw, we POST status updates in JSON format to an endpoint where you send us status updates. You can get information about the parameters sent below.

We may send you more than one callback for a transaction. For example, when a deposit is successful, a callback is sent to you regarding the "successful" status. However, in case of a systematic error, this transaction may turn into unsuccessful and a callback will be sent to you again. To avoid this anomaly, please process each callback we send only once.

Deposit Callback Payload

KeyTypeDescription
hashstringSignature created by us for callback verification
transactionIdstringThe unique ID number we give you when creating a transaction
bankIdstringRelevant bank id value
bankstringName of the relevant bank
amountdecimalLast amount. (the amount you will consider)
typestringTransaction type ( deposit )
bankAccountNamestringBank account name where the deposit was made
bankAccountIbanstringBank account number where the deposit was made
statusstringTransaction status ( successful or unsuccessful )
statusReasonstringReason for failure if status field is unsuccessful
namestringThe name value you sent when creating the deposit transaction
userNamestringThe userName value you sent when creating the deposit transaction
userIdstringThe userId value you sent when creating the deposit transaction
processIdstringThe processId value you sent when creating the deposit transaction
convertedNamestringA 'slugified' version of the name value you sent when creating the deposit transaction
POST to your-callback-url
{
"hash": "zzunnCrv6Sb38TU/dPYIl+9TKd8gT6iqrcxv+V32AFs=",
"transactionId": "6575078b9e6bb1554a50b7b1",
"bankId": "507f1f77bcf86cd799439011",
"amount": 500,
"userId": "987654",
"name": "Test User",
"userName": "testUserName",
"processId": "123456789",
"type": "deposit",
"convertedName": "testuser",
"bank": "Fake Bank",
"bankAccountName": "Fake Bank Account Name",
"bankAccountIban": "TR280006276256222621885935",
"status": "successful",
"statusReason": null
}

Withdraw Callback Payload

KeyTypeDescription
hashstringSignature created by us for callback verification
transactionIdstringThe unique ID number we give you when creating a transaction
bankIdstringRelevant bank id value
bankstringName of the relevant bank
amountdecimalLast amount. (the amount you will consider)
typestringTransaction type ( withdraw )
accountNamestringThe accountName value you sent when creating the withdraw transaction
ibanstringThe iban value you sent when creating the withdraw transaction
statusstringTransaction status ( successful or unsuccessful )
statusReasonstringReason for failure if status field is unsuccessful
namestringThe name value you sent when creating the withdraw transaction
userNamestringThe userName value you sent when creating the withdraw transaction
userIdstringThe userId value you sent when creating the withdraw transaction
processIdstringThe processId value you sent when creating the withdraw transaction
convertedNamestringA 'slugified' version of the name value you sent when creating the deposit transaction
POST to your-callback-url
{
"hash": "zzunnCrv6Sb38TU/dPYIl+9TKd8gT6iqrcxv+V32AFs=",
"transactionId": "6575078b9e6bb1554a50b7b1",
"bankId": "507f1f77bcf86cd799439011",
"amount": 500,
"userId": "987654",
"name": "Test User",
"userName": "testUserName",
"processId": "123456789",
"type": "withdraw",
"convertedName": "testuser",
"bank": "Fake Bank",
"accountName": "Test User",
"iban": "TR280006276256222621885935",
"status": "successful",
"statusReason": null
}