GET
/
billing
/
subscriptions
curl --request GET \
  --url https://api.altostrat.io/billing/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "currency": "<string>",
  "currency_symbol": "<string>",
  "trial_days_remaining": 123,
  "step_rate": 123,
  "minimum": 123,
  "subscription": {
    "basic": {
      "monthly_price": {
        "first_10": 123,
        "default": 123
      },
      "yearly_price": {
        "first_10": 123,
        "default": 123
      },
      "interval": "month",
      "used": 123,
      "total": 123,
      "subscribed": true
    },
    "professional": {
      "monthly_price": {
        "first_10": 123,
        "default": 123
      },
      "yearly_price": {
        "first_10": 123,
        "default": 123
      },
      "interval": "month",
      "used": 123,
      "total": 123,
      "subscribed": true
    },
    "enterprise": {
      "monthly_price": {
        "first_10": 123,
        "default": 123
      },
      "yearly_price": {
        "first_10": 123,
        "default": 123
      },
      "interval": "month",
      "used": 123,
      "total": 123,
      "subscribed": true
    }
  }
}

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Response

200
application/json

Subscription overview details.

The response is of type object.