billing
Preview a subscription change
[cloud-only] Returns a preview of what a subscription change would cost, including prorations.
post/api/billing/preview-subscribe
Request body
Response
Subscription preview
Example response
{
"cost_today_cents": 5000,
"cost_next_period_cents": 10000,
"credits_today_cents": 5000,
"credits_next_period_cents": 10000,
"current_plan": {
"slug": "team-pro-monthly",
"price_cents": 10000,
"credits_cents": 10000,
"seat_summary": {
"seat_count": 5,
"total_cost_cents": 50000,
"total_credits_cents": 50000
}
},
"new_plan": {
"slug": "team-pro-monthly",
"price_cents": 10000,
"credits_cents": 10000,
"seat_summary": {
"seat_count": 5,
"total_cost_cents": 50000,
"total_credits_cents": 50000
}
}
}