This API generates a hosted page URL to collect due payments for the customer.
Chargebee.js openCheckout() not supported
The Chargebee.js openCheckout() function does not support Collect Now hosted pages. To open a Collect Now page, open the url from this API's response in a new browser tab or window (for example, window.open(response.hosted_page.url, '_blank')).
Sample Request
URL Format
Input Parameters
Used to specify the destination URL to which a user is redirected after invoices are paid. The transaction ID of the transactions made through the Pay Now hosted page will be sent as return variables along with the URL.
The currency code (ISO 4217 format) of the specified credit amount .
Determines whether the payment method should be saved to the customer's account.
Automatically save the payment method to the customer's account for future use.
Let the customer choose whether to save the payment method.
Do not save the payment method.