Payment
Tokenization
Changed onpost/tokenize
Request
- Base URLhttps://api.centrobill.com
- URLhttps://api.centrobill.com/tokenize
- Authnone required
Headers
X-Request-IDstring
Unique ID of request
X-Requested-With'XMLHttpRequest' required
Must be set to XMLHttpRequest. This endpoint only accepts AJAX requests.
Request body
Example request
{
"number": "4024007179366348",
"expirationYear": "25",
"expirationMonth": "12",
"cvv": "009",
"cardHolder": "John Smith",
"zip": "14000"
}Response
Created
Example response
{
"token": "d86bdcbb-c369-46d9-a9d0-9c5010e3bfdb",
"expireAt": 1611735028
}Changes
- breaking
added the new required
headerrequest parameterX-Requested-With
- breaking