Tokenize
POST/Device/Tokenize
Tokenize is used to tokenize a credit card primary account number (PAN) encrypted on a card payment terminal or pin-pad device."
Request
Header Parameters
Your TokenEx token vault identifier or vaultless tokenization profile.
8149339711073860
Provides access to one or more functions in the TokenEx API.
9nRH8CsmeV0hxjV4EFqlyzycGMuRjJsqksTY9BEv
The name or the numerical value of the TokenEx token scheme to be used to tokenize the data.
PCI
Set to true if the data payload is dual encrypted on a device such as the MagTek tDynamo.
false
Set to true to get the cardholder name and expiration date from the track data if is dual encrypted on a device such as the MagTek tDynamo.
false
Set to true if MSR ENCRYPTION VARIANT is set to PIN Encryption and the data is dual encrypted on a device such as the MagTek tDynamo.
false
- application/json
Body
The name of the Encryption Profile that should be used to decrypt the encryptedTrack
.
EncryptionProfileName
The Key Serial Number used for DUKPT.
Format used in the request. Valid values: Base64, Hex.
Base64
The encrypted Track 1 data from the device payload (location is device specific).
Responses
- 200
200
- application/json
- Schema
- Example (from schema)
- Default
- Response with tx-Include-track-details
Schema
- Default
- Response with tx-Include-track-details
oneOf
693008da-9a73-4918-a1f5-03b6fb867c1c
21042212110512863701
true
true
Tokenize Successful!
<card holders name here>
<card expiration here>
693008da-9a73-4918-a1f5-03b6fb867c1c
21042212110512863701
true
true
Tokenize Successful!
{}
{
"token": "693008da-9a73-4918-a1f5-03b6fb867c1c",
"referenceNumber": "21042212110512863701",
"success": true,
"error": "",
"message": "Tokenize Successful!"
}
{
"name": "<card holders name here>",
"expiration": "<card expiration here>",
"token": "693008da-9a73-4918-a1f5-03b6fb867c1c",
"referenceNumber": "21042212110512863701",
"success": true,
"error": "",
"message": "Tokenize Successful!"
}