ValidateToken
POST/Token/ValidateToken
ValidateToken is used to verify the specified token exists within your token vault.
info
The ValidateToken function is only applicable to vaulted tokenization.
ValidateToken will return an error if a vaultless tokenization profile is specified in the tx-tokenex-id header
.
Request
Header Parameters
tx-tokenex-id stringrequired
Your TokenEx token vault identifier.
Default value:
YourVaultedTokenExID
tx-apikey stringrequired
Provides access to one or more functions in the TokenEx API.
Default value:
APIKeyAssociatedWithYourVaultedTokenExID
- application/json
Body
token stringrequired
The token to validate.
Default value:
TphDRnymQzVHWnYH6S
Responses
- 200
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
success boolean
Default value:
true
Example:
true
error string
Example:
referenceNumber string
Example:
249142212110512863491
message string
Example:
Token is Valid
{
"success": true,
"error": "",
"referenceNumber": "249142212110512863491",
"message": "Token is Valid"
}
{
"success": true,
"error": "",
"referenceNumber": "249142212110512863491",
"message": "Token is Valid"
}
Loading...