GET /v1/billing/invoices

Tags: billing

Parameters

NameInTypeRequiredDescription
cursorquerystring
limitqueryinteger1..=100, default 50

Responses

200 — Paged invoice list (newest first)

JSON
{
  "$ref": "#/components/schemas/InvoicesPage"
}

402 — BILLING_NOT_CONFIGURED — or no Stripe customer

Code samples

TypeScript

TypeScript
import { firecase } from "@firecase/sdk";

const result = await firecase.get("/billing/invoices");
console.log(result);

Python

Python
import firecase

result = firecase.get("/billing/invoices")
print(result)

curl

Bash
curl -X GET https://api.firecase.ai/v1/billing/invoices \
  -H "Authorization: Bearer $FIRECASE_API_KEY" \
  -H "Content-Type: application/json"