Skip to main content

List Credit Cards

This endpoint returns a paginated list of credit cards with optional filters.

Authorization:

bearer

HTTP: bearer

HTTP Authorization Scheme: bearer

Headers:
Authorization: APIKey {YOUR_API_KEY}

Endpoint

GET

/api/v2/cards

Query Parameters​

ParameterTypeDescription
pageintPage number (default: 1).
limitintNumber of items per page (default: 20).
accountIduuidFilter by Account ID.

Response Sample​

{
"page": 1,
"limit": 20,
"total": 1,
"data": [
{
"id": "11111111-1111-1111-1111-111111111111",
"accountId": "00000000-0000-0000-0000-000000000000",
"cardNumberLast4": "1111",
"maskedCardNumber": "****-****-****-1111",
"cardHolderName": "John Wick",
"expMonth": 12,
"expYear": 2026,
"status": "active",
"billingAddress": {
"address1": "123 Main St",
"address2": "Apt 4B",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US"
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
]
}

Response Schema​

FieldTypeDescription
idstring (uuid)Unique identifier for the card.
accountIdstring (uuid)Account ID the card belongs to.
cardNumberLast4stringLast 4 digits of the card number.
maskedCardNumberstringMasked card number (e.g., ****-****-****-1111).
cardHolderNamestringName on the card.
expMonthintExpiration month (1-12).
expYearintExpiration year.
statusstringCard status: pending, active, inactive, expired, failed.
billingAddressobjectBilling address associated with the card.
createdAtstring (ISO 8601)Timestamp when the card was created.
updatedAtstring (ISO 8601)Timestamp when the card was last updated.

Support and Resources​

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated​

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!