# Get Installments Plan by ID

The **Get Installments Plan** API lets you retrieve detailed information about an existing installment plan. This includes the plan’s installment options, billing frequency, amount limits, and other relevant details.

Use this endpoint to fetch the current configuration of a specific installment plan.

**GET** `/installments-plans/{installment_code}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Get Installments Plan by ID

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Path parameters

- `installment_code` (string, required)
  Identifier of the installment plan.

## Responses

### 200

200

- `id` (string)
- `name` (string)
- `account_id` (string[])
- `merchant_reference` (string)
- `installments_plan` (object[])
  - `installment` (integer)
  - `rate` (integer)
  - `provider_id` (string)
  - `amount` (object)
    - `currency` (string)
    - `value` (string)
    - `total_value` (string)
- `iin` (any)
- `country_code` (string)
- `first_installment_deferral` (integer)
- `amount` (object)
  - `currency` (string)
  - `min_value` (integer)
  - `max_value` (integer)
- `availability` (object)
  - `start_at` (string)
  - `finish_at` (string)
- `created_at` (string)
- `updated_at` (string)
- `payment_method_type` ("CARD" | "NU_PAY_ENROLLMENT" | "APPLE_PAY")

Example:

```json
[
  {
    "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"
        }
      }
    ],
    "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"
  }
]
```

### 400

400

Example:

```json
{}
```