curl -X GET "https://api.usegately.com/api/v1/plans" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"plans": [
{
"id": "plan_123",
"name": "Pro Plan",
"description": "Full access to all features",
"price": 29.00,
"currency": "usd",
"interval": "month",
"stripe_price_id": "price_xxx",
"features": ["Feature 1", "Feature 2"],
"is_active": true
}
]
}
Get all subscription plans
curl -X GET "https://api.usegately.com/api/v1/plans" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"plans": [
{
"id": "plan_123",
"name": "Pro Plan",
"description": "Full access to all features",
"price": 29.00,
"currency": "usd",
"interval": "month",
"stripe_price_id": "price_xxx",
"features": ["Feature 1", "Feature 2"],
"is_active": true
}
]
}
curl -X GET "https://api.usegately.com/api/v1/plans" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"plans": [
{
"id": "plan_123",
"name": "Pro Plan",
"description": "Full access to all features",
"price": 29.00,
"currency": "usd",
"interval": "month",
"stripe_price_id": "price_xxx",
"features": ["Feature 1", "Feature 2"],
"is_active": true
}
]
}
Was this page helpful?