API Integration
Our Cashouts API enable merchants to generate local withdrawals in every country that D24 operates. In order to do so, merchants need provide the in each transaction the local banking details required.
Therefore, it is important to properly understand the
within each market that the merchant is willing to operate.Integration flow
Cashout creation
Merchants need to send all the required local information for creating the transaction.
In this example, in 🇲🇽 Mexico we need the document, the bank account, the beneficiary name and last name.
curl -L \
--request POST \
--url 'https://api-stg.directa24.com/v3/cashout' \
--header 'Content-Type: application/json' \
--header 'Payload-Signature: text' \
--data '{
"login": "your_cashout_login",
"pass": "your_cashout_pass",
"external_id": "30000000001",
"country": "MX",
"currency": "MXN",
"amount": 100,
"document_id": "848392783",
"bank_account": "021790064060296642",
"beneficiary_name": "Luis",
"beneficiary_lastname": "Miguel",
"notification_url": "https://merchant.site/webhooks/d24",
"type": "json"
}'
For technical details, please visit the API Reference
Webhook notification
Each time that a cashout changes its status we will send a webhook notification.
date=2020-03-12%2020%3A26%3A11
&bank_reference_id=
&comments=
&external_id=cashoutV35381
&control=A4CFF64E78C4BD01F8BFCA4AFF04632EC4A33CC61BD6BBD156BA1289897892EB
&cashout_id=8405147
&status_reason=
Please visit
Retrieve the cashout status
By creating a request to the cashout status endpoint you will capable od retrieving the final status of the transaction.
curl -L \
--request POST \
--url 'https://api-stg.directa24.com/v3/cashout/status' \
--header 'Content-Type: application/json' \
--header 'Payload-Signature: text' \
--data '{
"login": "your_cashout_login",
"pass": "your_cashout_pass",
"cashout_id": 8405147
}'
For technical details, please visit the API Reference
Last updated
Was this helpful?