Completing a next action for PaymentIntents created with one-off invoices

Invoices will automatically generate PaymentIntents objects and will indicate when a next action is needed. invoice.payment_action_required will generate when a next action is needed such as requiring 3D Secure, and the hosted_invoice_url returned in that event contains a button for the customer to complete the payment.

Additional Information