m2pfintech

Fetch retail transactions for an entity

Retrieves a paginated list of retail transactions for a given entity with optional filters for date range, amount range, MCC category, transaction category, billed status, and transaction type.

POST
/statement/txn-manager/fetchRetailTransactions

Query Parameters

pageNumber?integer

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

Default0
pageSize?integer

Number of records per page (default: 20)

Default20
fromDate?string

Start date filter (yyyy-MM-dd)

Formatdate
toDate?string

End date filter (yyyy-MM-dd)

Formatdate
mccCategory?string

Filter by MCC category code

txnCategory?string

Filter by transaction category

minAmount?number

Minimum transaction amount filter

maxAmount?number

Maximum transaction amount filter

type?string

Filter by transaction type

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy support

Request Body

application/json

entityId*string

Unique entity identifier of the customer

billedStatus?string

Filter by billing status of transactions (e.g., BILLED, UNBILLED)

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/txn-manager/fetchRetailTransactions" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "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"
}