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

ParameterTypeDescription
APIKeystringSee Authentication
TokenExIDstringYour TokenEx ID
EcryptedDatastringThe encrypted value of the sensitive data you wish to tokenize.

**Note that the spelling of this parameter is intentional.
TokenSchemeEnumSee 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

ParameterTypeDescription
TokenstringThe token as generated by TokenEx that references the sensitive data
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,
   "Token":"545454587415454"
}