CSL Pay Developers

End-Of-Day Statement For A Virtual Account

GET /collection-middleware/statement/end-of-day

Returns ledger movements on the given virtual account for a single business day, with the opening and closing balance for that day. Consecutive days reconcile end to end: the closing balance of one day is exactly the opening balance of the next. The merchant is resolved from the bearer token's partnerCode claim and must own the account.

Query parameters

NameTypeDescription
accountNumberrequired string Virtual Account Number.
daterequired string Business date, ISO-8601 calendar date.
page integerint32 1-based page number.
pageSize integerint32 Rows per page, 1-500.

Response 200

FieldTypeDescription
success boolean
data object
accountNumber string
businessDate stringdate
currency string
openingBalanceDate stringdate-time
closingBalanceDate stringdate-time
openingBalanceAmount number
closingBalanceAmount number
details array<object>
systemReference string
originalSystemReference string
direction string
DEBITCREDIT
transactionType string
amount number
currency string
completedTime stringdate-time
beneficiaryAccountNumber string
beneficiaryName string
beneficiaryBankName string
beneficiaryBankSwiftCode string
payerName string
payerAccountNumber string
payerBankName string
payerBankSwiftCode string
payerAddress string
remark string
valueDate stringdate
currentPage integerint32
totalPages integerint32
totalRecords integerint64
hasMore boolean
netMovementAmount number
balanceReconciled boolean
error object
code string
message string

Errors

StatusMeaning
400 Malformed or out-of-bounds query parameters
403 Token is not bound to a merchant
404 No such virtual account for this merchant