post https://gateway.stage.bill.com/connect/v3/payments//cancel
Cancel an existing payment.
You can attempt to cancel a payment with POST /v3/payments/{paymentId}/cancel
based on a set of conditions. See Payment cancelation and void cut-off timing in the BILL Help Center to learn about the BILL cancel payment process and timing.
If the conditions are not met, you cannot cancel the payment. At that point, you can attempt to void the payment with POST /v3/payments/{paymentId}/void
.