# Dynamically update payment amounts

Learn how to modify total amounts when customers change their selections during checkout.

## 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/advanced/dynamically-update-amounts.md?payment-ui=embedded-components)
- [Payment Intents API](https://docs.stripe.com/payments/advanced/dynamically-update-amounts.md?payment-ui=elements)
