> ## Documentation Index
> Fetch the complete documentation index at: https://yuno-3979e326-2026-05-13-universal-sdk-proposal.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sessions

With Yuno, you can create sessions to initiate payments or register payment methods for future purchases. There are two types of sessions: **customer sessions** and **checkout sessions**. These sessions ensure the correct information is collected for each scenario.

## Customer session

Use customer sessions to enroll and store a customer's payment methods. Create a new customer session each time you register a payment method for a specific customer. Required fields: your `account_id`, the `country`, and the `customer_id` (a unique customer identifier) generated when creating the customer in Yuno. A customer session provides access to all available payment methods for enrollment, which you can offer to customers.

<Note>
  **Available payment methods**

  When creating both sessions, customer and checkout, the Yuno system will provide you with a list of all enabled payment methods in your Yuno dashboard within the Connections and Checkout builder section.
</Note>

For the full request/response and authentication headers, see [Create customer session](/reference/customer-sessions-enrollment/create-customer-session); field details are in [the customer session object](/reference/the-customer-session-object).

## Checkout session

Use checkout sessions to create payments or initiate the payment flow. Each time a customer makes a payment, you must create a new session. Required fields: your `account_id`, a `merchant_order_id`, a `payment_description`, and the `country`. `customer_id` is optional — pass it to give the session access to that customer's previously enrolled payment methods.

<Note>
  **Create a payment without a checkout session**

  By utilizing Direct integration, which doesn't require Yuno's SDK, you can create a payment without the need for a checkout session.
</Note>

For the full request/response and authentication headers, see [Create checkout session](/reference/checkout-sessions/create-checkout-session); field details are in [the checkout session object](/reference/the-checkout-session-object).
