GET/api/v1/account/invoicesSupabase JWT

Billing history

Up to 12 most-recent invoices for the signed-in user. Fetched server-side from Stripe — the frontend never talks to Stripe directly.

Request

Example response

{
  "data": {
    "user_id": "dca2c107-7a34-4767-aaa9-a81a6d46e830",
    "invoices": [
      {
        "id": "in_1Nj2Q9",
        "amount_cents": 59900,
        "currency": "usd",
        "status": "paid",
        "period_start": 1746057600,
        "period_end": 1748736000,
        "pdf_url": "https://invoice.stripe.com/i/..."
      }
    ]
  },
  "meta": {
    "request_id": "req_8aZpmK4qX0nT",
    "timestamp": "2026-05-20T14:22:08Z",
    "response_time_ms": 12
  }
}