post https://api-stage.bill.com/api/v2/VoidAPPayment.json
Void a bill payment that has started processing and cannot be canceled (with /v2/CancelAPPayment.json). You can attempt to void payments made both with BILL (online) and outside BILL (offline).
Void a payment made with BILL (online)
In your /v2/VoidAPPayment.json request:
- Set
sentPayIdas the BILL-generated ID of theSentPaypayment object. The value begins withstp. - Set
voidRequestTypeas the void bill payment request type. - Set
reasonas the reason for voiding the payment.
In the sandbox environment, the payment status is marked as Void.
See How do I cancel or void a Payables payment? in the BILL Help Center to learn about the BILL void payment process and timing in the production environment.
