End-Of-Day Statement
GET
/remittance-middleware/statement/end-of-day
The End-Of-Day Statement endpoint retrieves the end-of-day statement for a specified account, providing details of all transactions processed by the remittance middleware on the previous business day. A partner would call this endpoint to obtain a daily summary of payout transactions. The response includes the account number, currency, opening and closing balance dates and amounts, as well as a list of transaction details.
Query parameters
-
dateBusiness date, ISO-8601 calendar date.
-
page1-based page number.
-
pageSizeRows per page, 1-500.
-
currencyCodeAlias for 'currency', accepted for backward compatibility.
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
-
successIndicates whether the request was successful
-
dataContains the remittance statement data
-
accountNumberThe account number associated with the remittance statement
-
currencyThe currency of the remittance statement
-
openingBalanceDateThe date of the opening balance in the remittance statement
-
closingBalanceDateThe date of the closing balance in the remittance statement
-
openingBalanceAmountThe opening balance amount in the remittance statement
-
closingBalanceAmountThe closing balance amount in the remittance statement
-
detailsAn array of transaction details in the remittance statement
-
systemReferenceThe system reference of a transaction in the remittance statement
-
originalSystemReferenceThe original system reference of a transaction in the remittance statement
-
directionThe direction of a transaction in the remittance statement
-
transactionTypeThe type of a transaction in the remittance statement
-
amountThe amount of a transaction in the remittance statement
-
currencyThe currency of a transaction in the remittance statement
-
completedTimeThe time when a transaction was completed in the remittance statement
-
beneficiaryAccountNumberThe beneficiary account number of a transaction in the remittance statement
-
beneficiaryNameThe name of the beneficiary of a transaction in the remittance statement
-
beneficiaryBankNameThe name of the beneficiary bank.
-
beneficiaryBankSwiftCodeThe SWIFT code of the beneficiary bank.
-
beneficiaryPhoneNumberThe phone number of the beneficiary.
-
beneficiaryAddressThe address of the beneficiary.
-
beneficiaryCountryCodeThe country code of the beneficiary.
-
payerNameThe name of the payer.
-
payerAddressThe address of the payer.
-
payerPhoneNumberThe phone number of the payer.
-
payerEmailAddressThe email address of the payer.
-
payerCountryCodeThe country code of the payer.
-
payerCurrencyThe currency of the payer.
-
payerBankNameThe name of the payer bank.
-
remarkA remark or note associated with the transaction.
-
valueDateThe date of the transaction value.
-
-
currentPageThe current page number of the paginated response.
-
totalPagesThe total number of pages in the paginated response.
-
totalRecordsThe total number of records in the paginated response.
-
hasMoreA boolean indicating whether there are more records available.
-
netMovementAmountThe net amount that was paid out
-
balanceReconciledA boolean indicating whether the balance was reconciled successfully
-
-
error
-
codeThe error code returned
-
messageThe error message returned
-
Errors
| Status | Meaning |
|---|---|
| 400 | Malformed or out-of-bounds query parameters |
| 403 | Token is not bound to an IMTO partner |
| 404 | No ledger account for the partner or currency |