Tokenize
POST/Token/Tokenize
Tokenize is used to tokenize a data element such as a Social Security number or health ID number.
Request
Header Parameters
tx-token-scheme stringrequired
The name or the numerical value of the TokenEx token scheme to be used to tokenize the data.
Default value:
ASCII
tx-tokenex-id stringrequired
Your TokenEx token vault identifier or vaultless tokenization profile.
Default value:
9829959239157803
tx-apikey stringrequired
Provides access to one or more functions in the TokenEx API.
Default value:
cg2gOPDzVE9i0QYrMOKGUPYapoTnmxYtoYxllN3r
- application/json
Body
data stringrequired
The data to be tokenized
Default value:
123456789
Responses
- 200
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
token string
Example:
411111APT0Oa1111
referenceNumber string
Example:
21042212110512863701
success boolean
Default value:
true
Example:
true
error string
Example:
message string
Example:
Tokenize Successful!
{
"token": "411111APT0Oa1111",
"referenceNumber": "21042212110512863701",
"success": true,
"error": "",
"message": "Tokenize Successful!"
}
{
"token": "411111APT0Oa1111",
"referenceNumber": "21042212110512863701",
"success": true,
"error": "",
"message": "Tokenize Successful!"
}
Loading...