Fetch statement as Base64 encoded string
Retrieves the PDF statement for a given entity and statement month and returns it as a Base64-encoded string. Supports optional encryption of the PDF.
Header Parameters
Tenant identifier for multi-tenancy support
Request Body
application/json
Entity identifier; also accepted as entity_id
Statement month in MMYYYY format; also accepted as stmt_month
Whether the returned PDF should be encrypted (default: true)
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/customer/fetchBase64Statement" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "string", "stmtMonth": "string" }'{
"result": "string",
"exception": {}
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}Fetch entity details by search criteria POST
Fetches a paginated list of entity (customer/account) records matching the given search criteria and search type. Supports searching by entity ID or kit number (in credit-clms), or by a string criteria (in credit-customer-service). Returns full entity details including KIT info, credit details, block code info, and credit limits. The endpoint exists in both credit-clms (internal path) and credit-customer-service.
Fetch retail transactions for an entity POST
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.
