Skip to main content

ValidateToken

ValidateToken is used to verify the specified token exists within your token vault.

warning

TokenEx API v1 has been deprecated and is now in break/fix mode. All new enhancements are being added to API v2.

info

The ValidateToken function is only applicable to vaulted tokenization. ValidateToken will return an error if a vaultless tokenization profile is specified in the TokenExID parameter.

URI: https://test-api.tokenex.com/TokenServices.svc/REST/ValidateToken

Request Parameters

ParameterTypeDescription
APIKeystringSee Authentication
TokenExIDstringYour TokenEx ID
TokenstringThe token you wish to validate
{
"APIKey": "YourAPIKey",
"TokenExID": "YourTokenExID",
"Token": "545454587415454"
}

Response Parameters

ParameterTypeDescription
ValidboolIndicator if token is valid
SuccessboolIndicator if the result was successful or not
ReferenceNumberstringReference number for the TokenEx transaction
ErrorstringError Code and human-readable description
{
"Error": "",
"ReferenceNumber": "15102913382030662954",
"Success": true,
"Valid": true
}