Skip to main content
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.
Available payment methodsWhen 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.
For the full request/response and authentication headers, see Create customer session; field details are in 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.
Create a payment without a checkout sessionBy utilizing Direct integration, which doesn’t require Yuno’s SDK, you can create a payment without the need for a checkout session.
For the full request/response and authentication headers, see Create checkout session; field details are in the checkout session object.