Cancel a bill payment that is made with /PayBills.json.
In the sandbox environment, the payment status is marked as Canceled.
In the production environment, you can attempt to cancel a payment with /CancelAPPayment.json based on a set of conditions. See Payment cancelation and void cut-off timing in the Bill.com Help to learn about the Bill.com 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 /VoidAPPayment.json.
Click Try It! to start a request and see the response here!