curl --request POST \
--url https://api-gateway.firebanking.dev/credit-card/v1/payment/token \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"card": {
"name": "JOSE DAS NEVES TEST",
"number": "5383638854408981",
"expiration": "12/24",
"securityCode": "220"
},
"buyer": {
"name": "João da Silva Teste",
"document": "11144477735",
"email": "[email protected]",
"phone": "11999999999",
"countryCode": "+55",
"address": {
"country": "BR",
"state": "SP",
"city": "São Paulo",
"district": "Centro",
"street": "Rua das Flores",
"zipCode": "01000000",
"number": "220",
"complement": "Apto 45"
}
},
"checkZeroDollar": false
}
'