Perps withdraw — preview / execute
POST /v1/wallet/withdraw/perps — Preview a perps USDC/Arbitrum withdraw (`confirm: false`) or execute it (`confirm: true`, with `quoteHash` + `idempotenc
POST /v1/wallet/withdraw/perps
Preview a perps USDC/Arbitrum withdraw (confirm: false) or execute it (confirm: true, with quoteHash + idempotencyKey). destination selects where the funds go: external (the default) sends to the address you supply and requires the second factor named in the preview's verification (totp or email); spot sends to the account's own custodial spot wallet, whose address the gateway resolves itself — any address you send is ignored, and verification comes back as none. The preview also reports the venue fee (exchangeFeeUsd, exchangeFeeTakenFrom) and any blockers on the source wallet; a blocker with severity: "block" makes execute return 409 until it is cleared. If an earlier withdrawal from the same wallet has an unknown outcome, the preview lists it under unresolved; execute must echo every listed operationId in acknowledgeUnresolved, otherwise it returns 409 withdraw_unresolved_ack_required and sends nothing. Retrying the earlier withdrawal itself (its idempotencyKey or quote) still returns 503 withdraw_outcome_unknown.
| Method | POST |
| Path | /v1/wallet/withdraw/perps |
| Auth | Authorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | perps |
Request body
{ "confirm": false, "walletId": "0x...", "destination": "external", "address": "0x...", "amount": "10.5", "asset": "USDC" }