ChargebeeAPI

Update a payment intent

Idempotency Supported
Try in API Explorer

Updating properties on a PaymentIntent object. All the subsequent 3DS transaction attempts will have the updated values.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/payment_intents/{payment-intent-id}

Input Parameters

amount
optional, in cents, min=0

Amount(in cents) to be authorized for 3DS flow.

currency_code
optional, string, max chars=3

The currency code (ISO 4217 format) of the amount used in transaction.

gateway_account_id
optional, string, max chars=50

The gateway account used for performing the 3DS flow.

payment_method_type
optional, enumerated string, default=card

The payment method of this intent.

Possible Enum Values
card

card

ideal

ideal

sofort

sofort

bancontact

bancontact

google_pay

google_pay

success_url
optional, string, max chars=250

The URL the customer will be directed to once 3DS verification is successful. Applicable only when payment_method_type is ideal , sofort , dotpay or giropay .

failure_url
optional, string, max chars=250

The URL the customer will be directed to when 3DS verification fails. Applicable only when payment_method_type is ideal , sofort , dotpay or giropay .

Returns

payment_intentPayment intent object
Resource object representing payment_intent