GET
/
customers
/
{customerID}
/
card_accounts
/
{cardAccountID}
/
transactions
Retrieve card transactions
curl --request GET \
  --url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts/{cardAccountID}/transactions \
  --header 'Api-Key: <api-key>'
{
"page": 123,
"pagination_token": "<string>",
"count": 123,
"total_pages": 123,
"total_count": 123,
"data": [
{
"id": "<string>",
"card_account_id": "<string>",
"customer_id": "<string>",
"category": "adjustment",
"amount": "<string>",
"billing_amount": "<string>",
"currency": "usd",
"merchant_category_code": "<string>",
"merchant_name": "<string>",
"merchant_location": "<string>",
"description": "<string>",
"local_transaction_details": {
"amount": "<string>",
"currency": "<string>",
"exchange_rate": "<string>"
},
"posted_at": "<string>",
"authorized_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 transactions to return, with a max of 200. The default is 100

starting_time
string

The starting time in ISO8601 format

ending_time
string

The exclusive ending time in ISO8601 format

page_size
string

The max number of items to return for the requested page, with a max of 200. The default is 100

page
string

A specific page to fetch. If omitted, the first page (starting at 1) will be returned. Note that this is only supported for navigating posted transactions.

status
enum<string>[]

A status to filter the transactions by. If not provided, will default to posted.

pagination_token
string

A pagination token to fetch the next page of transactions.

category_family
enum<string>

A category family to filter the transactions by. If set to cards, only card purchase related transactions will be returned. If set to crypto, only funding related transactions will be returned.` If not provided, all posted transactions will be returned.

Available options:
cards,
crypto

Response

Card transactions

page
integer
required

The current page number, starting at 1. Note that this will be returned only for navigating posted transactions.

count
integer
required

The number of transactions returned

total_pages
integer
required

The total number of pages

total_count
integer
required

The total number of transactions

data
object[]
required
pagination_token
string

The pagination token to be used to retrieve the next page of transactions. If not provided, use the page parameter to navigate by page number.