PATCH
/Transaction/{id}/cancelCancel a waiting transaction
Cancels a waiting transaction. Supply the transaction's integer id to identify the transaction to cancel. A successful response returns the transaction data.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
idintegerrequired
The integer identifier of the transaction to cancel.
200Returns the transaction data, including its current status.
dataarray<object>optional
statusstringoptional
400Returned when the cancellation request is invalid.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
404Returned when the transaction to cancel cannot be found.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
Error handling
A 400 is returned when the cancellation request is invalid. A 404 is returned when the id path parameter does not identify an existing transaction.