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 (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.