Bearer API keys
Keys are hashed before storage, revokable, and rate-limited per key.
Developers
Generate an API key in settings, send Bearer-authenticated requests, and subscribe to invoice lifecycle events.
Create a usage invoice.
curl -X POST https://your-domain.com/api/v1/invoices \
-H "Authorization: Bearer ivc_..." \
-H "Content-Type: application/json" \
-d '{
"clientId": "client_id",
"lineItems": [
{ "type": "USAGE", "description": "API calls", "quantity": 25000, "unitPrice": 0.002 }
]
}'Keys are hashed before storage, revokable, and rate-limited per key.
Register endpoints for invoice.paid, invoice.sent, and invoice.overdue events.
Responses follow data/message success envelopes and error/code failure envelopes.
/api/v1/invoicesCreate an invoice/api/v1/invoicesList invoices/api/v1/invoices/:idRetrieve an invoice/api/v1/invoices/:idUpdate an invoice/api/v1/invoices/:id/sendSend an invoice/api/v1/clientsList clients/api/v1/clientsCreate a clientinvoice.paidDelivered as signed JSON with X-Invoicycle-Signature.
invoice.sentDelivered as signed JSON with X-Invoicycle-Signature.
invoice.overdueDelivered as signed JSON with X-Invoicycle-Signature.
Build path
Review pricing, integration options, and the OpenAPI contract before wiring production billing events into your app.