> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# L'objet session client

> Décrit l'objet session client et ses attributs utilisés pour l'inscription d'un moyen de paiement

## Attributs

Cet objet représente une session client qui peut être créée pour inscrire les moyens de paiement d'un client.

**customer\_session** `string`

La session client créée pour l'inscription (MAX 64 ; MIN 36).

Exemple : fe50d39a-5a1c-11ed-9b6a-0242ac120002

**customer\_id** `string`

L'identifiant unique du client (MAX 64 ; MIN 36).

Exemple : 3956053c-5a1d-11ed-9b6a-0242ac120002

**country** `enum`

Le pays du client (MAX 2 ; MIN 2 ; [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) ).

Valeurs d'enum possibles : consultez la [Référence des pays](https://docs.y.uno/fr/reference/country-reference.md).

**callback\_url** `string`

L'URL vers laquelle rediriger votre client une fois l'inscription effectuée dans l'environnement du prestataire (MAX 526 ; MIN 3).

Exemple : [www.your-url.com](http://www.your-url.com)

**created\_at** `timestamp`

Date et heure de création de la session client (MAX 27 ; MIN 27 ; [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ).

Exemple : 2022-05-09T20:46:54.786342Z

**checkout\_id** `string`

L'identifiant unique du Custom Checkout utilisé pour cette session d'inscription.

Exemple : 6822f80c-684e-41a3-8628-78963d3d60f7


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.