Payment Intents ​
A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session.
A PaymentIntent transitions through multiple statuses throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge.
Related guide: Payment Intents API
Endpoints ​
Create a PaymentIntent ​
- POST /v1/payment_intents
Update a PaymentIntent ​
- POST /v1/payment_intents/:id
Retrieve a PaymentIntent ​
- GET /v1/payment_intents/:id
List all PaymentIntents ​
- GET /v1/payment_intents
List all PaymentIntent LineItems ​
- GET /v1/payment_intents/:id/amount_details_line_items
Cancel a PaymentIntent ​
- POST /v1/payment_intents/:id/cancel
Capture a PaymentIntent ​
- POST /v1/payment_intents/:id/capture
Confirm a PaymentIntent ​
- POST /v1/payment_intents/:id/confirm
Increment an authorization ​
- POST /v1/payment_intents/:id/increment_authorization
Reconcile a customer_balance PaymentIntent ​
- POST /v1/payment_intents/:id/apply_customer_balance
Search PaymentIntents ​
- GET /v1/payment_intents/search
Verify microdeposits on a PaymentIntent ​
- POST /v1/payment_intents/:id/verify_microdeposits
Events ​
payment_intent.amount_capturable_updatedOccurs when a PaymentIntent has funds to be captured. Check theamount_capturableproperty on the PaymentIntent to determine the amount that can be captured. You may capture the PaymentIntent with anamount_to_capturevalue up to the specified amount. Learn more about capturing PaymentIntents.payment_intent.canceledOccurs when a PaymentIntent is canceled.payment_intent.createdOccurs when a new PaymentIntent is created.payment_intent.partially_fundedOccurs when funds are applied to a customer_balance PaymentIntent and the ‘amount_remaining’ changes.payment_intent.payment_failedOccurs when a PaymentIntent has failed the attempt to create a payment method or a payment.payment_intent.processingOccurs when a PaymentIntent has started processing.payment_intent.requires_actionOccurs when a PaymentIntent transitions to requires_action statepayment_intent.succeededOccurs when a PaymentIntent has successfully completed payment.