v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBpayments
Void a payment
Void an existing payment.
Void a bill payment that has started processing and cannot be canceled (with POST /v3/payments/{paymentId}/cancel). You can attempt to void payments made both with BILL (online) and outside BILL (offline).
Void a payment made with BILL (online)
In your /POST /v3/payments/{paymentId}/void request:
- Set paymentId as the BILL-generated ID of the payment. The value begins with stp.
- Set type as the void payment request type
- Set reason as the reason for voiding the payment
See Can 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.
post/v3/payments/{paymentId}/void
Path parameters
paymentIdstring required
BILL-generated ID of the payment. The value begins with stp.
Example:{{payment_id}}
Headers
sessionIdstring nullable
API session ID generated with /v3/login
Example:{{session_id}}
devKeystring nullable
Developer key generated with your BILL developer account
Example:{{developer_key}}
Request body
Response
Void a payment response