Tokenize
Tokenize is used to tokenize a data element such as a Social Security number or health ID number.
Heads-up!
TokenEx API v1 has been deprecated and is now in break/fix mode. All new enhancements are being added to API v2.
URI: https://test-api.tokenex.com/TokenServices.svc/REST/Tokenize
Request Parameters
Parameter | Type | Description |
---|---|---|
APIKey | string | See Authentication |
TokenExID | string | Your TokenEx ID |
Data | string | Sensitive Data to Tokenize |
TokenScheme | Enum | JSON Value or Enum name, See Standard Token Schemes |
{
"APIKey": "YourAPIKey",
"TokenExID": "YourTokenExID",
"Data": "5454545454545454",
"TokenScheme": 1
}
Response Parameters
Parameter | Type | Description |
---|---|---|
Token | string | The token as generated by TokenEx that references the sensitive data |
Success | bool | Indicator if the result was successful or not |
ReferenceNumber | string | Reference number for the TokenEx transaction |
Error | string | Error Code and human-readable description |
{
"Error": "",
"ReferenceNumber": "15102913382030662954",
"Success": true,
"Token": "545454587415454"
}