SetupIntent
- Type: object · SetupIntent
A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
- createdType: stringFormat: date-timerequired
Time at which the object was created. Measured in seconds since the Unix epoch.
- idType: stringrequired
Unique identifier for the setup intent.
- livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - statusType: stringenumrequired
Status of this SetupIntent, one of
requires_payment_method,requires_confirmation,requires_action,processing,canceled, orsucceeded.values- canceled
- processing
- requires
_action - requires
_confirmation - requires
_payment _method - succeeded
- usageType: stringmax length:100required
Indicates how the payment method is intended to be used in the future. Use
on_sessionif you intend to only reuse the payment method when the customer is in your checkout flow. Useoff_sessionif your customer may or may not be in your checkout flow. If not provided, this value defaults tooff_session. - currencyType: string
ISO 4217 currency codes (alpha3) supported for payments
- payment
_method ID of the payment method used with this SetupIntent.
- Type: string · PaymentMethodId
ID of the payment method to attach to this PaymentIntent.
- x
-expansion Resources - Type: string · PaymentMethodId
ID of the payment method to attach to this PaymentIntent.

