TokenizeFromEncryptedValue
TokenizeFromEncryptedValue is used to tokenize a sensitive data element that has been encrypted with the TokenEx public RSA key.
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/TokenizeFromEncryptedValue
Request Parameters
Parameter | Type | Description |
---|---|---|
APIKey | string | See Authentication |
TokenExID | string | Your TokenEx ID |
EcryptedData | string | The encrypted value of the sensitive data you wish to tokenize. **Note that the spelling of this parameter is intentional. |
TokenScheme | Enum | See Standard Token Schemes |
{
"APIKey": "YourAPIKey",
"TokenExID": "YourTokenExID",
"EcryptedData": "C5DZmLekYdcJxxSHqEivJHSvz/wg8PHj4TucwpeVoYKG714ojb8vbWHZ3RJ2arZE/lEBi8sDfovmL+GFeQrujpyxGoz0YcZLHdw1qoChdMQkkKaozNu5+UNY5GTWPTrdeidV7ZE8fYW9s5qgFlxmZhivtwsr0uWzWzqepB7/Q0ZUoL12HUwVJUR6/zyCBvqAn92r0LD891PamtoRcBXhgyibnP7QNSGVU3ayZK4uh0tUFkCyHJW3MNE/e+la25ogPv+aQLTYwNfkyn0N9BS/PA+5Xdk6g5A4f+QgqswjfbjK9UM7iUw54AM8olemtBzgFA3Uhvcpb0fhgteC4Kn9mA==",
"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"
}