Get card details
GET/api/cards/:cardId
Returns the non-sensitive details of a card by a given ID.
Request
Path Parameters
Primary identifier of the card to fetch
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Card primary identifier
User account ID linked to card
Possible values: [virtual
]
Type of the card
Timestamp of card creation
Timestamp of card modification
Timestamp of card expiration
Whether the card is blocked
Possible values: [active
, cancelled
, created
, shipped
]
Status of the card
List of Funding Source IDs linked to the card
Expiry date of the card
The currency of this card
First 6 digits of the card's PAN (Primary Account Number)
Last 4 digits of the card's PAN (Primary Account Number)
Deprecated field, use expiresAt
Legacy cards only. An integer in the smallest denomination for the given currency
Legacy cards only. Currency used to lock funds on card creation
Legacy cards only. Address of the wallet used to fund the card
{
"id": "91ad6fea3b52ca58d60d7fd310f789ec",
"accountId": "057aa15913a57f50577234c8426534c0",
"type": "virtual",
"createdAt": "2022-11-16T03:13:18.142Z",
"modifiedAt": "2022-11-16T03:13:18.142Z",
"expiresAt": "2029-02-28T23:59:59.999Z",
"isBlocked": true,
"status": "active",
"fundingSourceIds": [
null
],
"expiry": "202409",
"currency": "USDC | USD",
"panFirst6": "123456",
"panLast4": "1920",
"immersveExpiration": "2022-11-16T03:18:23.431Z",
"lockedFundAmount": 10,
"lockedFundCurrency": "USDC",
"fundingWallet": "0x7D0b0d249A7fB85A5c5F5A5e3b6A2d6c9A6D684B"
}
Request fields are invalid
- application/json
- Schema
- Example (from schema)
Schema
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "BAD_REQUEST",
"errors": [
"Expected string, received number"
]
}
No Authorization to access resource.
- application/json
- Schema
- Example (from schema)
Schema
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}