billing

Get Subscription

Get current user's subscription details.

get/api/v1/billing/subscription

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/billing/subscription
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Response

Successful Response

idinteger required
planobject required
status'active' | 'trialing' | 'past_due' | 'canceled' | 'incomplete' | 'incomplete_expired' required

Subscription status enum matching Stripe subscription statuses.

current_period_startstring date-time required
current_period_endstring date-time required
cancel_at_period_endboolean required
cancel_atstring date-time nullable
trial_endstring date-time nullable

Changes

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