SetupIntent
A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
- Type: SetupIntent
A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
- currencyType: CurrencyCode
ISO 4217 currency codes (alpha3) supported for payments
- 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. - payment
_method ID of the payment method used with this SetupIntent.
- Type: PaymentMethodId
ID of the payment method to use when confirming a Payment Intent or Checkout Session.
- x
-expansion Resources - Type: PaymentMethodId
ID of the payment method to use when confirming a Payment Intent or Checkout Session.
- idType: stringrequired
Unique identifier for the setup intent.
- statusType: stringenumrequired
Status of this SetupIntent, one of
requires_payment_method,requires_confirmation,requires_action,processing,canceled, orsucceeded.valuescanceledprocessingrequires_actionrequires_confirmationrequires_payment_methodsucceeded - livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - createdType: stringFormat: date-timerequired
Time at which the object was created. Measured in seconds since the Unix epoch.

