POST
/
customers
/
{customerID}
/
card_accounts
/
{cardAccountID}
/
withdrawals
Create a funds withdrawal request
curl --request POST \
  --url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts/{cardAccountID}/withdrawals \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "<string>",
  "type": "top_up_balance_withdrawal",
  "destination": {
    "chain": "<string>",
    "address": "<string>",
    "memo": "<string>",
    "gas_fee": {}
  },
  "client_note": "<string>"
}'
{
"id": "<string>",
"amount": "<string>",
"type": "top_up_balance_withdrawal",
"currency": "usdc",
"destination": {
"chain": "<string>",
"address": "<string>",
"memo": "<string>",
"tx_hash": "<string>",
"gas_fee": {
"amount": "<string>",
"currency": "<string>"
}
},
"client_note": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}

Authorizations

Api-Key
string
header
required

Headers

Idempotency-Key
string

Path Parameters

customerID
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42
cardAccountID
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42

Body

application/json

The withdrawal request

A card funds withdrawal

Response

201
application/json

The successfully created card funds withdrawal

A card funds withdrawal