The Yuno payment process
The payment process consists of four steps:Create a customer
Every payment in Yuno links to a customer. The system stores customer details such as name, address, and phone number. Yuno uses this information to process payments across different payment methods and processors.
When you create a customer, Yuno generates a unique identifier for use in later steps.
You will need the customer’s identification information for each subsequent step.
Create a checkout session
To process a payment, create a checkout session. This session connects the customer to the payment and stores key transaction details. Yuno loads all available payment methods linked to your account.
If your customer wishes to enroll a payment method, you’ll create a customer session instead.
Create a one-time token
A one-time token (OTT) enhances payment security by protecting sensitive information. To generate it, provide the customer identification, checkout session, and selected payment method.
An OTT is a temporary, single-use code that prevents unauthorized reuse and blocking fraud.
Create the payment
A payment represents the final transaction. Use the data collected in the previous steps (connected customer and valid OTT) to process the payment within the checkout session.
Certain fields are optional but can enhance user experience. Consider mandatory fields if you decide to include this information.