Update a 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. Cashouts in ON_HOLD reserve funds from your balance.
Media type of the request. Must be application/json.
application/json
Possible values: Control Signature. Calculated by hashing the entire JSON payload of the request using HMAC256 and your secret API key.
2e5023770760ea0a02230bff1a6dab934fe3b47a5e3d43854b58676600ee3868
Your D24 CASHOUTS API login key. Found in Merchant Panel: Settings → API Access.
cashout_login
Your D24 CASHOUTS API passphrase. Found in Merchant Panel: Settings → API Access.
cashout_pass
The unique identifier of the cashout on D24's end, obtained from the Create Cashout Endpoint.
97875
The status to be assigned to the cashout.
ON_HOLD
Possible values: The status of the cashout was successfully updated. The response body reflects the cashout's new or current status.
Bad Request. This can occur due to various reasons such as an invalid status transition (e.g., trying to change status from DELIVERED).
Unauthorized. Invalid API credentials (login/pass) or Payload-Signature.
Precondition Failed. The specified cashout_id
was not found.
Internal Server Error. An unexpected error occurred on the server side.
PUT /v3/cashout/status HTTP/1.1
Host: api-stg.directa24.com
Content-Type: application/json
Payload-Signature: 2e5023770760ea0a02230bff1a6dab934fe3b47a5e3d43854b58676600ee3868
Accept: */*
Content-Length: 85
{
"login": "cashout_login",
"pass": "cashout_pass",
"cashout_id": 97875,
"status": "ON_HOLD"
}
{
"cashout_status": 1,
"cashout_status_description": "Completed"
}
Last updated
Was this helpful?