The "Cancel payment" Action is responsible for sending the cancel request. It enables you to define rules where you wish to automatically cancel a payment after its authorization.
Learn more about capturing payments here.
In order to cancel a payment, the payment must not have reached SETTLED status.
- Assign a
payment ID- this will usually be the "Payment ID" from the "Payment created" Trigger output or "Payment status updated" Trigger output
- [Optional] Set
reason, which can be used for your own records
Based on your needs, you can utilize this Action in a few ways. Below is an example for inspiration:
Cancel the payment if it failed the CVV and AVS checks by the processor during authorization.