API LibraryUnknown
Fetch Customer Details
Fetches customer details by entityId including personal info, contact, address, and bank account details.
Header Parameters
TENANT*string
Tenant identifier
Request Body
application/json
entityId*string
Entity ID of the customer to fetch
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-customer/account-manager/fetchDetails" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "CUST20260617001" }'{
"result": {
"entityId": "CUST20260617001",
"firstName": "Priya",
"lastName": "Sharma",
"gender": "FEMALE",
"contactNo": "9876543210",
"email": "priya.sharma@example.com",
"address": "42 MG Road",
"address2": "Apt 3B",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"pincode": "560001",
"kitNo": "180010188",
"preferredLanguage": "EN"
},
"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
}Create Dispute V2 POST
Creates a new dispute (v2) for a transaction. Supports configurable handling types (DEFAULT or SHADOW_CREDIT) and optionally blocks the card kit. Returns a dispute reference and card block status.
Fetch Due Amounts POST
Fetches the current due amounts for a customer entity including minimum due, total due, unbilled amount, interest accumulated, total outstanding, EMI details, and fee details.
