PATCH
/Transaction/{id}/updateTokenizationUpdate a tokenization VAT rate
Updates the VAT rate on an existing tokenization. Supply vatRate as an integer percentage value in the request body. The response includes the updated transaction data.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
idintegerrequired
The integer identifier of the origin tokenization to update.
Tokenization update payload containing the new VAT rate.
vatRateintegerrequired
Percentage value for new vatRate
200Returns the transaction data for the updated tokenization.
dataarray<object>optional
statusstringoptional
400Returned when the request is invalid or `vatRate` is missing.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
404Returned when the origin tokenization cannot be found.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
Error handling
A 400 is returned when vatRate is missing or the update request is invalid. A 404 is returned when the tokenization identified by the id path parameter cannot be found. vatRate must be an integer percentage value.