Fetch transactions for an entity between two dates
Retrieves a paginated list of transactions for a given entityId between the specified fromDate and toDate. Returns each transaction along with the wallet balance snapshot at that point. The controller is in credit-service (TransactionController, base path: txn-manager).
Path Parameters
The entity (account) ID for which transactions are fetched
Query Parameters
Start date in yyyy-MM-dd format
dateEnd date in yyyy-MM-dd format
dateZero-based page index (default: 0)
00 <= valueNumber of records per page (default: 20)
201 <= valueHeader Parameters
Tenant identifier for multi-tenancy routing
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://uat-m2p-ccms.m2pfintech.com/Yappay/txn-manager/fetchTnxByEntityIdBetween/string?fromDate=2024-01-01&toDate=2024-01-31" \ -H "TENANT: string"{
"result": [
{
"txnId": "string",
"entityId": "string",
"transactionDate": "2019-08-24T14:15:22Z",
"amount": 0.1,
"currency": "INR",
"transactionType": "string",
"description": "string",
"balanceAfterTransaction": 0.1,
"referenceNo": "string",
"status": "string"
}
],
"exception": {
"code": "string",
"message": "string",
"details": "string"
},
"pagination": {
"pageNo": 0,
"pageSize": 20,
"totalPages": 5,
"totalElements": 100,
"isList": true
}
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}Fetch transactions for an entity POST
Retrieves a paginated list of transactions for a given entity. Supports filtering by date range, transaction type, authorization status, and loan eligibility. The entityId and filters can be passed in the request body map or via query parameters.
Fetch a transaction by its transaction ID GET
Retrieves a single transaction record identified by the given txnId path parameter. NOTE: This endpoint path was not found in the available source code of credit-clms, credit-customer-service, or credit-service. It may exist in a service not present in this codebase snapshot.
