> ## 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.

# Récupérer un domaine

> Récupérez un domaine de wallet enregistré à partir de son identifiant et vérifiez l'état de son enregistrement



## OpenAPI

````yaml openapi/fr/domains/get-domain.json GET /v1/payment-methods/{payment_method}/domains/{domain_id}
openapi: 3.0.0
info:
  version: 1.0.0
  title: Domains
servers:
  - url: https://api-sandbox.y.uno
    description: Sandbox
  - url: https://api.y.uno
    description: Production (US)
security:
  - public-api-key: []
    private-secret-key: []
paths:
  /v1/payment-methods/{payment_method}/domains/{domain_id}:
    get:
      description: >-
        Récupère l'enregistrement d'un domaine à partir de son `id`. Utilisez
        l'`id` renvoyé par Register domain. Les domaines appartiennent à la
        connexion sur laquelle ils ont été enregistrés ; un domaine qui
        appartient à une autre organisation renvoie 404.
      operationId: get_v1-payment-methods-payment-method-domains-domain-id
      parameters:
        - in: path
          name: payment_method
          description: Moyen de paiement pour lequel le domaine a été enregistré.
          schema:
            type: string
            enum:
              - APPLE_PAY
              - GOOGLE_PAY
          required: true
        - in: path
          name: domain_id
          description: >-
            L'`id` de l'enregistrement du domaine (UUID), tel que renvoyé par
            Register domain.
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    id: 8a2f4b1c-6d3e-4f7a-9b21-0c5d8e7f6a43
                    account_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
                    domain: checkout.example.com
                    payment_method_type: APPLE_PAY
                    status: REGISTERED
                    created_at: '2026-01-22T10:30:00Z'
                    updated_at: '2026-01-22T10:45:00Z'
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Identifiant unique de l'enregistrement du domaine (UUID).
                    example: 8a2f4b1c-6d3e-4f7a-9b21-0c5d8e7f6a43
                  account_id:
                    type: string
                    description: Le compte sous lequel le domaine a été enregistré.
                    example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
                  domain:
                    type: string
                    description: Le domaine enregistré, sans protocole.
                    example: checkout.example.com
                  payment_method_type:
                    type: string
                    description: Moyen de paiement pour lequel le domaine a été enregistré.
                    example: APPLE_PAY
                  status:
                    type: string
                    description: >-
                      `CREATED` : l'enregistrement auprès du prestataire de
                      portefeuille est en cours. `REGISTERED` : le domaine est
                      vérifié et peut afficher le bouton de portefeuille.
                      `ERROR` : le prestataire a rejeté l'enregistrement (par
                      exemple, le fichier d'association n'était pas accessible)
                      ; enregistrez à nouveau le domaine après avoir corrigé le
                      problème. `INACTIVE` : le domaine a été supprimé.
                    enum:
                      - CREATED
                      - REGISTERED
                      - ERROR
                      - INACTIVE
                    example: REGISTERED
                  created_at:
                    type: string
                    example: '2026-01-22T10:30:00Z'
                  updated_at:
                    type: string
                    example: '2026-01-22T10:45:00Z'
        '400':
          description: '`payment_method` ou `domain_id` non valide.'
          content:
            application/json:
              examples:
                Invalid parameters:
                  summary: Invalid parameters
                  value:
                    code: INVALID_PARAMETERS
                    messages:
                      - domain_id must be a valid UUID
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Aucun domaine avec cet `id` n'existe pour votre organisation.
          content:
            application/json:
              examples:
                Not found:
                  summary: Not found
                  value:
                    code: RESOURCE_NOT_FOUND
                    messages:
                      - >-
                        Domain with id 8a2f4b1c-6d3e-4f7a-9b21-0c5d8e7f6a43 was
                        not found
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          type: string
          example: RESOURCE_NOT_FOUND
        messages:
          type: array
          items:
            type: string
  securitySchemes:
    public-api-key:
      type: apiKey
      in: header
      name: public-api-key
    private-secret-key:
      type: apiKey
      in: header
      name: private-secret-key

````

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