# 当客户用某种支付方式进行付款时,保存该支付方式 了解如何在确认 PaymentIntent 时保存客户的付款方式。 ## Index This article has multiple variants. Fetch one of the following URLs to view specific content for your use case: - [Checkout Sessions API](https://docs.stripe.com/payments/save-during-payment.md?payment-ui=embedded-components) - [Payment Intents API](https://docs.stripe.com/payments/save-during-payment.md?payment-ui=elements)