string, max chars=150 Identifier for PaymentIntent.
enumerated string Current status of PaymentIntent.
Possible values are
initedIntent is initialized.in_progressStatus will be in_progress if the Active Payment Attempt state is in requires_identification, requires_challenge or requires_redirection.authorized3DS verification successfully completed.consumedIf any Chargebee operation such as create subscription etc. is completed using the intent, it will be in consumed state. Intent cannot be used if it's already in consumed state.expiredIntent has expired, since it was not consumed before the predefined time-out.
optional, string, max chars=3 The currency code (ISO 4217 format) of the amount used in transaction.
in cents, min=0 Amount(in cents) to be authorized for 3DS flow.
string, max chars=50 The gateway account used for performing the 3DS flow.
timestamp(UTC) in seconds Timestamp indicating when the PaymentIntent will expire if left unconsumed.
optional, string, max chars=200 Reference for payment method at gateway. Only applicable when the PaymentIntent is created for cards stored in the gateway.
optional, enumerated string, default=card The payment method of this intent
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.
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.
timestamp(UTC) in seconds Timestamp indicating when the PaymentIntent was created.
timestamp(UTC) in seconds Timestamp indicating when the PaymentIntent was last modified.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, timestamp(UTC) in seconds Timestamp indicating when this payment intent was last updated.
string, max chars=50
The unique ID of the customer for which this payment_intent should be created. If not provided, a new customer is created and its ID is autogenerated.
optional, payment_attempt Active payment attempt for the PaymentIntent.
Active payment attempt attributes
optional, string, max chars=70 Identifier for PaymentIntent's active payment attempt.
enumerated string Current status of active payment attempt
Possible values are
initedPayment attempt is initialized.requires_identificationCustomer's device fingerprint is used to verify their identity. It needs to be sent to the Issuing Bank for verification.requires_challengeThe transaction has to go through 3DS Challenge flow and the customer needs to authenticate via 3DS 2.0requires_redirectionThe transaction has to go through 3DS Redirection flow and the customer needs to authenticate via 3DS 1.0authorized3DS verification successfully completed.refused3DS verification attempt failed.pending_authorizationWaiting for the authorization.
optional, enumerated string, default=card The payment method of this attempt
Creates a PaymentIntent object. This is to be used with Chargebee.js API to complete the 3DS flow for new or stored cards.
While creating, specify the appropriate gateway account and amount. Exact amount can be estimated using our Estimate API.
Customer resource lookup and creation
When customer[id] is provided for this operation, it is looked up by Chargebee, and if found, the payment_intent is created for it. If not found, a new customer resource is created with the ID provided, and the payment_intent is created.