Cancel a payment by reference hash.

Cancel a payment to prevent it from being
submitted for capture in future API calls.

Only Payments in the requires_confirmation or
failed states can be cancelled.

This endpoint has no financial side effects
because it only affects payments which have
not processed successfully.

Click Try It! to start a request and see the response here!