Skip to main content

TokenizeEncrypted

POST 

/Pci/TokenizeEncrypted

TokenizeEncrypted is used to tokenize a credit card primary account number (PAN) that has been encrypted with the TokenEx public RSA key. An encrypted CVV may optionally be associated with the token.

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: PCI
    tx-tokenex-id stringrequired

    Your TokenEx token vault identifier or vaultless tokenization profile.

    Default value: 8149339711073860
    tx-apikey stringrequired

    Provides access to one or more functions in the TokenEx API.

    Default value: 9nRH8CsmeV0hxjV4EFqlyzycGMuRjJsqksTY9BEv

Body

    encryptedData stringrequired

    The encrypted value of the credit card number you wish to tokenize.

    Default value: LV76mIP0zQ2vf//T7bUKVDVNzThtmdpdt2vufurABIwrleNDK9BV55cL9FNSrHmvC+57JDl/K1P9ivIsDOpU1vk815vKhrqP1jTX1MxgpZ7LFOFHF1a8RFEpkL94bxcySCcAZXi+p7WT3j+FzCvqu2Lm6P7KuKk8aJEoYA7oZ6ZWbDSggAeqHRyGnDLE5bUk6ofTDgl8BUkUkR+OvxrsBVL/HPGZzV6DXG7ICWkt66Rf+HB8IXUu1/jw46wnGnvthOaZjGCdrcHovojxJhh/2fDI6oA9/KUd6kF+sqgTldwE60ux/oBxSggXMLX8JnJXrPI8DC3MTw0iAIzOu3/0eA==
    encryptedCvv string

    The encrypted value of the CVV you wish to associate with the token.

    Default value: QvVi2g9KQqJS427Upm8I6cDzF0ea6Fc1/zG6p9Y4WX4DZqVe1VjFvWRamibd1h0uhBozra2+OhsHiPfKAz+rXKTsExDME5WaDO9AL3CYhrqYseNZZACUnf42BfhuzVMOO3fRbvW5lLNYfAa561PpGDL8qru6DeDnpI0YVXNSo4p9G90j8dmNnUFSZimERNShb5dhnPefkp12NxClqUBeym8yMotDRGyAX5nWATpFN17WFxL8Snm9mTglNknnUvPnlrqOvY8fZCA5dTvE2HFBqsdPPIdhiWa3P6lWWP5EmMvopmFkGAK2YuIRlhGRibooOOmXyDxOZYiXD2sV27+R0w==
    Padding string

    Possible Values: PKCS1 and OAEP. PKCS1 is default.

    Default value: PKCS1
    Digest string

    This field is ignored if Padding is set to PKCS1. If Padding is set to OAEP, the default value for digest is SHA1. Possible digest values: SHA1, SHA256, SHA384, SHA512.

Responses

200

Schema

    token string
    Example: 693008da-9a73-4918-a1f5-03b6fb867c1c
    referenceNumber string
    Example: 21042212110512863701
    success boolean
    Default value: true
    Example: true
    error string
    Example:
    message string
    Example: Tokenize Successful!
Loading...