Preview Billing Plan Change
Authorization
bearerAuth AuthorizationBearer <token>
JWT token from authentication
In: header
Path Parameters
organization_id*string
Length
1 <= lengthQuery Parameters
price_id*string
Length
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/organizations/org_abc123/subscription/preview?price_id=string"{ "is_upgrade": true, "current_plan": { "name": "string", "price": 0, "credits": 0 }, "new_plan": { "name": "string", "price": 0, "credits": 0 }, "current_period_end": "string", "immediate_charge": 0}