PlanChangePreviewResponse
Preview of plan change with proration.
current_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
Log 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
falsenew_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
Log 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
false{
"current_plan": {
"id": "string",
"name": "string",
"description": "string",
"price": 0,
"interval": "string",
"features": {
"api_calls": "string",
"geofences": "string",
"webhooks": "string",
"test_points": "string",
"support": "string",
"custom_domains": "string",
"sla": "string",
"feature_list": [
"string"
]
},
"limits": {
"api_calls": 0,
"geofences": 0,
"webhooks_delivered": 0,
"test_points": 0,
"rate_limit_per_hour": 0,
"log_retention_days": 7,
"location_retention_days": 90
},
"stripe_price_id": "string",
"tier": "",
"display_name": "",
"price_monthly": 0,
"price_yearly": 0,
"stripe_price_monthly_id": "string",
"stripe_price_yearly_id": "string",
"event_overage_rate": 0,
"geofence_overage_rate": 0,
"is_featured": false
},
"new_plan": {
"id": "string",
"name": "string",
"description": "string",
"price": 0,
"interval": "string",
"features": {
"api_calls": "string",
"geofences": "string",
"webhooks": "string",
"test_points": "string",
"support": "string",
"custom_domains": "string",
"sla": "string",
"feature_list": [
"string"
]
},
"limits": {
"api_calls": 0,
"geofences": 0,
"webhooks_delivered": 0,
"test_points": 0,
"rate_limit_per_hour": 0,
"log_retention_days": 7,
"location_retention_days": 90
},
"stripe_price_id": "string",
"tier": "",
"display_name": "",
"price_monthly": 0,
"price_yearly": 0,
"stripe_price_monthly_id": "string",
"stripe_price_yearly_id": "string",
"event_overage_rate": 0,
"geofence_overage_rate": 0,
"is_featured": false
},
"prorated_amount": 0,
"immediate_charge": 0,
"next_invoice_change": 0,
"effective_date": "string"
}