Refunds and cancellation

The terminal API provides four ways to cancel or refund a payment: