---
title: "Update Credit Line Source – Updates the source information for a credit line on an account."
method: PUT
path: "/programs/{programCode}/accounts/{accountIdentifier}/creditLinesSource"
tags: ["Users"]
---

# Update Credit Line Source – Updates the source information for a credit line on an account.

`PUT /programs/{programCode}/accounts/{accountIdentifier}/creditLinesSource`

Updates the source information for a credit line on the specified account. Returns the result of the update operation.

## Path parameters

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

## Headers

- `X-GD-RequestId` string, required

## Request body

- UpdateCreditLineSourceRequest — Represents a request to update the income and expense sources for an account's credit line evaluation. Contains the account identifier, income and expense amounts, and their respective frequencies. Used in the Update Credit Line Source API to provide or update financial data that determines the eligible credit line for an account. Inherits standard request metadata from Gd.Bos.DataTransfer.Request.RequestBase.
  - `income` number, double — The user's income amount to be used in credit line evaluation. Must be non-negative.
  - `incomeFrequency` string, nullable — The frequency of the income (e.g., "monthly", "weekly").
  - `expense` number, double — The user's expense amount to be used in credit line evaluation. Must be non-negative.
  - `expenseFrequency` string, nullable — The frequency of the expense (e.g., "monthly", "weekly").

## Response `200`

OK

- UpdateCreditLineSourceResponse — Represents the response returned after updating the income and expense sources for an account's credit line evaluation. Inherits standard response metadata and details from Gd.Bos.DataTransfer.Response.ResponseBase. Contains the minimum and maximum eligible credit line amounts recalculated based on the updated financial data. Used to communicate the new credit line range available to the account after updating income and expense information.
  - `minCreditLine` integer, nullable — The minimum eligible credit line amount for the account after the update.
  - `maxCreditLine` integer, nullable — The maximum eligible credit line amount for the account after the update.
  - `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)
