Skip to main content
PUT
Update Cashout Status

Update Cashout Status

This API allows you to change the status of a cashout.
The primary use case is to update a cashout from PENDING to ON_HOLD, or from ON_HOLD to PENDING.
A cashout in ON_HOLD will not be processed until it’s set back to PENDING. This is useful for KYC checks.
Only cashouts in PENDING status can be updated to ON_HOLD. Once a cashout is DELIVERED, it cannot be cancelled via this status update.\

Headers

Content-Type
enum<string>
default:application/json
required

Media type of the request. Must be application/json.

Available options:
application/json
Payload-Signature
string
required

Control Signature. Calculated by hashing the entire JSON payload of the request using HMAC256 and your secret API key.

Body

application/json

JSON payload containing the details for updating the cashout status.

login
string
required

Your D24 CASHOUTS API login key. Found in Merchant Panel: Settings → API Access.

Maximum string length: 32
pass
string
required

Your D24 CASHOUTS API passphrase. Found in Merchant Panel: Settings → API Access.

Maximum string length: 32
cashout_id
number<int64>
required

The unique identifier of the cashout on D24's end, obtained from the Create Cashout Endpoint.

status
enum<string>
required

The status to be assigned to the cashout.

Available options:
ON_HOLD,
PENDING

Response

The status of the cashout was successfully updated. The response body reflects the cashout's new or current status.

cashout_status
integer

Numeric code representing the cashout's current status.

cashout_status_description
string

Textual description of the cashout's current status.

rejection_code
integer | null

If the cashout status is 'Rejected', this code indicates the reason for rejection.

rejection_reason
string | null

If the cashout status is 'Rejected', this provides a textual explanation for the rejection.