Skip to main content

ValidateToken

POST 

/Token/ValidateToken

ValidateToken is used to verify the specified token exists within your token vault.

info

The ValidateToken function is only applicable to vaulted tokenization. ValidateToken will return an error if a vaultless tokenization profile is specified in the tx-tokenex-id header.

Request

Header Parameters

    tx-tokenex-id stringrequired

    Your TokenEx token vault identifier.

    Default value: YourVaultedTokenExID
    tx-apikey stringrequired

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

    Default value: APIKeyAssociatedWithYourVaultedTokenExID

Body

    token stringrequired

    The token to validate.

    Default value: TphDRnymQzVHWnYH6S

Responses

200

Schema

    success boolean
    Default value: true
    Example: true
    error string
    Example:
    referenceNumber string
    Example: 249142212110512863491
    message string
    Example: Token is Valid
Loading...