PaymentIntent
The PaymentIntent
represents your intent to collect payment from a customer, tracking the lifecycle of the payment process through each step. Each PaymentIntent
typically correlates with a single “cart” or customer session in your application.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Functions
Return the Charge objects associated with this PaymentIntent
Properties
Amount that can be captured from this PaymentIntent
Populated when status
is PaymentIntentStatus.CANCELED, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
Reason for cancellation of this PaymentIntent, either user-provided (duplicate
, fraudulent
, requested_by_customer
, or abandoned
) or generated by Stripe internally (failed_invoice
, void_invoice
, or automatic
).
One of automatic
(default) or manual
. When the confirmation method is automatic, a PaymentIntent can be confirmed using a publishable key. After next_actions
are handled, no additional confirmation is required to complete the payment.
Time at which the PaymentIntent was created. Measured in seconds since the Unix epoch.
ID of the Customer this PaymentIntent belongs to, if one exists. If present, payment methods used with this PaymentIntent can only be attached to this Customer, and payment methods attached to other Customers cannot be used with this PaymentIntent.
An arbitrary string attached to the PaymentIntent. Often useful for displaying to users.
ID of the invoice that created this PaymentIntent, if it exists.
The payment error encountered in the previous PaymentIntent confirmation.
ID of the review associated with this PaymentIntent, if any.
Value of setup_future_usage associated with this PaymentIntent, if any.
Extra information about a PaymentIntent. This will appear on your customer’s statement when this PaymentIntent succeeds in creating a charge.
Extra dynamic information about a PaymentIntent. This will appear concatenated with the statementDescriptor on your customer’s statement when this PaymentIntent succeeds in creating a charge.
When set, the connected account ID which created the PaymentIntent.