Finalize an invoice

You can manually finalize an invoice using this endpoint. Invoices are initially created with "draft" status and you can edit them while they’re in this state. When an invoice is ready to be paid, finalize it. Finalizing an invoice sets status as "open" for an invoice.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Please specify the id of an invoice.

Headers
string
enum
Defaults to 2022-04-15

In this parameter, you can specify the version you want. As of now, there are two versions (2022-04-15 and 2022-10-15). Version 2022-10-15 supports both on-chain and lightning payment methods. Whereas the 2022-04-15 version only supports lightning payments.

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Questions? Contact us