post https://example.com/v2/payment/cancel
Cancels a payment. If the payment is authorized pending capture, the authorization will be cancelled. If the payment is captured, then it will be refunded if it was captured within 24 hours (be careful in this case). If it is already in a refunded/cancelled state or a state that is not applicable, then it will have no impact.