Purchase accounts and balances
Get purchase accounts and balances
POST /selling/api/loans/purchase/accounts-balances
Get the purchase accounts and their balances for loans matching the given purchase parameters. Returns all accounts that would be used, useful when purchases span multiple accounts.
Request body
{
"date": "2026-08-05",
"loanType": 1,
"issuingBank": "CRB",
"mplId": "ABC",
"investorId": "Investor Name"
}
Field | Type | Required | Description |
|---|---|---|---|
date | String | Yes | Purchase date in YYYY-MM-DD format. Must be a fed day. |
loanType | Integer | Yes | Loan type: 1 = HFS, 2 = LTHFS |
issuingBank | String | Yes | Issuing bank identifier |
mplId | String | Yes | MPL identifier |
investorId | String | No | Investor identifier (optional) |
Response
200 OK - Returns an array of account objects with balances
[
{
"accountNumber": "1234567890",
"balance": 2500000.00
},
{
"accountNumber": "0987654321",
"balance": 1750000.00
}
]
Example request
POST /selling/api/loans/purchase/accounts-balances
Content-Type: application/json
{
"date": "2026-08-05",
"loanType": 1,
"issuingBank": "CRB",
"mplId": "ABC"
}
Use cases
- Multi-account monitoring: View all accounts involved in a purchase
- Balance distribution: See how funds are spread across accounts
- Pre-purchase verification: Confirm total available funds across all accounts