GET /v1/subscriptions/packages
List available packages
Returns all available subscription packages with features and pricing
Request
GET /v1/subscriptions/packages
Parameters
[]
Response
{
"200": {
"description": "Packages retrieved successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"packages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"price_monthly": {
"type": "number"
},
"price_yearly": {
"type": "number"
},
"is_popular": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "object",
"properties": {
"feature_key": {
"type": "string"
},
"feature_value": {
"type": "string"
},
"display_name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"required": [
"feature_key",
"feature_value",
"display_name",
"description"
]
}
}
},
"required": [
"id",
"name",
"description",
"price_monthly",
"price_yearly",
"is_popular",
"features"
]
}
},
"current_package_id": {
"type": [
"string",
"null"
]
}
},
"required": [
"packages",
"current_package_id"
]
}
},
"required": [
"success",
"data"
]
}
}
}
}
}
View in Interactive API Reference