m2pfintech

Fetch statement transactions for an entity

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.

POST
/statement/customer/fetchStatementTxns

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); overridden by body field if present

Formatdate
toDate?string

End date filter (yyyy-MM-dd); overridden by body field if present

Formatdate

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy support

Request Body

application/json

entityId*string

Entity identifier; also accepted as entity_id

stmtMonth*string

Statement month in MMYYYY format; also accepted as stmt_month

fromDate?string

Start date filter (yyyy-MM-dd)

Formatdate
toDate?string

End date filter (yyyy-MM-dd)

Formatdate
pageNumber?integer

Page number for pagination (0-based)

pageSize?integer

Number of records per page

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/customer/fetchStatementTxns" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "string",    "stmtMonth": "string"  }'
[
  {
    "transactionDate": "string",
    "amount": "string",
    "crDr": "string",
    "txnCategory": "string",
    "extTxnId": "string",
    "merchantName": "string",
    "billedStatus": "string",
    "kitNo": "string",
    "description": "string",
    "txId": "string"
  }
]
{
  "code": "string",
  "message": "string",
  "details": "string"
}
{
  "code": "string",
  "message": "string",
  "details": "string"
}
{
  "code": "string",
  "message": "string",
  "details": "string"
}