POST /api/public/v1/billing/getStanding

Changed on

Where the business stands for new commitments: open; readOnly once an overdue subscription's grace has run out; or suspended once its verified base plan has ended with no eligible base in its place, unless an active plan grant admits every operation category. suspension is set whenever that verified suspension still refuses a category: enforced lists the categories whose new commitments are refused with subscriptionEnded, warned is always empty, and recovery is the way back; it is null otherwise. A suspended business's recovery is purchase (start a new subscription), resume (resume the paused one through resumeSubscription) or billing (recover the one Stripe still holds through openPortal, such as paying an unpaid invoice); canRestore says whether the caller may manage the business's billing. Requires order:read at the business, so a role without order access is refused with FORBIDDEN; getSuspensionNotice returns the same answer to every member.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object required
standing, 'open' | 'readOnly' | 'suspended' required
recovery, 'purchase' | 'resume' | 'billing' nullable required
canRestore, boolean required
suspension, object nullable required

Changes