With Yuno, you can create sessions to create payments or to enroll payment methods for future purchases. For each workflow, we use two types of sessions, Customer and Checkout sessions, to ensure we get the correct information for each scenario.

Customer session

You can use use customer sessions to enroll/store a customer's payment methods. You'll need to create a new customer session every time you want to enroll a payment method for a customer. To create a new customer session, you will need the customer id generated when you created 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 the payment methods you have enabled in your Yuno Dashboard within the Connections and Checkout Builder section.

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

Checkout session

You can use checkout sessions to create payments. To create a new checkout session, you will need the customer id, generated when you created the customer on the Yuno system. You will create a new checkout session every time you make a payment. With a checkout session, you will have access to all payment methods available for that customer (both previously enrolled or not) to make a purchase, which you can then offer to your customers.

Create a payment without a checkout session

By utilizing Direct integration, which does not require Yuno's SDK, you can create a payment without needing a checkout session.

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