Cards
API reference for card-related endpoints
Last updated
API reference for card-related endpoints
Last updated
A new card for the customer can be created and ordered using the POST
endpoint: /customers/{customerId}/cards
. This operation creates a new card through our issuance partner with Visa or MasterCard. If a physical card is requested, it also initiates a shipment order to the specified address. Please note that each card is linked to a specific account, and currently, we only support a limit of one virtual and one physical card per customer's account.
Any internal updates to the card entity will be reported through webhook update events. For details on how to set up and manage webhook subscriptions, please refer to Webhooks.
To retrieve a list of cards associated with a specific account, make a GET
request to /accounts/{accountId}/cards
.
To retrieve a list of all cards associated with the programme, make a GET
request to /cards
. To fetch details of a specific card by ID, use a GET
request to /cards/{cardId}
.
To retrieve information about an individual card, make a GET
request to /cards/{cardId}
.
To deactivate a card, use a PATCH
request to /cards/{cardId}/deactivate
.
To reactivate a previously deactivated card, use a PATCH
request to /cards/{cardId}/activate
.
A card can be terminated using a DELETE
request to /cards/{cardId}
. This is an irreversible operation, and the card will not be available for new payments. However, it will remain active for pending holds for up to 30 days.
Creates new card for the account
/accounts/{accountId}/cards
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Content digest
Card type
virtual
, physical
Billing address of a cardholder
Shipping address for the card. Required for physical cards
Retrieves account's cards
/accounts/{accountId}/cards
Unique account ID
HTTP message signature
HTTP message signature input
Retrieves card's details
/cards/{cardId}
Unique card ID
HTTP message signature
HTTP message signature input
Deactivates card and all associated resources
/cards/{cardId}/deactivate
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Activates card and all associated resources
/cards/{cardId}/activate
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Terminates card
/cards/{cardId}
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
No body