GET
/
customers
/
{customerID}
/
card_accounts
/
{cardAccountID}
/
withdrawals
Retrieve the withdrawal history of funds
curl --request GET \
  --url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts/{cardAccountID}/withdrawals \
  --header 'Api-Key: <api-key>'
{
"count": 123,
"data": [
{
"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

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

Query Parameters

limit
integer

The number of items to return (default of 10, max of 100)

starting_after
string

This is a withdrawal id. If this is specified, the next page that starts with a withdrawal right AFTER the specified id on the timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that withdrawals older than the specified id will be returned (shouldn't be set if ending_before is set)

ending_before
string

This is a withdrawal id. If this is specified, the previous page that ends with a withdrawal right BEFORE the specified id on the timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that withdrawals newer than the specified id will be returned (shouldn't be set if starting_after is set)

Response

200
application/json

The withdrawal history

The response is of type object.