CreditCardTokenByCustomer GET
Retorna a lista de cartões salvos do cliente/comprador.
No parâmetro credit_card_token_by_customer_id, envie o e-mail do cliente.
/credit-card-token-by-customer[/:credit_card_token_by_customer_id]
Request
Headers
| Header | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer token |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Response Body
[
{
"id": 7,
"card_brand": "mastercard",
"first4_digits": "5162",
"last4_digits": "3971",
"expiration_month": "11",
"expiration_year": "2032",
"holder_name": "JOAO SILA",
"customer_id": 1,
"expired": 0
},
{
"id": 9,
"card_brand": "mastercard",
"first4_digits": "5162",
"last4_digits": "2210",
"expiration_month": "12",
"expiration_year": "2019",
"holder_name": "JOAO SILA",
"customer_id": 1,
"expired": 1
}
]