This endpoint is used for voiding an invoice. You can void an invoice only when it’s in a finalized status, and the payment status is not succeeded.
finalized
succeeded
Was this page helpful?