# Checkout Sessions

A checkout session is a cart of [prices](https://docs.monei.com/apis/rest/prices-create/) that a buyer pays on one MONEI page.

You send price IDs and quantities. MONEI computes every amount with the tax of each product, and returns the session with its `url`. Send the buyer to the `url`: the page shows the lines and the totals, asks for email, name, billing address and, when you allow it, company details, and takes the payment.

## Payment and subscription[​](#payment-and-subscription "Enlace directo al Payment and subscription")

A cart can mix one-time prices and one `RECURRING` price. Without a recurring price, paying the session creates a payment (`PAYMENT` mode). With one, it also creates a subscription that renews at the recurring price (`SUBSCRIPTION` mode). A recurring price with a trial is charged when the trial ends, not in the first payment.

## Lifecycle[​](#lifecycle "Enlace directo al Lifecycle")

A session is `OPEN` until the buyer pays it (`COMPLETE`) or it reaches `expiresAt` unpaid (`EXPIRED`). An expired session leaves no payment to capture and no active subscription.

Subscribe a webhook to `checkout_session.completed` and `checkout_session.expired` to learn when a session ends.

<!-- -->

## [📄️Create Checkout Session](https://docs.monei.com/es/apis/rest/checkout-sessions-create.md)

[Creates a checkout session and returns it with its \`url\`. Send the buyer to the \`url\` to pay.](https://docs.monei.com/es/apis/rest/checkout-sessions-create.md)

## [📄️List Checkout Sessions](https://docs.monei.com/es/apis/rest/checkout-sessions-list.md)

[Lists the checkout sessions of your account, newest first, one page at a time.](https://docs.monei.com/es/apis/rest/checkout-sessions-list.md)

## [📄️Get Checkout Session](https://docs.monei.com/es/apis/rest/checkout-sessions-get.md)

[Retrieves a checkout session by its unique ID.](https://docs.monei.com/es/apis/rest/checkout-sessions-get.md)
