Skip to main content
The Checkout Session object is the entry point for every payment in Yuno. It defines the transaction context. Amount, country, available payment methods. And returns an sdk_token used to render the checkout experience on the client side.
Metadata and routing. Metadata set at the Checkout Session level propagates to the resulting Payment Object and is used by routing rules. Always set metadata here rather than only on the payment.

Object Fields

string
The unique identifier for this checkout session (UUID).Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
object
The transaction amount details.
string
The country where the payment takes place. ISO 3166-1 alpha-2 code. Determines which payment methods and providers are available.Example: BR
string
Your internal order identifier, used for reconciliation between your system and Yuno.Example: order-20260310-042
string
Current status of the checkout session.Values: ACTIVE, EXPIRED, COMPLETEDExample: ACTIVE
string
ID of the associated Customer Object. When provided, Yuno can display vaulted payment methods for one-click checkout.Example: c9d0e1f2-3a4b-5c6d-7e8f-9a0b1c2d3e4f
string
Internal description of the checkout session (MAX 255; MIN 3).Example: Subscription renewal — March 2026
string
Customer-facing payment description displayed in the checkout UI and on payment receipts.Example: Example Store — Order #042
array
List of payment method types available for this checkout session, determined by country, merchant enablements, and provider configuration.Example: ["CARD", "BANK_TRANSFER", "WALLET"]
string
Server-side webhook URL where Yuno sends asynchronous payment status notifications.Example: https://api.example.com/webhooks/yuno
string
Client-side URL where the customer is redirected after completing or abandoning the checkout flow.Example: https://www.example.com/order/confirmation
object
Custom key-value pairs set by the merchant. Up to 50 keys, each key max 40 characters, each value max 500 characters. Propagates to the resulting payment and is available in webhooks.
string
Token used to initialize the Yuno SDK on the client side. Returned only in the create response. Treat this as short-lived and sensitive.Example: stok_live_abc123def456...
string
ISO 8601 timestamp of when the checkout session was created.Example: 2026-03-10T18:00:00.000Z

Example