Skip to main content
POST
POST /v2/trade/perps/withdrawals: Withdraw pUSD
Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
Moves pUSD from the venue account back to the user’s deposit wallet. The destination is always the user’s deposit wallet; there is no destination field. Scope trade.perps; Idempotency-Key is required. To move the funds out of Bravado afterwards, use /v2/trade/withdraw.

Body

string
required
pUSD as a decimal string with at most 6 decimal places, or "max" for the venue’s current withdrawable (on GET /v2/trade/perps/account).

Response

202 Accepted. Poll GET /v2/trade/perps/withdrawals/{withdrawal_id} until state is confirmed.
string
The withdrawal’s id. Read it back by this id.
string
pUSD withdrawn.
string
The user’s deposit wallet.
string | null
The venue’s id for the withdrawal.
string
pending, confirmed, failed, rejected or unknown. Bravado reports confirmed only once the pUSD transfer to the deposit wallet is verified on chain.
string | null
The venue’s state for the withdrawal.
string | null
The payout transaction. It can appear while state is still pending.
string
ISO-8601.

Errors

Every Perps code and its retry rule: Errors. After a 504, list GET /v2/trade/perps/withdrawals before acting again.

Example