Returns all active subscription plans with features and prices

GET
/billing/api/v1/subscriptions/plans

Responses

200
OK

Response Fields:

  • plans (object[])

Example:

{
  "plans": [
    {
      "description": "string",
      "features": [
        {
          "key": "...",
          "type": "...",
          "value": "..."
        }
      ],
      "id": "string",
      "name": "string",
      "position": 0,
      "prices": [
        {
          "amount": "...",
          "currency": "...",
          "id": "...",
          "interval": "...",
          "is_default": "..."
        }
      ]
    }
  ]
}
500
Internal Server Error

Example:

{
  "key": "value"
}