ApiInvoices
Export invoices as CSV
GET
Downloads ALL invoices matching the filters (no pagination limit) as a CSV file — for accounting/reconciliation.
bearerprojectId?stringstatus?stringValue in
"pending""partial""paid""expired""cancelled"X-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"CSV file download
text/csvcurl -X GET 'http://localhost:3001/api/v1/invoices/export/csv'Example Response200
Empty
Create a new Lightning invoice POST
Creates a BOLT11 invoice settling to the project's settlement wallet (linked on the dashboard — default wallet when none is linked). projectId is optional for project-scoped API keys. Authenticate with a zap_live_/zap_test_ API key (invoices:write scope) or a dashboard JWT. Test keys create testMode invoices (webhook livemode: false). Supports fiat denominations via the currency field.
Get all invoices GET
Next Page