Finalize an invoice
Finalizes a pending invoice, transitioning it to posted status. Once finalized, the invoice is ready for payment collection.
Only invoices with pending status can be finalized. Attempting to finalize an already-posted or paid invoice returns an error.
Authentication
AuthorizationBearer
Use a secret key (sk_test_* or sk_live_*) for full read/write access, or a public key (pk_test_* or pk_live_*) for read-only access.
Path parameters
id
The unique identifier of the invoice.
Response
Invoice finalized successfully
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error