Developers

Public billing API for invoices, clients, and webhooks.

Generate an API key in settings, send Bearer-authenticated requests, and subscribe to invoice lifecycle events.

Example request

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 }
    ]
  }'

Bearer API keys

Keys are hashed before storage, revokable, and rate-limited per key.

Signed webhooks

Register endpoints for invoice.paid, invoice.sent, and invoice.overdue events.

JSON contracts

Responses follow data/message success envelopes and error/code failure envelopes.

Endpoints

POST/api/v1/invoices
GET/api/v1/invoices
GET/api/v1/invoices/:id
PATCH/api/v1/invoices/:id
POST/api/v1/invoices/:id/send
GET/api/v1/clients
POST/api/v1/clients

Webhook Events

invoice.paid

Delivered as signed JSON with X-Invoicycle-Signature.

invoice.sent

Delivered as signed JSON with X-Invoicycle-Signature.

invoice.overdue

Delivered as signed JSON with X-Invoicycle-Signature.

Build path

Start with the free invoice workflow, then connect API automation.

Review pricing, integration options, and the OpenAPI contract before wiring production billing events into your app.