Idempotency Supported
Try in API ExplorerStoring card after successful 3DS completion is not supported in this API. Use create using Payment Intent API under Payment source to store the card after successful 3DS flow completion.
Sample Request
URL Format
POST https://[site].chargebee.com/api/v2/payment_sources/create_card
Input Parameters
required, string, max chars=50
Identifier of the customer with whom this payment source is associated.
optional, boolean, default=false
Indicates whether the primary payment source should be replaced with this payment source. In case of Create Subscription for Customer endpoint, the default value is True. Otherwise, the default value is False.
Returns
customerCustomer object
Resource object representing customer
payment_sourcePayment source object
Resource object representing payment_source