Cashout Status Endpoint
Learn how to use the Endpoint to retrieve the status of a cashout
Cashout Status Endpoint
POST
https://api-stg.directa24.com/v3/cashout/status
This API allows you to retrieve the status of a cashout
Headers
Name | Type | Description |
---|---|---|
Content-Type* | string |
|
Payload-Signature* | string | Control Signature |
Request Body
Name | Type | Description |
---|---|---|
login* | String | Your D24 CASHOUTS API login key |
pass* | string | Your D24 CASHOUTS API pass key |
cashout_id* | number | The ID of the cashout to check status of. It is the one generated by D24 when the cashout was created |
external_id* | string | The ID of the cashout to check status of. It is the one you sent when the cashout was created |
Cashout Status Request
Request Example
Request Fields Description
Field | Format | Description |
---|---|---|
| String. Length 32 max | Your D24 CASHOUTS API Key, it can be found on the Merchant Panel: Settings -> API Access. Notice there are specific Cashout credentials |
| String. Length 32 max | Your D24 CASHOUTS API Passphrase, it can be found on the Merchant Panel: Settings -> API Access. Notice there are specific Cashout credentials |
| Number | Identifier of the cashout on D24 end. It is the one returned by the Create Cashout Endpoint |
| String | Identifier of the cashout on the Merchant end. It is the one you sent while Creating the Cashout request. You can opt to send this field or |
You can choose to send the external_id or the cashout_id
Request Payload Signature
The Payload-Signature of the Cashout Status Endpoint is calculated by hashing the whole JSON payload of the request using HMAC256 and your secret key (API Signature) to encrypt it.
Click here for further instructions.
Cashout Status Response
Response Example
Response Fields Description
Field | Format | Description |
---|---|---|
| Number | Status code of the cashout. See list of status |
| String | Description of the status |
| String | ID of the transaction on the bank side. For Pix, it's the E2E ID (End-to-end) |
| object | Object containing information about the bank of the beneficiary |
| String | Code of the bank of the beneficiary |
| String | Name of the bank of the beneficiary |
| String | Branch of the beneficiary's bank account |
| String | Account number of the beneficiary's bank account |
| String | Name of the owner of the account |
| Number | Rejection code if sent by the bank. See list of rejection codes |
| String | Reason of the rejection if sent by the bank |
E2E for Pix Withdrawals
When processing Pix Withdrawals, we return as part of the Status endpoint further information about the bank account of the beneficiary.
This includes the provider_external_reference
, also known as the E2E ID. It is a unique ID assigned to the transactions that can be used to track the transfer across the Brazilian banking system, useful to optimize the support experience as it allows the users to uniquely track their money as it reaches their bank account.
We also include details about the bank account that received the money, useful when using Pix Keys.
Status Flow
Click here to see each Cashout Status meaning.
Cashout Status Flow
DECLINED: The DECLINED status is not a status by itself. It means the transaction couldn't be created because of an error with the data, the customer or the merchant configuration. No transaction will change its status from DECLINED.
PENDING: Once the cashout is in PENDING status, it means it was successfully created and that it will be send for processing soon, changing to DELIVERED. It can also be manually changed to ON_HOLD or CANCELLED.
ON_HOLD: A cashout will be created with ON_HOLD status only if specified while creating the cashout with on_hold: true. Otherwise, it can be manually set to ON_HOLD from the Merchant Panel. If a cashout is ON_HOLD, it won't be send for processing until you manually go and set it to PENDING from the Merchant Panel. It can still be CANCELLED.
CANCELLED: It means you didn't want to proceed with the cashout and it was CANCELLED through the Merchant Panel or through the Cancel Cashout Endpoint. Final status.
DELIVERED: As soon as the cashout is sent to the bank for processing, its status will change to DELIVERED. At which point it can't be cancelled anymore.
COMPLETED: If the cashout was successfully completed, its status will be set to COMPLETED. Final status*.
REJECTED: If the cashout was rejected by the bank, its status will be set to REJECTED. Final status. *There are cases in which the banks confirm that a payout was successfully processed and after a few days, it gets returned by the beneficiary's bank therefore the status on our platform will change to REJECTED as well. Those are corner cases but must be considered.
Status codes
Check all the possible status codes in the following page:
API CodesLast updated