Skip to main content

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

NameInTypeRequiredDescription
x-carbon-keyHeaderstringYesAPI key for authentication.
applicationIdPathstringYesApplication ID.

Response

200 OK

{
  "status": "success",
  "message": "Bank statement status retrieved",
  "data": {
    "requestId": "stmt_abc123",
    "status": "COMPLETED"
  }
}

Error Responses

StatusMessageCause
400Application not foundInvalid applicationId
422Application has no loan IDApplication not yet registered