CreditCardToken GET
Retorna as informações do Token criado
/credit-card-token[/:credit_card_token_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": 14,
"card_brand": "mastercard",
"first4_digits": "1234",
"last4_digits": "4444",
"expiration_month": "11",
"expiration_year": "2032",
"holder_name": "JOAO C SILVA",
"customer_id": 18887,
"expired" : 0
}