Idempotency Supported
Try in API ExplorerThis 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
URL Format
POST https://[site].chargebee.com/api/v2/pricing_page_sessions/create_for_existing_subscription
Input Parameters
optional, string, max chars=250
The customers will be redirected to this URL upon successful checkout.
optional, jsonobject
JSON object of custom attributes (key-value pairs) used for pricing page targeting or content. Configure custom attributes in the dashboard.
Returns
pricing_page_sessionPricing page session object
Resource object representing pricing_page_session