The Statement Inquiry API allows you to retrieve wallet transaction details, including both financial and non-financial transactions, within a specific date range. This is useful for generating account statements and transaction history.
algorithm: This must have the value as hmac-sha512 that is used for this API.
headers: This must have the value as date digest.
signature: This must contain the hmacsha512 of (signing_string, merchant_secret), where:
signing_string: It must be in the "date: {dateValue}"format. Here, the dateValue is the same values in the fields listed in this table For example, "date: Thu, 17 Feb 2022 08:17:59 GMT"
merchant_secret: The merchant Salt of the merchant. For more information on getting the merchant Salt, refer to Generate Merchant Key and Salt.
Request Parameters
Body Parameters
The request body contains both encrypted and decrypted parameters.
Encrypted
Parameter
Description
token mandatory
String AES-192-CBC encrypted request body containing all the decrypted parameters
Decrypted
Parameter
Description
Example
messageCode mandatory
Numeric(4) API identifier for statement inquiry
1072
clientTxnId mandatory
String(100) Unique identifier for this inquiry transaction
StatementReq2023
fromDate mandatory
String(10) Start date of the statement period (DD/MM/YYYY format)
01/07/2023
toDate mandatory
String(10) End date of the statement period (DD/MM/YYYY format)
31/07/2023
urn mandatory
Numeric(11) Unique wallet reference number
7000123456
Response Parameters
Parameter
Description
Example
responseCode
Response status code
00
messageCode
API response code
1073
clientTxnId
Echoes the request's clientTxnId
StatementReq2023
urn
Wallet reference number
7000123456
availableBalance
Current balance in the wallet
10000
openingBalance
Wallet balance at the beginning of the specified period
5000
closingBalance
Wallet balance at the end of the specified period
15000
statementDetails
Array of transaction details within the date range