Create a cashout
Merchants willing to create cashouts for your Submerchant accounts, they just need to include the sub_merchant_id
parameter in the cashout request, indicating in the value to which of their submerchant the cashout corresponds.
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",
"sub_merchant_id":"18703",
"amount": 100,
"document_id": "848392783",
"bank_account": "021790064060296642",
"beneficiary_name": "Luis",
"beneficiary_lastname": "Miguel",
"notification_url": "https://merchant.site/webhooks/d24",
"type": "json"
}'
Last updated
Was this helpful?