ChargebeeAPI

Create using payment intent

Idempotency Supported
Try in API Explorer

Used to attach the card to the customer after 3DS completion. Learn more on the 3DS implementation via Chargebee APIs.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/payment_sources/create_using_payment_intent

Input Parameters

customer_id
required, string, max chars=50

Identifier of the customer with whom this payment source is associated.

replace_primary_payment_source
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.

payment_intent
optional, string

Parameters for payment_intent

Returns

customerCustomer object

Resource object representing customer

payment_sourcePayment source object

Resource object representing payment_source