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
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
- application/json
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
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
success boolean
Default value:
true
Example:
true
error string
Example:
referenceNumber string
Example:
249142212110512863491
message string
Example:
Token updated
{
"success": true,
"error": "",
"referenceNumber": "249142212110512863491",
"message": "Token updated"
}
Loading...