> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyway.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Checkout Sessions API

> Create a checkout for each purchase through the API, priced by the products and quantities in it.

[← Changelog](https://docs.anyway.sh/changelog.md)

**October 9, 2026**

# Checkout Sessions API

Instead of creating a payment link for every product and price, your server can create a checkout session for each purchase and send the buyer to the URL it returns. The amount comes from the products and quantities you pass, so buyers never type a total.

* **Price it your way:** an existing price, an existing product with a one-off price, or a name and price for this purchase only.
* **Match payments to your orders:** attach a customer or an email, your own order reference, and custom metadata.
* **Cards and crypto:** cards support one-time payments and subscriptions; crypto supports one-time payments to your payout wallet.

### Find sessions in Anyway

Open **Sales → Checkout Sessions** to search sessions, see what was bought and the linked order, and open a checkout that can still be paid. Change **Source** to include Payment Link sessions. Payment links keep working as before.

Details: [Checkout Sessions](https://docs.anyway.sh/api-reference/checkout-sessions.md).

> [card] [Open in Anyway](https://app.anyway.sh/checkout-sessions?view=business)

### Improvements

* **Sign-in** · Email-code sign-in now works reliably from mainland China.
* **Sign-in** · When a sign-in needs an extra check, you tick a box to confirm you are human and the code is sent, instead of being blocked.
* **Sign-in** · Clearer messages when a code was just sent to that email or there were too many attempts.
* **Payment setup** · **Where do you sell?** is now a searchable list of countries. Choose **European Union** to add all 27 member states at once.
* **Payment setup** · Items sent back for changes open automatically and show the reviewer's notes.
* **Developers** · The webhook and SDK key dialogs show each error on the field that needs changing.

### Fixes

* **Payment setup** · When a section cannot be saved, the field that needs fixing is now highlighted with the reason. Regions saved earlier as free text need choosing again from the list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.