Criar novo token de cartão
POST
https://api.paylogos.com.br/v1/cards/tokens
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.paylogos.com.br/v1/cards/tokens' \
--header 'Content-Type: application/json' \
--data-raw '{
"holder_name": "string",
"expiration_month": "string",
"expiration_year": "string",
"card_number": "string",
"security_code": "string"
}'
Response Response Example
200 - Exemplo 1
{
"id": "string",
"resource": "string",
"used": "string",
"type": "string",
"card": {
"id": "string",
"resource": "string",
"description": "string",
"card_brand": "string",
"first4_digits": "string",
"expiration_month": "string",
"expiration_year": "string",
"holder_name": "string",
"is_active": true,
"is_valid": true,
"is_verified": true,
"customer": "string",
"fingerprint": "string",
"uri": "string",
"metadata": {},
"verification_checklist": {
"postal_code_check": "string",
"security_code_check": "string",
"address_line1_check": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}
Requisição
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-12 21:04:15