Billing

The subscription, what it costs, and the invoices behind it

Read straight from Stripe on every call rather than from a copy here: a plan or a status kept in our rows goes stale the moment an owner changes it in the portal, and the portal is where they are sent to change it. Card details never reach this server. bankAccounts is the bank-account line of the bill: how many accounts the plan carries, how many are connected, how many past the plan’s the bill counts and Stripe charges for, the price of one a month before VAT, and since when a correction is owed. Reading it puts Stripe’s count right where the two differ, and a plan that has ended, with no subscription in trial, active or past due, ends the team’s bank connections here, whichever event said so or none did. Each plan on sale carries the price of an account past its own in its own currency, and trialOffered says whether a plan started now begins with a free trial.

get/api/v1/billing

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/billing
  • Auth: API key in cookie better-auth.session_token

Response

What is on file.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.