Invoices API

Work with the public `/invoices` API and the invoice status model documented for Corinthian.

The public invoice API is:

/invoices

Documented Endpoints

MethodPathPurpose
GET/invoiceslist invoices
GET/invoices/summaryfetch invoice summary data
GET/invoices/{id}fetch one invoice
POST/invoicescreate an invoice shell
PATCH/invoices/{id}/statusupdate invoice status
POST/invoices/{id}/mark-paidmark invoice paid
POST/invoices/{id}/refundrefund invoice
DELETE/invoices/{id}delete invoice

Invoice Shape

The documented core fields include:

{
  "id": "inv_123",
  "type": "invoice",
  "status": "draft",
  "createdAt": "2026-03-01T10:00:00.000Z",
  "updatedAt": "2026-03-01T10:00:00.000Z",
  "paidAt": null,
  "userId": "usr_123"
}

Status Values

  • draft
  • pending
  • unpaid
  • paid
  • overdue
  • canceled
  • scheduled
  • refunded

Create Example

The create endpoint initializes an invoice shell with a small request body.

curl -X POST https://api.conduitt.io/invoices \
  -H "Authorization: Bearer ck_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "invoice",
    "status": "draft"
  }'

This create endpoint initializes a zero-amount USD invoice with an auto-generated number.

List Example

curl "https://api.conduitt.io/invoices?status=overdue&limit=20" \
  -H "Authorization: Bearer ck_test_your_key"

Use pagination=cursor only if you want the cursor response model.

Treat status transitions as API-controlled behavior and use the documented invoice endpoints together with the saved-invoice and payment flows elsewhere in the product.

We use cookies to improve your experience, analyze traffic, and personalize content.