FetchStatementCommand
Overview
Initiates automated bank statement retrieval via banking integration (Open Banking/ICAD).
Status: 📝 Documentation in progress
Command Structure
{
"cmd": "FetchStatementCommand",
"data": "{\"loanQuoteId\":110,\"accountNumber\":\"1234567890\",\"bankCode\":\"044\"}"
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
loanQuoteId | long | Yes | Loan application ID |
accountNumber | string | Yes | Customer's account number |
bankCode | string | Yes | Nigerian bank code (e.g., 044=Access) |
Process
- Connects to bank API/ICAD
- Retrieves 6-month statement
- Analyzes salary patterns
- Creates statement record
- Calculates loan affordability
Bank Codes
- 044 = Access Bank
- 058 = GTBank
- 011 = First Bank
- 057 = Zenith Bank
Related Commands
- CreateStatementCommand - Manual entry
- RetrieveICADAccountsQuery