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
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
stripe_price_id object
Stripe price ID for checkout
- string
- null
new_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
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
stripe_price_id object
Stripe price ID for checkout
- string
- null
{
"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"
},
"limits": {
"api_calls": 0,
"geofences": 0,
"webhooks_delivered": 0,
"test_points": 0,
"rate_limit_per_hour": 0
},
"stripe_price_id": "string"
},
"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"
},
"limits": {
"api_calls": 0,
"geofences": 0,
"webhooks_delivered": 0,
"test_points": 0,
"rate_limit_per_hour": 0
},
"stripe_price_id": "string"
},
"prorated_amount": 0,
"immediate_charge": 0,
"next_invoice_change": 0,
"effective_date": "string"
}