> ## 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 groupe de comptes

> Récupère un groupe de comptes précis à partir de son identifiant unique

Récupère un groupe de comptes précis à partir de son identifiant unique (UUID).

### Introuvable

Si aucun groupe de comptes ne correspond à l'id, l'API renvoie le HTTP `400` (et non `404`). Le `code` d'erreur dans le corps est `"404"` :

```json 400 theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "code": "404",
  "messages": ["Account group not found"]
}
```


## OpenAPI

````yaml openapi/fr/organizations/retrieve-account-group.json GET /organizations/account-groups/{account_group_id}
openapi: 3.1.0
info:
  title: Account Groups API - Retrieve
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /organizations/account-groups/{account_group_id}:
    get:
      summary: Retrieve Account Group
      description: Récupère un groupe de comptes précis par son UUID.
      operationId: retrieve-account-group
      parameters:
        - name: account_group_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID du groupe de comptes.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  merchant_id:
                    type: string
                  parent_code:
                    type:
                      - string
                      - 'null'
                    format: uuid
                    description: >-
                      Le `id` du groupe dans lequel ce groupe est imbriqué.
                      `null` pour un groupe racine (de premier niveau).
                  created_at:
                    type: string
                    format: date-time
                  updated_at:
                    type: string
                    format: date-time
        '400':
          description: >-
            Not found. Si aucun groupe de comptes ne correspond à l'identifiant,
            l'API renvoie un HTTP 400 avec `code` défini sur `"404"`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: '404'
                  messages:
                    type: array
                    items:
                      type: string
              example:
                code: '404'
                messages:
                  - Account group not found
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: PUBLIC-API-KEY
      x-default: <Your PUBLIC-API-KEY>
    sec1:
      type: apiKey
      in: header
      name: PRIVATE-SECRET-KEY
      x-default: <Your PRIVATE-SECRET-KEY>

````

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