Cashout Update Status Endpoint
Learn how to use the endpoint to update the status of a cashout
Cashout Update Status Endpoint
PUT
https://api-stg.directa24.com/v3/cashout/status
This API allows you to change the status of a cashout
Headers
Content-Type*
string
application/json
Payload-Signature*
string
Control Signature
Request Body
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 asign status to. It is the one generated by D24 when the cashout was created
status*
string
The status to be assigned to the cashout
Introduction
This API is used to update a cashout from PENDING to ON_HOLD or from ON_HOLD to PENDING.
A cashout in ON_HOLD won't be processed until you set it back to PENDING. This is useful in cases where you need to perform some form of KYC over the beneficiary before proceeding with the request.
You can create a cashout in ON_HOLD by specifying the flag on_hold: true
on the cashout creation request.
If a cashout is ON_HOLD and you would like to definitely cancel it, please see the Cashout Cancellation Endpoint
Cashouts in ON_HOLD retain the amounts from your balance, so be careful to not accumulate cashouts in this status for long time.
Cashout Update Status Request
Request Example
Request Fields Description
login
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
pass
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
cashout_id
Number
status
String
Status to be assigned to the cashout. Valid values: PENDING
, ON_HOLD
Request Payload Signature
The Payload-Signature of the Cashout Update 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 Update Status Response
Error Response Example
code
Number
Error code
message
String
Description of the error
Status Flow
Click here to see each Cashout Status meaning.
Cashout Status Flow
There are cases in which the bank confirms us that a payout was successful and after a few days, it gets rejected by the beneficiary's bank therefore the status on our platform will change to REJECTED as well. Those are very corner cases but should be considered.
Status codes
Check all the possible status codes in the following page:
Last updated
Was this helpful?