Skip to main content

Tokenize

POST 

/EncryptedToken/Tokenize

Tokenize is used to tokenize a sensitive data element that has been encrypted with the TokenEx public RSA key.

Request

Header Parameters

    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
    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

Body

    encryptedData stringrequired

    The encrypted value of the sensitive data element you wish to tokenize.

    Default value: dTD+matJePdp5+zjno537R1DXMLMr073LfH3Ko+4J76v5jcurGVDsicPrqqn6u3garNpTZrS6Rft0tUfQ90A+wo8jOjDMKnm4B9H9uaLriaCiGwjCUN1e+RcaOoigTveq7f90M+iWygGrOr5xvPmn0sAQAB9PJc/DOptjx96VI5PyimagOHj1LMMJEX50t81bWPkQHsfALlmZ7/jhwwSXb1G1Qsn16HVFiLWAZnRauaRPON5BWvp/QF57XyEyewXu9q+DPTuAC9y50j7fFQhAnrWkpJseT3fiO0NL8+LKu9is7JXXR9WCrlQHW9qMHgKr1JUyeEfYXfNpisq0gMgDw==
    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: 411111245ShO1111
    firstSix string
    Example:
    lastFour string
    Example:
    referenceNumber string
    Example: 22013016253937650006
    success boolean
    Default value: true
    Example: true
    error string
    Example:
    message string
    Example: Tokenize Successful!
Loading...