Ir a contenido
Crea una cuenta
o
inicia sesión
Logotipo de la documentación de Stripe
/
Pregúntale a la IA
Crear cuenta
Iniciar sesión
Empezar
Pagos
Automatización de finanzas
Plataformas y marketplaces
Gestión del dinero
Herramientas para desarrolladores
Empezar
Pagos
Automatización de finanzas
Empezar
Pagos
Automatización de finanzas
Plataformas y marketplaces
Gestión del dinero
ResumenExplora todos los productos
Start building
Empezar a desarrollar
Proyectos de muestra
Acerca de las API
    Visita a la API
    API Payment Intents
    API Setup Intents
      Cómo funciona SetupIntents
    Métodos de pago
    Productos y precios
    API anteriores
    Fases de lanzamiento
Crear con LLM
Utiliza Stripe sin necesidad de programación
Configura Stripe
Crea una cuenta
Dashboard web
Dashboard móvil
Migrar a Stripe
Gestiona el riesgo de fraude
Comprender el fraude
Protección antifraude de Radar
Gestiona disputas
Verificar identidades
InicioEmpezarAbout the APIsSetup Intents API

How SetupIntents work

Learn how SetupIntents work within the payment flow.

Copia la página

Asynchronous payment flows can be complex to manage because they depend on customer interactions that happen outside of your application. PaymentIntents and SetupIntents simplify management by tracking the status of the flow.

requires_payment_method

When the SetupIntent is created, it has a status of requires_payment_method1 until a payment method is attached.

requires_confirmation
Optional

After the customer provides their payment method information, the SetupIntent is ready to be confirmed.

In most integrations, this state is skipped because payment method information is submitted at the same time that the SetupIntent is confirmed.

requires_action

If the setup requires additional actions, such as authenticating with 3D Secure , the SetupIntent has a status of requires_action1.

processing

After required actions are handled, the SetupIntent moves to processing. Although some payment methods (for example, cards) can process quickly, other payment methods can take up to several days to process.

succeeded

A SetupIntent with a status of succeeded means that the setup is successful.

You can now attach this payment method to a Customer object and use this payment method for future payments.

requires_payment_method

If the setup fails, SetupIntent’s status returns to requires_payment_method.

canceled

You can cancel a SetupIntent at any point before it is processing or succeeded.

1 Versions of the API before 2019-02-11 show requires_source instead of requires_payment_method and requires_source_action instead of requires_action.

¿Te ha sido útil la página?
SíNo
¿Necesitas ayuda? Ponte en contacto con el equipo de soporte.
Únete a nuestro programa de acceso anticipado.
Echa un vistazo a nuestro registro de cambios.
¿Tienes alguna pregunta? Ponte en contacto con el equipo de ventas.
¿LLM? Lee llms.txt.
Con tecnología de Markdoc