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

# Obtener plan de cuotas por ID

> Obtiene los detalles de configuración de un plan de cuotas específico mediante su código

La API **Get Installments Plan** te permite obtener información detallada sobre un plan de cuotas existente. Esto incluye las opciones de cuotas del plan, la frecuencia de facturación, los límites de monto y otros detalles relevantes.

Usa este endpoint para obtener la configuración actual de un plan de cuotas específico.


## OpenAPI

````yaml openapi/es/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: Obtener plan de cuotas por ID
      operationId: get-installments-plan
      parameters:
        - name: installment_code
          in: path
          description: Identificador del plan de cuotas.
          schema:
            type: string
          required: true
      responses:
        '200':
          description: >-
            Hoy la respuesta devuelve `amount.Currency` con C mayúscula, no
            `amount.currency`. Lee la clave sin distinguir mayúsculas de
            minúsculas.
          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: ID del proveedor.
        '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.