Skip to main content
POST
Reverse a payout (restore the withdrawn balance)

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

accountId
string
required

Trading account the payout was withdrawn from

payoutId
string
required

Payout to reverse (id from POST/GET /accounts/{accountId}/payouts)

Body

application/json
reason
string
required

Why the payout is being reversed — stored on the payout, in the audit trail, and in the webhook event.

Required string length: 3 - 500
Example:

"Payout PO-1042 cancelled by finance — funds returned to account"

Response

Payout reversed

success
boolean
Example:

true

message
string
Example:

"Payout reversed — balance restored"

data
object
Example: