Create a cashout
This endpoint allows generating withdrawal requests (cashouts)
Request content type
application/json
Control signature to verify the authenticity of the request
HmacSHA256-encoded signature
Your access key for the D24 CASHOUTS API
Your password key for the D24 CASHOUTS API
Unique cashout ID on the merchant side
Country of the cashout
Cashout amount
Currency in which the amount is specified
Beneficiary's document ID
Specified identity document type
Beneficiary ID (for anonymous)
Beneficiary's name
Beneficiary's last name
Beneficiary's email address
Beneficiary's phone number
Beneficiary's bank code
Beneficiary's bank account
Bank branch of the beneficiary's account
Beneficiary's account type
Beneficiary's address
Beneficiary's city
Beneficiary's postal code
Beneficiary's date of birth
URL where notifications will be sent
Comments about the cashout
Marks a cashout as on hold and does not process it until manually changed to pending
Response format type
Cashout request successfully created
Request error (KYC error)
Authentication error
Data validation error
POST /v3/cashout HTTP/1.1
Host: api-stg.directa24.com
Content-Type: application/json
Payload-Signature: text
Accept: */*
Content-Length: 308
{
"login": "xxxxxxx",
"pass": "xxxxxxx",
"external_id": "30000000001",
"country": "BR",
"currency": "BRL",
"amount": 100,
"document_id": "01716001340",
"beneficiary_name": "User",
"bank_account": "3423422-7",
"bank_code": "001",
"bank_branch": "1234",
"account_type": "C",
"notification_url": "https://webhook.site/url",
"type": "json"
}
{
"cashout_id": "8405147"
}
Last updated
Was this helpful?