Skip to main content
Carrier: POST /v1/exchange (encrypted binary). Permission: Owner only. Request a withdrawal to your configured recipient. The same command is available over WebSocket.
Configure client and the example inputs using SDK integration. Examples show typed SDK values, not a plaintext HTTP JSON body.

Request fields

The client supplies the configured domain, account, policy, signer and verified session binding, and signs the canonical envelope.
Uint8Array (32 bytes)
required
Nonzero private request ID. Retain it for an exact retry; use a distinct ID for a different intent.
bigint (u64)
required
Current account authority epoch.
bigint (u64)
required
Expiry timestamp in milliseconds, within the verified channel and configured authentication limits; not a validity duration.
"payout"
required
Command discriminator.
bigint (i128)
required
Positive net recipient quote atoms, excluding extra fees.
bigint (i128)
required
Nonnegative maximum additional customer-paid rail fee. net + maximumFee must fit i128.
boolean
required
Whether Cinder may deliberately dispatch less than the requested net amount when only part is available. This is consent, not a guarantee of a particular paid amount.
bigint (u64)
required
Financial dispatch expiry in milliseconds.

Response fields

The result uses the shared receipt fields. The fields below are most relevant to this method.
"receipt"
required
Response discriminator.
Uint8Array (32 bytes)
required
ID of this recorded command, matching the request’s id.
Outcome
required
rejected, accepted, dispatched, acknowledged, partial, complete or unknown. See lifecycle.
bigint (i128)
required
Confirmed net payment to the configured recipient, in quote atoms.
bigint (i128)
required
Actual customer-paid payout rail fees; not ordinary trading fees.
bigint (i128)
required
Maximum additional withdrawal-transfer fee authorized by maximumFee, not the actual fee charged.
boolean
required
Whether an action or signature may have reached external execution. This is not confirmation of a fill or payment.
boolean
required
The recorded payout partial-dispatch consent. False for unrelated commands.

Behavior

The request reserves net + maximumFee. paid records confirmed net payment to your configured recipient; railFees records charged withdrawal-transfer fees; feeCap is the additional fee limit you authorized. A withdrawal is complete only after payment to your configured recipient has been confirmed. Acceptance or money leaving a source account is not payment completion. Check paid against the requested net amount, especially when partial payment was allowed. Free collateral can be withdrawn while positions remain open, subject to margin, pending operations and accessible vault funds. Agents cannot request payouts, and the command cannot override your recipient. See funds for the full flow.

Errors and reconciliation

See errors for response codes and lifecycle for delivery failures, receipts and retries. Keep the original operation ID when reconciling an uncertain result.