API LibraryUnknown
Get Customer Account List
Retrieves the list of bank accounts associated with a customer by customerId.
Header Parameters
TENANT*string
Tenant identifier
Request Body
application/json
customerId*string
Customer ID to fetch account list for
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-customer/business-entity-manager/getAccountList" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "customerId": "CUST20260617001" }'{
"result": {
"customerId": "CUST20260617001",
"bankDetails": [
{
"accountNo": "XXXX0042",
"accountType": "SAVINGS",
"accountsCurrency": "INR",
"accountStatus": "ACTIVE",
"defaultAccount": true,
"ifscCode": "ICIC0000001",
"accountPurpose": "REPAYMENT"
}
]
},
"exception": null,
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_400",
"shortMessage": "Bad Request",
"detailMessage": "Invalid or missing required fields in the request payload."
},
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_401",
"shortMessage": "Unauthorized",
"detailMessage": "Missing or invalid TENANT header."
},
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_500",
"shortMessage": "Internal Server Error",
"detailMessage": "An unexpected error occurred. Please try again later."
},
"pagination": null
}Fetch Transactions By Entity ID Between Dates GET
Fetches paginated transactions for a given entity ID between specified date ranges. Returns a list of TransactionBalanceDto objects containing transaction details and wallet balance snapshot.
Get Card List POST
Retrieves the list of cards associated with a customer, including card details such as status, type, expiry, and network type.
