PCI Token Services
The TokenEx PCI Token Services API is used to tokenize and detokenize sensitive data such as credit card primary account numbers. It can be used to tokenize data encrypted with TokenEx's public RSA key as well as associate a CVV with a token.
Each PCI Token Services function has the following base URL in the respective TokenEx environment:
- Test: https://test-api.tokenex.com/v2/Pci/
- Production U.S.: https://api.tokenex.com/v2/Pci/
- Production EU: https://eu1-api.tokenex.com/v2/Pci/
Tokenize
**Tokenize** is used to tokenize a credit card primary account number (PAN) and optionally associate a CVV with the token.
TokenizeEncrypted
**TokenizeEncrypted** is used to tokenize a credit card primary account number (PAN) that has been encrypted
AssociateCvv
**AssociateCvv** is used to associate a CVV with a tokenized credit card primary account number (PAN).
AssociateEncryptedCvv
**AssociateCVV** is used to associate an encrypted CVV with a tokenized credit card primary account number (PAN).
GetBINAndLastFour
**GetBINAndLastFour** is used to return the BIN range and/or last four of a tokenized credit card PAN.'
DetokenizeWithCvv
**Detokenize** is used to obtain a credit card PAN represented by the corresponding token and the CVV if one
RetrieveTokenMetadata
**RetrieveTokenMetadata** is used to obtain metadata which has been associated to a token.
Bin Lookup
Bin File
:::info