SetupIntent

A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.

  • A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.

    • ISO 4217 currency codes (alpha3) supported for payments

    • Indicates how the payment method is intended to be used in the future. Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. If not provided, this value defaults to off_session.

    • ID of the payment method used with this SetupIntent.

      • ID of the payment method to use when confirming a Payment Intent or Checkout Session.

      • ID of the payment method to use when confirming a Payment Intent or Checkout Session.

    • Unique identifier for the setup intent.

    • Status of this SetupIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, canceled, or succeeded.

      values
      canceledprocessingrequires_actionrequires_confirmationrequires_payment_methodsucceeded
    • Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    • Time at which the object was created. Measured in seconds since the Unix epoch.