Idempotency Supported
This endpoint streamlines the generation of a pricing page session to enable subscription upgrade , and downgrade workflows using Chargebee's hosted pricing pages (Atomic Pricing ). By providing a subscription ID as a parameter, you will obtain a hosted pricing page session URL.
Note: Full access key authentication is needed for this API request.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/pricing_page_sessions/create_for_existing_subscription
Input Parameters
JSON object of custom attributes (key-value pairs) used for pricing page targeting or content. Configure custom attributes in the dashboard.
Returns
Pricing page session object
Resource object representing pricing_page_session