Customer Portal

Read the authenticated customer's subscription billing

The high-entropy portal token is the credential. Organization and customer scope are derived exclusively from its current, unrevoked, unexpired grant; no caller-supplied organizationId or contactId is accepted. view=invoices returns invoices (id, number, subscriptionName, createdAt, amountCents, currency, status, invoiceUrl, pdfUrl) and nextCursor. Amounts are integer minor units (US cents). The full invoice is excluded when any line belongs to another billing recipient. Continue with cursor until nextCursor is null.

get/portal/{token}/subscriptions

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/portal/{token}/subscriptions
  • Auth: none required

Path parameters

tokenstring required

Query parameters

view'subscriptions' | 'invoices'
cursorstring

Opaque invoice nextCursor

Response

subscriptions, companyName and customerName. Manager responses also include connections; private customer responses never include account choices or Stripe dashboard URLs.

companyNamestring
customerNamestring

Changes

No recorded changes to this operation across all 5 revisions of this API.