account

Get Account Status

Changed on

Get the subscription state of the account this API key belongs to. Use status to tell a trial from a paid or churned account: trialing means the account is in its trial, and current_period_end is the date that trial ends. subscription_not_found means the account has no Stripe subscription on file, which is normal for manually invoiced accounts and is not a sign that the account lapsed. unknown means we cannot vouch for the account's current state, either because its billing record is no longer being kept up to date or because it is in a state this endpoint does not publish yet; keep your current behavior rather than treating it as a lapse.

get/account

Request

  • Base URL
    https://api.scrunchai.com/v1
  • Auth
    HTTP bearer

Response

Successful Response

organization_idstring required
organization_namestring required
planstring required
plan_display_namestring required
current_period_startstring date-time nullable required
current_period_endstring date-time nullable required

Changes