Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Wallets and balances

Withdraw to the customer's bank

POST/v1/wallets/{id}/withdrawals

Key scope: write · Success: 201

USDC out to the same customer's own linked US bank account, by ACH. SET's fee is its volume fee on the key, platform or business account alike. Whole cents; at least the cash-out minimum, and at least 1.00 must reach the bank. One withdrawal in flight per wallet.

Path parameters

id stringrequired
The wallet's id.

Headers

Idempotency-Key string
Optional. The same key and body run once; a replay answers with Idempotent-Replayed: true. Kept 24 hours.

Body

amount decimal stringrequired
USDC to withdraw.
bankAccount stringrequired
One of the same customer's bank accounts.

Notes

  • Money leaves a wallet only to the customer's own bank. SET's operator cannot withdraw.
  • GET /v1/wallets/{id}/withdrawals lists a wallet's withdrawals and their states.

Errors

  • 400 amount_invalid
  • 400 amount_too_small
  • 400 bank_account_invalid
  • 400 asset_not_permitted
  • 409 balance_too_low
  • 409 withdrawal_in_flight
  • 409 initiation_required
  • 403 operator_cannot_withdraw
  • 404 wallet_unknown
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.