Skip to main content

Get active subscription

GET 

/api/partner-gateway/subscription

Returns the subscription plan currently active for your account.

  • Plan: planCode (such as monthly_pro or annual_business) and status, which is active for the subscription in force.
  • Billing period: billingPeriodStart and billingPeriodEnd bound the current invoicing cycle. At its end the plan renews, unless it has been canceled.
  • Usage counters: nextRenew is their next reset. On an annual plan it comes every month, well before billingPeriodEnd.
  • Cancellation: if canceled is true while status is still active, the plan stays usable until the end of the current billing period and then does not renew. nextPlan, when set, is the plan that takes over.

Use it to check your plan before calling features that depend on the plan level, or to show the subscription in your own dashboard.

Responses​

The active subscription.