Skip to main content

UpdateToken

POST 

/Token/UpdateToken

UpdateToken is used to modify the data element represented by the corresponding token.

info

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

Supported token schemes

The UpdateToken function is only supported with the GUID and TOKEN vaulted token schemes.

Request

Header Parameters

    tx-tokenex-id stringrequired

    Your TokenEx token vault identifier or vaultless tokenization profile.

    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 that corresponds to the data element to be updated.

    Default value: 693008da-9a73-4918-a1f5-03b6fb867c1c
    newData stringrequired

    The new data the token should represent.

    Default value: NewDataValue

Responses

200

Schema

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