With Yuno, you can create sessions to initiate payments or register payment methods for future purchases. For each process, we use two types of sessions: Customer and Checkout sessions, ensuring the collection of the correct information for each scenario.

Customer session

You can use customer sessions to enroll and store a customer's payment methods. To do so, you'll need to create a new customer session each time you want to register a payment method for a specific customer, using the customer_id (unique customer identifier) generated when creating the customer on the Yuno system. With a customer session, you'll have access to all available payment methods for enrollment, which you can then offer to your customers.

Available payment methods

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

For more detailed information on how to use the Create customer session endpoint, see API reference.

Checkout session

You can use checkout sessions to create payments or initiate the payment flow, and every time the customer makes a payment, you'll need to create a new session. For this, you'll need the customer_id (unique customer identifier), generated when creating the customer on the Yuno system. With a checkout session, you'll have access to all available payment methods for that customer whether they are previously enrolled or not to make a purchase.

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.

For more detailed information on how to use the Create checkout session endpoint, see API reference.