> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcarbon.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bank Statement Status

> Retrieve the status of the most recent bank statement request for a loan application.

## Overview

Returns the status of the most recent bank statement request. Poll this after `POST /v1/loans/:applicationId/bank-statement` until the status is `COMPLETED`.

### Request

**Method:** `GET`\
**URL:** `/v1/loans/:applicationId/bank-statement/status`

#### Parameters

| Name            | In     | Type     | Required | Description                 |
| --------------- | ------ | -------- | -------- | --------------------------- |
| `x-carbon-key`  | Header | `string` | Yes      | API key for authentication. |
| `applicationId` | Path   | `string` | Yes      | Application ID.             |

### Response

#### 200 OK

```json theme={null}
{
  "status": "success",
  "message": "Bank statement status retrieved",
  "data": {
    "requestId": "stmt_abc123",
    "status": "COMPLETED"
  }
}
```

#### Error Responses

| Status | Message                      | Cause                          |
| ------ | ---------------------------- | ------------------------------ |
| 400    | `Application not found`      | Invalid `applicationId`        |
| 422    | `Application has no loan ID` | Application not yet registered |
