Cancels an authorized payment before capture. For an already captured payment, use Refund a payment. To let Truegate select cancellation or refund based on the payment state, use Cancel or refund a payment.
Confirm the result through the Canceled payment webhook.
Request signature
Sign only these fields, in order:
projectId → transactionId
See Signing requests for the HMAC-SHA-256 algorithm and code examples.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Cancels an authorized payment before capture. For an already captured payment, use Refund a payment. To let Truegate select cancellation or refund based on the payment state, use Cancel or refund a payment.
The HTTP 201 response normally contains status: "SUCCESS" or status: "FAILED" for the synchronous operation result. If processor cancellation data is unavailable, it instead contains status: "ERROR", an error message, and paymentProcessor.
Confirm the final result through the Canceled payment webhook.
Request signature
Sign only these fields, in order:
projectId → transactionId
See Signing requests for the HMAC-SHA-256 algorithm and code examples.