Our API Docs just got a new look!

Update a cashout status

Update Cashout Status

put

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.

Header parameters
Content-Typestring · enumRequired

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

Default: application/jsonPossible values:
Payload-SignaturestringRequired

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

Example: 2e5023770760ea0a02230bff1a6dab934fe3b47a5e3d43854b58676600ee3868
Body
loginstring · max: 32Required

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

Example: cashout_login
passstring · max: 32Required

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

Example: cashout_pass
cashout_idnumber · int64Required

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

Example: 97875
statusstring · enumRequired

The status to be assigned to the cashout.

Example: ON_HOLDPossible values:
Responses
200

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

application/json
put
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?