Idempotency Supported
This API generates a hosted page URL to add new or update existing payment sources for the customer.
Use one of the following methods to open the hosted page:
- In-app modal: Use Chargebee.js
openCheckout()to open the hosted page in a modal popup in your website or application. - Standalone page: Redirect the customer to the hosted page
url.
Do not embed the hosted page in your own iframe.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/hosted_pages/manage_payment_sources
Input Parameters
Returns
Hosted page object
Resource object representing hosted_page