Create a withdrawal

  • Creates a withdrawal (cash-out) operation. Single-currency only.
  • Business-rule rejections (for example, insufficient funds) are returned as 201 with status REJECTED and failure_reason populated, not as a 4xx error.
Body Params

Withdrawal (cash-out) request. Single-currency only — source_amount describes the debit
applied to the internal source account; both amount and currency are required.
The external_account_reference identifies the external destination.

string
required
length between 1 and 50

Internal source account identifier

string | null

External destination account reference

source_amount
object
required

A monetary amount with currency. amount is in minor units (positive integer string).

  • On a transfer request, both source_amount and destination_amount are present and each
    carries its currency. Exactly one must supply amount — the server computes the other
    and populates both on the stored record.
  • On a deposit request (destination_amount) and a withdrawal request (source_amount),
    both amount and currency are always required.
  • On every response (Create or Get), all Money objects are fully populated (amount + currency).
fee
object

Fee on a withdrawal. Always charged to the source account:
the source is debited source_amount.amount + fee.amount.
fee.currency must equal source_amount.currency.

string
required
length between 1 and 100
^\S+$

Client-provided unique transaction reference (idempotency key). Must not
contain whitespace.

string
length between 1 and 255

Human-readable description

Responses

403

Access token rejected by the API gateway (for example, expired).

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