Update invoice status
Mark an outstanding invoice as "paid" or "void". Cannot change the status of already paid or voided invoices.
Mark an outstanding invoice as "paid" or "void". Cannot change the status of already paid or voided invoices.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
"paid" | "void"application/json
application/json
curl -X PUT "https://commet.co/api/v1/invoices/string/status" \ -H "Content-Type: application/json" \ -d '{ "status": "paid" }'application/json
New invoice status
Mark an outstanding invoice as "paid" or "void". Cannot change the status of already paid or voided invoices.
Invoice public ID
{
"success": true,
"data": {
"object": "invoice",
"livemode": true,
"id": "string",
"status": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}