# Consumer_Account_Credit_Line_Increase

Endpoint to initiate a credit line increase (CLI) for a consumer account.
**Requirements:**
- Authentication is required; the sponsor/partner must provide valid credentials.
- `external_application_id`: The external application ID must be provided in the
request payload to identify the consumer account.
- `request_user_id`: The user ID in the Momnt system must be included in the request payload.
The user must be active and previously established.
- `cli_amount`: The requested credit line increase amount. Must be greater than the current credit limit
and less than or equal to the max approved amount.
- Only users with appropriate permissions (Admin, Salesmanager, or the original Salesrep who sent
the invitation) may initiate a CLI.
- The consumer application and account must be in good standing (not canceled, suspended, closed).
- The consumer account must have a zero balance (amount spent = 0).
- Only one CLI can be performed per account.
- On success, the consumer account's credit limit will be updated and the application status will
reflect the CLI request.

Endpoint: POST /api/v1/sponsor/consumers/accounts/credit-line-increase/
Version: 1.0.0 (sponsor_consumer_v1)
Security: basicAuth

## Security:

  - `basicAuth` (unknown)
    http basic

## Request fields (application/json):

  - `external_application_id` (string, required)

  - `request_user_id` (string, required)

  - `cli_amount` (string, required)

## Response 200:

  - `200` (unknown)
    Success response

## Response 200 fields (application/json):

  - `detail` (string, required)

## Response 400:

  - `400` (unknown)
    Bad Request - Invalid request data, ineligible application/account, or non-zero balance.

## Response 400 fields (application/json):

  - `detail` (string, required)

## Response 403:

  - `403` (unknown)
    Forbidden - User does not have permission to initiate CLI.

## Response 403 fields (application/json):

  - `detail` (string, required)

## Response 404:

  - `404` (unknown)
    Not Found - Consumer invitation not found.

## Response 404 fields (application/json):

  - `detail` (string, required)

## Response 503:

  - `503` (unknown)
    Service Unavailable

## Response 503 fields (application/json):

  - `detail` (string, required)

## Response 200 examples:

  - `Success` (unknown)

## Response 400 examples:

  - `Bad Request` (unknown)

  - `Ineligible Application` (unknown)

  - `Ineligible Account` (unknown)

  - `Non-zero Balance` (unknown)

  - `CLI Already Performed` (unknown)

  - `Invalid Amount` (unknown)

## Response 403 examples:

  - `Forbidden` (unknown)

## Response 404 examples:

  - `Not Found` (unknown)

## Response 503 examples:

  - `Service Unavailable` (unknown)

