customers
aid_customers_cid_cards_get
Get the cards active for a customer
scopes:
- admin:wallets
- read:wallets
- user:wallets
get/accounts/{aid}/wallets/customers/{customer_id}/cards
Path parameters
aidstring ^[PT]{1}\d{8}$ required
An id that uniquely identifies the account.
customer_idstring required
The customer id you have defined for the customer. (must not have trailing or leading spaces)
Query parameters
limitinteger
A limit on the number of objects to be returned. Limit can range between 1 and 100 items, and the default is 10 items.
starting_afterstring
cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, end the result contains paging_token=pt1, your subsequent call can include starting_after=pt1 in order to fetch the next page of the list.
Response
Card details
Example response
[
{
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"metadata": {
"order_id": "xk39592f"
},
"type": "gift_card",
"status": "unused",
"pin": {
"format": {
"prefix": "DINCARD:"
}
}
}
]