Skip to main content

Tokenize

POST 

/FraudPrevention/Tokenize

Tokenize is used to tokenize a credit card PAN and generate a Kount KHASH value that can be sent to Kount's fraud prevention platform.

info

The credit card PAN can be encrypted with the TokenEx public RSA key and provided in the data parameter as ciphertext. For an encrypted card number, set the encrypted parameter to true.

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

    data stringrequired

    Credit card PAN to be tokenized.

    Default value: 4111111111111111
    encrypted booleanrequired

    Is the credit card PAN encrypted with the TokenEx public RSA key?

    Default value: false

Responses

200

Schema

    token string
    Example: 411111245ShO1111
    hash string
    Example: 93FBKM1EIVIXVP
    referenceNumber string
    Example: 22013015153221301697
    success boolean
    Default value: true
    Example: true
    error string
    Example:
    message string
    Example: Get Kount Hash Value and Tokenize Successful!
Loading...