curl --request GET \
--url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts \
--header 'Api-Key: <api-key>'{
"count": 123,
"data": [
{
"id": "<string>",
"customer_id": "<string>",
"status": "active",
"balances": {
"available": {
"amount": "<string>",
"currency": "usdc"
},
"hold": {
"amount": "<string>",
"currency": "usdc"
}
},
"freezes": [
{
"card_account_id": "<string>",
"reason": "lost_or_stolen",
"created_at": "<string>",
"reason_detail": "<string>",
"starting_at": "<string>",
"ending_at": "<string>"
}
],
"client_reference_id": "<string>",
"cardholder_name": {
"first_name": "<string>",
"last_name": "<string>",
"middle_name": "<string>"
},
"card_image_url": "<string>",
"status_reason": "<string>",
"card_details": {
"last_4": "1264",
"expiry": "10/24",
"bin": "44325280",
"pin_status": "not_set"
},
"crypto_account": {
"type": "standard",
"address": "<string>"
},
"funding_instructions": {
"currency": "usdc",
"chain": "arbitrum",
"address": "<string>",
"memo": "<string>"
},
"additional_funding_instructions": [
{
"currency": "usdc",
"chain": "arbitrum",
"address": "<string>",
"memo": "<string>"
}
]
}
]
}Retrieve all card accounts for a customer. Currently, only one account is supported. An empty array will be returned if no card has been provisioned
curl --request GET \
--url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts \
--header 'Api-Key: <api-key>'{
"count": 123,
"data": [
{
"id": "<string>",
"customer_id": "<string>",
"status": "active",
"balances": {
"available": {
"amount": "<string>",
"currency": "usdc"
},
"hold": {
"amount": "<string>",
"currency": "usdc"
}
},
"freezes": [
{
"card_account_id": "<string>",
"reason": "lost_or_stolen",
"created_at": "<string>",
"reason_detail": "<string>",
"starting_at": "<string>",
"ending_at": "<string>"
}
],
"client_reference_id": "<string>",
"cardholder_name": {
"first_name": "<string>",
"last_name": "<string>",
"middle_name": "<string>"
},
"card_image_url": "<string>",
"status_reason": "<string>",
"card_details": {
"last_4": "1264",
"expiry": "10/24",
"bin": "44325280",
"pin_status": "not_set"
},
"crypto_account": {
"type": "standard",
"address": "<string>"
},
"funding_instructions": {
"currency": "usdc",
"chain": "arbitrum",
"address": "<string>",
"memo": "<string>"
},
"additional_funding_instructions": [
{
"currency": "usdc",
"chain": "arbitrum",
"address": "<string>",
"memo": "<string>"
}
]
}
]
}A UUID that uniquely identifies a resource
1 - 42List of all card accounts owned by the customer
The number of card accounts returned
Show child attributes
ID of the card account
1 - 42ID of the customer
1 - 42Status of the card account
active, pending, inactive, frozen Balances of the card account
Show child attributes
Show child attributes
Card account ID
1 - 42The party that initiated the freeze. A freeze can be initiated by either the customer or developer. Only one freeze per initiator can be active at a time. If a new freeze is initiated by the same party, it overwrites any existing freeze The party that initiated the freeze. A freeze can be initiated by the customer, the developer, or Bridge. Only one freeze per initiator can be active at a time. If a new freeze is initiated by the same party, it overwrites any existing freeze
The reason of the freeze
lost_or_stolen, suspicious_activity, planned_inactivity, suspected_fraud, other The creation time of the freeze, in ISO8601 format
A more detailed reason for the freeze
The start time of the freeze, in ISO8601 format
The end time of the freeze, in ISO8601 format
The client-provided reference ID
The name of the cardholder associated to the card. By default, this will be the name of the associated customer. To override the cardholder name, you can contact Bridge support.
An expiring URL used to render the card image, with a validity period of 5 minutes. Note: This field will be deprecated in favor of the more secure and scalable card details API. Please see the integration guide on safely revealing card details for more information.
An optional detailed explanation for the card account status
Details of the issued card. This object contains enough payment card details to identify the issued card, but only provides the last four digits of the card number to maintain security.
Show child attributes
The last four digits of the card number
"1264"
The expiration date of the card, in MM/YY format
"10/24"
The BIN of the card, including the first 8 digits
"44325280"
The current status of the card PIN
not_set, ok The crypto account for a self-custodial card account. This field is not supported for a Bridge-custodial card funding setup (note that if you are on cards trial, you are automatically on a custodial funding setup).
Funding instructions applicable only to the top-up card funding strategy, which is configured at the developer level
Show child attributes
The crypto currency used by the card account
usdc The chain used by the card account
arbitrum, avalanche_c_chain, base, ethereum, optimism, polygon, solana, stellar The deposit address provided by Bridge to fund the card account
If present, this is the message that the customer MUST include in their on-chain funding transfers. It is only applicable to memo-based blockchains such as Stellar and Tron
Show child attributes
The crypto currency used by the card account
usdc The chain used by the card account
arbitrum, avalanche_c_chain, base, ethereum, optimism, polygon, solana, stellar The deposit address provided by Bridge to fund the card account
If present, this is the message that the customer MUST include in their on-chain funding transfers. It is only applicable to memo-based blockchains such as Stellar and Tron
Was this page helpful?