The Cards API contains all the endpoints needed to create nominate and innominate cards, activate them, run queries, retrieve information on a particular card, and more.
The endpoint /cards/v1/
enables you to create a new physical or virtual card.
We will validate that you meet the requirements detailed in the documentation.
The endpoint /cards/v1/
enables searching for a group of cards based on the attributes specified.
You can filter and sort cards by following this documentation.
The possible sorting attributes are:
card_type
user_id
status
affinity_group_id
status_detail
shipment_id
innominate
start_date
.The endpoint /cards/v1/{id}
enables retrieving information about a particular card.
extend
parameter is used to obtain additional data from a card, and to use it, you must have a valid and current PCI-DSS certification, backed by the ROC report. If you do not have the certification, follow the steps in [this documentation] (https://docs.pomelo.la/en/docs/cards/issuing/sensitive-information).The endpoint /cards/v1/{id}
enables updating a card’s status, affinity group, and PIN.
You will need to specify a reason from the list below in order to update a card status:
New status | Valid reason |
---|---|
BLOCKED / DISABLED | CLIENT_INTERNAL_REASON |
BLOCKED / DISABLED | USER_INTERNAL_REASON |
DISABLED | LOST |
DISABLED | STOLEN |
DISABLED | BROKEN |
DISABLED | UPGRADE |
The endpoint /cards/v1/activation
enables you to activate a physical card and also set up a PIN.
We will validate that you meet the requirements detailed in the documentation.
Add this endpoint to your service so that we can communicate the latest news about your cards in real time.
If you have doubts about how to set up a webhook, visit our documentation.
We expect a response in the 2XX range to ensure that you've received the notification. Otherwise, we'll resend it.
CREATION
: we notify you each time we create a new card.ACTIVATION
: we notify you each time we activate a card.EMBOSSMENT
: we notify you each time we send a card for embossing.BLOCK
: we notify you each time we block a card.UNBLOCK
: we notify you each time we unblock a card.DISABLEMENT
: we notify you each time we deactivate a card.api-secret
you have to use in case that multiple pairs of api-key
and api-secret
have been configured.The endpoint /cards/v1/{id}/shipment
enables updating the shipping address of a card.
The card must be physical, nominate and have a CREATED
status.
The /cards/{id}/cvv/refresh
endpoint allows you to refresh the dynamic CVV of a card, invalidating the current CVV and generating a new one.
You can retrieve the new CVV using the Get Card endpoint.
This endpoint only applies to virtual cards from an affinity group with the dynamic CVV functionality enabled.
The endpoint /cards/v1/batches
enables you to create a batch of innominate cards.
We will validate that you meet the requirements detailed in the documentation.
CLIENT
.The endpoint /cards/v1/batches/bulk
allows you to create up to 15 batches of innominate cards at the same time.
We will validate that you meet the requirements detailed in the documentation.
CLIENT
.The endpoint /cards/v1/batches/shipments/{shipmentId}
enables updating the shipping address of a batch of cards.
The card batch must be physical, innominate and have a CREATED
status.