curl --request POST \
--url https://api.cloud.flexprice.io/v1/invoices/{id}/void \
--header 'x-api-key: <api-key>'
{}
Void an invoice that hasn’t been paid
curl --request POST \
--url https://api.cloud.flexprice.io/v1/invoices/{id}/void \
--header 'x-api-key: <api-key>'
{}
Enter your API key in the format x-api-key <api-key>*
Invoice ID
OK
The response is of type object
.