SubscriptionResponse
User subscription details.
plan objectrequired
Subscription plan details.
Billing interval (month/year)
features objectrequired
Features included in a subscription plan.
custom_domains object
- string
- null
sla object
- string
- null
Feature list from model
limits objectrequired
Usage limits for a subscription plan.
Monthly API call limit (-1 for unlimited)
Maximum number of geofences (-1 for unlimited)
Monthly webhook delivery limit (-1 for unlimited)
Monthly test point limit (-1 for unlimited)
Hourly rate limit
Maximum devices per workspace (-1 for unlimited)
5Log retention in days (-1 for unlimited)
7Location data retention in days
90stripe_price_id object
Stripe price ID for checkout
- string
- null
Lowercase plan name (e.g., 'free', 'pro')
Human-readable plan name
Monthly price in dollars
0Yearly price in dollars
0stripe_price_monthly_id object
Stripe monthly price ID
- string
- null
stripe_price_yearly_id object
Stripe yearly price ID
- string
- null
Price per extra 100k events
0Price per extra 100 geofences
0Whether this plan is featured/recommended
falseSubscription status (active/canceled/past_due)
current_period_start object
ISO 8601 datetime
- string
- null
current_period_end object
ISO 8601 datetime
- string
- null
falseISO 8601 datetime
ISO 8601 datetime
{
"cancel_at_period_end": false,
"created_at": "2025-06-15T10:00:00Z",
"current_period_end": "2025-11-01T00:00:00Z",
"current_period_start": "2025-10-01T00:00:00Z",
"plan": {
"description": "For growing teams with advanced automation needs",
"display_name": "Pro",
"features": {
"api_calls": "100,000/month",
"feature_list": [
"Advanced workflows",
"Webhook templates"
],
"geofences": "500",
"support": "Priority email",
"test_points": "50,000/month",
"webhooks": "50,000/month"
},
"id": "plan_pro",
"interval": "month",
"is_featured": true,
"limits": {
"api_calls": 100000,
"devices": 25,
"geofences": 500,
"location_retention_days": 90,
"log_retention_days": 30,
"rate_limit_per_hour": 5000,
"test_points": 50000,
"webhooks_delivered": 50000
},
"name": "Pro",
"price": 49,
"price_monthly": 49,
"price_yearly": 470,
"tier": "pro"
},
"status": "active",
"updated_at": "2025-10-01T00:00:00Z",
"user_id": "u1a2b3c4-d5e6-7890-abcd-ef1234567890"
}