v1

latestOpenAPI 3.1.02026-07-26477322.4 KB

Criar Token cartão

post/tokens

Query parameters

appIdstring required

Chave publica da conta.

Request body

typestring required

Tipo do cartão

Response

200

idstring
typestring
created_atstring
expires_atstring

Example response

{
  "id": "token_zVw7rqvHEPH8XlbE",
  "type": "card",
  "created_at": "2018-06-18T18:48:58Z",
  "expires_at": "2018-06-18T18:49:58Z",
  "card": {
    "last_four_digits": "5580",
    "holder_name": "Tony Stark",
    "exp_month": 1,
    "exp_year": 30,
    "brand": "Visa",
    "label": "Sua bandeira"
  }
}