m2pfintech

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.

POST
/statement/txn-manager/fetchTransactions

Query Parameters

pageNumber?integer

Page number for pagination (0-based, default: 0)

Default0
pageSize?integer

Number of records per page (default: 999)

Default999
fromDate?string

Start date filter (yyyy-MM-dd)

Formatdate
toDate?string

End date filter (yyyy-MM-dd)

Formatdate
type?string

Transaction type filter

status?string

Transaction status filter

loanEligibility?boolean

Filter transactions eligible for loan conversion (default: false)

Defaultfalse
requestOrigin?string

Origin of the request

transactorEntityId?string

Transactor entity identifier (overrides entityId if provided)

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy support

Request Body

application/json

entity_id*string

Entity identifier of the customer (also accepted as entityId)

transactorEntityId?string

Transactor entity ID; overrides entity_id if present

type?string

Transaction type filter override

fromDate?string

Start date filter (yyyy-MM-dd)

Formatdate
toDate?string

End date filter (yyyy-MM-dd)

Formatdate

Response 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"
}