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

# Obtenir un plan de paiements échelonnés par ID

> Récupère les détails de configuration d'un plan de paiements échelonnés spécifique à partir de son code

L'API **Get Installments Plan** vous permet de récupérer des informations détaillées sur un plan de paiements échelonnés existant. Cela comprend les options d’échéances du plan, la fréquence de facturation, les limites de montant et d'autres détails pertinents.

Utilisez cet endpoint pour obtenir la configuration actuelle d'un plan de paiements échelonnés spécifique.


## OpenAPI

````yaml openapi/fr/installments/get-installments-plan.json GET /installments-plans/{installment_code}
openapi: 3.1.0
info:
  title: installments
  version: 1.0.2
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /installments-plans/{installment_code}:
    get:
      summary: Obtenir un plan de paiements échelonnés par ID
      operationId: get-installments-plan
      parameters:
        - name: installment_code
          in: path
          description: Identifiant du plan de paiements échelonnés.
          schema:
            type: string
          required: true
      responses:
        '200':
          description: >-
            Aujourd'hui, la réponse renvoie `amount.Currency` avec un C
            majuscule, et non `amount.currency`. Lisez la clé sans tenir compte
            de la casse.
          content:
            application/json:
              examples:
                Result:
                  value:
                    id: 4d573425-33f9-4c46-b009-2c7e749b0ec7
                    name: plan_007
                    account_id:
                      - f7c5fe77-721b-49c2-84d3-957748df3c2c
                    merchant_reference: Test
                    installments_plan:
                      - installment: 1
                        rate: 1
                        provider_id: ''
                        amount:
                          currency: USD
                          value: '0'
                          total_value: '0'
                      - installment: 3
                        rate: 1
                        provider_id: ''
                        financial_costs:
                          - type: CFT
                            rate: 45.25
                            formatted_value: 45,25%
                          - type: TEA
                            rate: 38.5
                            formatted_value: 38,50%
                        amount:
                          currency: USD
                          value: '0'
                          total_value: '0'
                      - installment: 6
                        rate: 1
                        provider_id: ''
                        amount:
                          currency: USD
                          value: '0'
                          total_value: '0'
                      - installment: 9
                        rate: 1
                        provider_id: ''
                        amount:
                          currency: USD
                          value: '0'
                          total_value: '0'
                      - installment: 12
                        rate: 1
                        provider_id: ''
                        amount:
                          currency: USD
                          value: '0'
                          total_value: '0'
                    source: ''
                    scheme: ''
                    brand:
                      - VISA
                    issuer: ''
                    issuer_id: ''
                    iin: null
                    country_code: US
                    first_installment_deferral: 0
                    amount:
                      currency: USD
                      min_value: 0
                      max_value: 100000000
                    availability:
                      start_at: '2023-09-12T00:00:00Z'
                      finish_at: '2030-09-20T00:00:00Z'
                    created_at: '2023-10-11T17:52:31.886178Z'
                    updated_at: '2023-10-11T17:52:31.886178Z'
                    payment_method_type: NU_PAY_ENROLLMENT
                    provider_id: ''
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: 4d573425-33f9-4c46-b009-2c7e749b0ec7
                  name:
                    type: string
                    example: plan_007
                  account_id:
                    type: array
                    items:
                      type: string
                      example: f7c5fe77-721b-49c2-84d3-957748df3c2c
                  merchant_reference:
                    type: string
                    example: Test
                  installments_plan:
                    type: array
                    items:
                      type: object
                      properties:
                        installment:
                          type: integer
                          example: 1
                          default: 0
                        rate:
                          type: number
                          example: 1
                          default: 0
                        provider_id:
                          type: string
                          example: ''
                        amount:
                          type: object
                          properties:
                            currency:
                              type: string
                              example: USD
                            value:
                              type: string
                              example: '0'
                            total_value:
                              type: string
                              example: '0'
                  source:
                    type: string
                    example: ''
                  scheme:
                    type: string
                    example: ''
                  brand:
                    type: array
                    items:
                      type: string
                      example: VISA
                  issuer:
                    type: string
                    example: ''
                  issuer_id:
                    type: string
                    example: ''
                  iin: {}
                  country_code:
                    type: string
                    example: US
                  first_installment_deferral:
                    type: integer
                    example: 0
                    default: 0
                  amount:
                    type: object
                    properties:
                      currency:
                        type: string
                        example: USD
                      min_value:
                        type: integer
                        example: 0
                        default: 0
                      max_value:
                        type: integer
                        example: 100000000
                        default: 0
                  availability:
                    type: object
                    properties:
                      start_at:
                        type: string
                        example: '2023-09-12T00:00:00Z'
                      finish_at:
                        type: string
                        example: '2030-09-20T00:00:00Z'
                  created_at:
                    type: string
                    example: '2023-10-11T17:52:31.886178Z'
                  updated_at:
                    type: string
                    example: '2023-10-11T17:52:31.886178Z'
                  payment_method_type:
                    type: string
                    enum:
                      - CARD
                      - NU_PAY_ENROLLMENT
                      - APPLE_PAY
                    example: NU_PAY_ENROLLMENT
                  provider_id:
                    type: string
                    example: ''
                    description: Identifiant du prestataire.
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
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.