SetCollectionDetailsCommand
Overview​
Configures the repayment collection details for a loan — the debit account, repayment schedule, and auto-debit preference. Each call replaces the previous schedule entirely.
For full details see the developer reference.
Request​
{
"cmd": "SetCollectionDetailsCommand",
"data": "{\"loanRequestId\":110,\"repaymentDayInMonth\":15,\"repaymentCount\":12,\"collectionStartDate\":\"2025-09-15\",\"accountNumber\":\"0123456789\",\"accountName\":\"John Doe\",\"bankCode\":\"000013\",\"collectionMode\":1,\"enableAutoDebit\":true}"
}
Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
loanRequestId | long | Yes | Loan quote ID (LoanQuote.Id) |
repaymentDayInMonth | int | Yes | Day of month for debit (1–31) |
repaymentCount | int | Yes | Total installment count (≥ 1) |
collectionStartDate | string | Yes | First installment date (ISO 8601) |
accountNumber | string | Yes | Account to debit |
accountName | string | Yes | Account holder name |
bankCode | string | Yes | NIBSS or internal bank code |
collectionMode | int | Yes | 0 = GSI, 1 = Direct Debit |
enableAutoDebit | bool | No | Enable automated debit (default: false) |
comment | string | No | Officer comment |