Fetch Transactions By Entity ID Between Dates
Fetches paginated transactions for a given entity ID between specified date ranges. Returns a list of TransactionBalanceDto objects containing transaction details and wallet balance snapshot.
Path Parameters
Entity ID passed as path variable
Query Parameters
Start date for the transaction range (format: yyyy-MM-dd)
^\d{4}-\d{2}-\d{2}$End date for the transaction range (format: yyyy-MM-dd)
^\d{4}-\d{2}-\d{2}$Page number for pagination, defaults to 0
0Page size for pagination, defaults to 20
20Header Parameters
Tenant identifier
Content type of the request
"application/json"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.m2pfintech.com/statement/txn-manager/fetchTnxByEntityIdBetween/string?fromDate=string&toDate=string" \ -H "TENANT: string" \ -H "Content-Type: application/json"{
"result": [
{
"transaction": {
"amount": 2500,
"balance": 147500,
"transactionType": "DEBIT",
"time": "2026-06-20T14:30:00Z",
"description": "Swiggy Order",
"txRef": 10001234,
"txnOrigin": "ECOM",
"transactionStatus": "SUCCESS",
"kitNo": "180010188"
},
"balance": {
"entityId": "CUST20260617001",
"balance": "147500.00",
"currencyCode": "INR"
}
}
],
"exception": null,
"pagination": {
"pageNo": 0,
"pageSize": 20,
"totalElements": 1,
"totalPages": 1
}
}{
"result": null,
"exception": {
"errorCode": "ERR_400",
"shortMessage": "Bad Request",
"detailMessage": "Invalid or missing required fields in the request payload."
},
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_401",
"shortMessage": "Unauthorized",
"detailMessage": "Missing or invalid TENANT header."
},
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_500",
"shortMessage": "Internal Server Error",
"detailMessage": "An unexpected error occurred. Please try again later."
},
"pagination": null
}Fetch Statement Data POST
Fetches detailed statement data for a customer for a given statement month or statement ID. Returns the full statement including transaction list, customer mapping details, loan details (if requested), and total outstanding amounts.
Get Customer Account List POST
Retrieves the list of bank accounts associated with a customer by customerId.
