# Save a customer's payment method when they use it for a payment Learn how to save your customer's payment details for future purchases when they make a payment. ## 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)