Fetch transactions for an entity
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.
Query Parameters
Page number for pagination (0-based, default: 0)
0Number of records per page (default: 999)
999Start date filter (yyyy-MM-dd)
dateEnd date filter (yyyy-MM-dd)
dateTransaction type filter
Transaction status filter
Filter transactions eligible for loan conversion (default: false)
falseOrigin of the request
Transactor entity identifier (overrides entityId if provided)
Header Parameters
Tenant identifier for multi-tenancy support
Request Body
application/json
Entity identifier of the customer (also accepted as entityId)
Transactor entity ID; overrides entity_id if present
Transaction type filter override
Start date filter (yyyy-MM-dd)
dateEnd date filter (yyyy-MM-dd)
dateResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/txn-manager/fetchTransactions" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entity_id": "string" }'[
{
"transactionDate": "string",
"amount": "string",
"crDr": "string",
"txnCategory": "string",
"extTxnId": "string",
"merchantId": "string",
"merchantName": "string",
"rrn": "string",
"mcc": "string",
"billedStatus": "string",
"authorizationStatus": "string",
"kitNo": "string",
"txnOrigin": "string",
"txnCurrencyCode": "string",
"txnSubCategory": "string",
"description": "string",
"txId": "string",
"disputeRef": "string",
"disputeType": "string",
"disputeStatus": "string",
"foreignCurrencyAmount": "string",
"childTxnExists": true
}
]{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}Fetch statement transactions for an entity POST
Retrieves paginated transactions belonging to a specific statement cycle for a given entity. Supports date range filtering via both request body and query parameters. Query parameter values take precedence if body date fields are absent.
Fetch transactions for an entity between two dates GET
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).
