GET/v1/billing
Auth: API key
Plan, card on file, this month's usage, and the upcoming invoice preview.
Answer 200 · BillingStatus · application/json
- billing_enabledrequiredboolean
- False while card billing is not available.
- cardCardOnFile | null
nullwhile no card is on file.- card_notestring | null
- A sentence to show beside the card when it does not unlock paid limits for this organization (it already pays for another one, or it is being confirmed with a $1 charge, or that charge did not go through);
nullotherwise. - card_on_filerequiredboolean
- customerrequiredboolean
- True once a billing customer exists for the organisation.
- method_checkMethodCheckView | null
- The $1 that confirms the payment method on file when it has no stable payer (Apple Pay, Google Pay, Amazon Pay);
nullwhen it needed none. - noticeTrialNotice | null
- org_idrequiredstring
- periodrequiredBillingPeriod
- The billing period
usagecovers. - planrequiredstring
- suspend_reasonstring | null
- suspendedrequiredboolean
- trialrequiredTrialStatus
- The trial an organisation is on, and what is left of it.
- upcoming_invoiceUpcomingInvoice | null
- The payment provider's estimate of the next invoice;
nullwhen there is no subscription, or when the estimate could not be fetched (seeupcoming_invoice_error). - upcoming_invoice_errorstring | null
- usagerequiredPeriodUsage
- What a period cost, by what it was spent on.