Skip to main content
POST
Create an account bank withdrawal

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
idempotencyKey
string<uuid>
required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.

Example:

"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"

destination
object
required

The destination bank account.

amount
object
required
source
object

The source account for the withdrawal. The type must be account.

toAmount
object

To be used when requesting currency exchange.

burnAll
boolean
default:false

If true, withdraw the full balance of all sub-accounts and the main wallet in a single operation. The source must be the main wallet. When set, amount.amount is ignored and amount.currency must be USD.

Response

Successfully created a withdrawal.

data
object