curl --request POST \
--url http://localhost:3001/api/v1/elements/tokenize \
--header 'Content-Type: application/json' \
--data '
{
"sessionId": "es_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"number": "4242424242424242",
"expMonth": 12,
"expYear": 2030,
"cvc": "123"
}
'{
"success": true,
"data": {
"id": "<string>",
"last4": "<string>",
"brand": "<string>",
"expiresInSeconds": 123
}
}curl --request POST \
--url http://localhost:3001/api/v1/elements/tokenize \
--header 'Content-Type: application/json' \
--data '
{
"sessionId": "es_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"number": "4242424242424242",
"expMonth": 12,
"expYear": 2030,
"cvc": "123"
}
'{
"success": true,
"data": {
"id": "<string>",
"last4": "<string>",
"brand": "<string>",
"expiresInSeconds": 123
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
Session id returned from POST /elements/session
"es_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
"4242424242424242"
1 <= x <= 1212
2024 <= x <= 21002030
"123"