How intents work
Learn about the status and lifecycle of PaymentIntents and SetupIntents.
Asynchronous payment flows are complex to manage because they depend on customer interactions that happen outside of your application. PaymentIntents and SetupIntents simplify this by keeping track of the status of the payment or setup flow. The PaymentIntent and SetupIntent objects act as the single source of truth in the lifecycle of the flow.
Versions of the API before 2019-02-11 show requires_source
instead of requires_payment_method
and requires_source_action
instead of requires_action
.
If you’re separately authorizing and capturing funds, your PaymentIntent may also move to requires_capture
.