Force Payout Status

The following endpoint moves a sandbox payout to a status in its allowed list.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
  • This endpoint exists only in the sandbox.
  • First, get the allowed list with the Fetch Payout Transitions API.
  • To test a specific failure, send one of these failureCode values: INVALID_BENEFICIARY_DETAILS, ACCOUNT_CLOSED, ACCOUNT_BLOCKED, ACCOUNT_NOT_ELIGIBLE, NAME_MISMATCH, LIMIT_EXCEEDED, BANK_REJECTED_OTHER, COMPLIANCE_REJECTED, PURPOSE_NOT_ACCEPTED, REJECTED, PROCESSING_ERROR. Response Code Handling gives the meaning of each code.
  • If you force the status failed, the status is final.
  • If the payout has a debit, Durianpay returns the debit to your sandbox balance immediately.
  • After the change, Durianpay sends the same global.payout.updated event as for the same change in production.
  • If you send the same successful request again, the API returns the result. The balance effects and the events do not occur again.
Path Params
string
required

The payout referenceNo.

Body Params
string
required

A status from the payout's allowed list: completed or failed.

string

Only with the target failed. One of the failed-payout codes below. If you omit it, the payout fails with PROCESSING_ERROR.

Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json