---
title: "Get Credit Line Range – Retrieves the eligible credit line range for an account based on income and expense information."
method: GET
path: "/programs/{programCode}/accounts/{accountIdentifier}/creditLinesRange"
tags: ["Users"]
---

# Get Credit Line Range – Retrieves the eligible credit line range for an account based on income and expense information.

`GET /programs/{programCode}/accounts/{accountIdentifier}/creditLinesRange`

Retrieves the eligible credit line range for the specified account based on provided income and expense information. Returns the calculated range or an error if the input is invalid.

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required

## Query parameters

- `income` number, double
- `incomeFrequency` string
- `expense` number, double
- `expenseFrequency` string

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetCreditLineRangeResponse — Represents the response returned after retrieving the eligible credit line range for an account. Inherits standard response metadata and details from Gd.Bos.DataTransfer.Response.ResponseBase. Contains the minimum and maximum credit line amounts, as well as the income and expense data used in the calculation. Used to communicate the calculated credit line range and the financial context for the account.
  - `minCreditLine` integer, nullable — The minimum eligible credit line amount for the account.
  - `maxCreditLine` integer, nullable — The maximum eligible credit line amount for the account.
  - `income` number, double, nullable — The user's monthly income amount used in the credit line calculation.
  - `incomeFrequency` string, nullable — The frequency of the income (e.g., "monthly", "weekly") used in the calculation.
  - `expense` number, double, nullable — The user's monthly expense amount used in the credit line calculation.
  - `expenseFrequency` string, nullable — The frequency of the expense (e.g., "monthly", "weekly") used in the calculation.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
