Skip to main content
Organizations on postpaid billing receive monthly invoices that accrue across the month and settle after the billing period. With the Management API, you can list and inspect your invoices programmatically, access direct Stripe payment and PDF download links, verify invoice billing details, and check your billing notification recipients. Prepaid organizations top up credits up front and do not receive monthly postpaid invoices. For monthly cost breakdowns by tag, API key, or member, see Usage Statements.

Authentication

Every billing endpoint authenticates with a management key (mgmt-eden-…) holding the manage:read scope. An inference key (sk-eden-…) is refused with a 401 status. The key only ever accesses billing records for its own organization. All billing endpoints in this section are strictly read-only.

List Postpaid Invoices

GET /v3/manage/billing/invoices/ lists your organization’s monthly postpaid invoices, ordered newest first. Draft invoices, which are invoices the finance team has not finalized or sent yet, are excluded from the list. Customers cannot pay draft invoices because they have no hosted payment link until finalized.
Response

Response fields

Retrieve an Invoice

GET /v3/manage/billing/invoices/{invoice_id}/ returns one invoice with its individual line items, a Stripe-hosted payment link, and a direct PDF download link. An invoice identifier that belongs to another organization, or an invoice that is still in draft state, returns 404.
Response

Additional detail fields

Invoice Billing Details

GET /v3/manage/billing/details/ returns the legal name, email, postal address, and tax IDs printed on your organization’s invoices. These details are edited in the Eden AI dashboard. If Stripe is temporarily unreachable, the endpoint returns 502.
Response

Billing Contacts

GET /v3/manage/billing/contacts/ returns who receives billing emails for your organization, including monthly invoice emails, low balance alerts, and auto-refill failure notices. The response includes the organization owner, members assigned the billing management role, and external contacts.
Response

Rate Limits and Errors

Calls to billing endpoints share the Management API rate limit of 60 requests per minute per key.

Next Steps

Usage Statements

Get monthly usage breakdowns by tag, key, and member

Management API

Manage keys and organization settings programmatically