curl --request POST \
--url https://services.prod.pagosapi.com/toucan/tokens/tokenize \
--header 'Content-Type: application/json' \
--data '{
"accountNumber": "1234123412341234",
"expirationDate": {
"year": "2023",
"month": "12"
},
"cvv2": "<string>",
"accountHolder": {
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"line3": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postalCode": "<string>"
}
},
"metadata": "<string>"
}'
{
"cardNetworkName": "<string>",
"token": "<string>",
"expirationDate": {
"year": "2023",
"month": "12"
},
"tokenRefId": "<string>",
"panLast4": "<string>",
"metadata": "<string>"
}
curl --request POST \
--url https://services.prod.pagosapi.com/toucan/tokens/tokenize \
--header 'Content-Type: application/json' \
--data '{
"accountNumber": "1234123412341234",
"expirationDate": {
"year": "2023",
"month": "12"
},
"cvv2": "<string>",
"accountHolder": {
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"line3": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postalCode": "<string>"
}
},
"metadata": "<string>"
}'
{
"cardNetworkName": "<string>",
"token": "<string>",
"expirationDate": {
"year": "2023",
"month": "12"
},
"tokenRefId": "<string>",
"panLast4": "<string>",
"metadata": "<string>"
}
The body is of type object
.
card was tokenized
The response is of type object
.