ChargebeeAPI

Manage Payment Sources

Idempotency Supported
Try in API Explorer

This API generates a hosted page URL to add new or update existing payment sources for the customer.

Sample Request

URL Format

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

Input Parameters

redirect_url
optional, string, max chars=250

URL to redirect after payment method is added.

customer[0..n]
Parameters for customer
pass parameters as customer[<param name>]
card[0..n]
Parameters for card
pass parameters as card[<param name>]

Returns

hosted_pageHosted page object
Resource object representing hosted_page