ChargebeeAPI

Extend Subscription

Idempotency Supported
Try in API Explorer

This API generates a hosted page URL to extend the billing cycle of a subscription.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/hosted_pages/extend_subscription

Input Parameters

expiry
optional, integer, min=1, max=500

Expiry (in days) for the link generated. No expiry will be set if this is not specified.

billing_cycle
optional, integer, min=1

Number of billing cycles to extend. If not specified, plan's billing cycle will be used.

subscription
optional, string

Parameters for subscription

Returns

hosted_pageHosted page object

Resource object representing hosted_page