billing

Get Billing State

Current plan + subscription state, for the client-admin billing tab.

subscription is null when the org is on free with no Stripe sub. has_payment_method is true once Stripe has assigned a customer id — a proxy for "the user completed checkout at least once."

get/v1/orgs/{org_id}/billing

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/orgs/{org_id}/billing
  • Auth: none declared

Path parameters

org_idstring required

Response

Successful Response

plan'free' | 'hobby' | 'pro' | 'team' | 'enterprise' required
has_payment_methodboolean required
tax_handled_by_stripeboolean required

Changes

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