Register Customer
Registers a new customer (individual or business entity) with credit info, KYC, kit info, address, communication, bank, and nominee details. Returns kit number, entity ID, and customer name fields.
Header Parameters
Tenant identifier
Request Body
application/json
Unique entity identifier
"CUSTOMER" | "CORPORATE" | "DEPENDENT" | "BUSINESS"Customer identifier
System of record customer ID
Business name or identifier
Type of business
Business identifier
Parent entity ID for dependent customers
"MR" | "MRS" | "MS" | "DR" | "PROF"Customer first name
Customer middle name
Customer last name
"MALE" | "FEMALE" | "OTHER"Flag for NRI customer
Flag for minor customer
Flag for dependent customer
Override bulk shipping program flag
Plastic code for card customization
"SINGLE" | "MARRIED" | "DIVORCED" | "WIDOWED""AGRICULTURE" | "BANKING" | "EDUCATION" | "GOVERNMENT" | "HEALTHCARE" | "IT" | "MANUFACTURING" | "RETAIL" | "OTHERS""SALARIED" | "SELF_EMPLOYED" | "BUSINESS" | "RETIRED" | "STUDENT" | "UNEMPLOYED"Kit/card info list
Address list
Communication info list
KYC info list
Date info list
Bank account info list
Nominee details list
External entity identifier
Employee ID
Name to be embossed on card
length <= 21Father's name
length <= 100Mother's name
length <= 100Spouse's name
length <= 100Customer nationality
length <= 50"ACTIVE" | "INACTIVE" | "BLOCKED" | "CLOSED" | "SUSPENDED"Secret questions and answers
Additional metadata key-value pairs
Unique customer identification code
Flag to identify corporate customer
Customer's preferred language
Flag for physical PIN requirement
Flag to indicate staff member
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-customer/register/customer" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "CUST20260617001", "entityType": "CUSTOMER", "parentEntityId": "PROG001", "title": "MS", "firstName": "Priya", "lastName": "Sharma", "gender": "FEMALE", "maritalStatus": "SINGLE", "employmentType": "SALARIED", "creditInfo": { "cardCategory": "INDIVIDUAL", "cardLimit": 150000, "cashLimit": 30000, "statementDate": 15, "statementDueDate": 5, "creditStatus": "ACTIVE" }, "kitInfo": [ { "cardType": "VIRTUAL", "cardRegStatus": "ACTIVE", "aliasName": "PRIYA SHARMA", "deliveryType": "STANDARD" } ], "addressInfo": [ { "address1": "42 MG Road", "address2": "Apt 3B", "city": "Bangalore", "state": "Karnataka", "country": "India", "pinCode": "560001", "addressCategory": "HOME" } ], "communicationInfo": [ { "contactNo": "9876543210", "emailId": "priya.sharma@example.com", "mobileCountryCode": "+91" } ], "kycInfo": [ { "kycRefNo": "KYC20260617001", "documentType": "AADHAAR", "documentNo": "XXXX-XXXX-1234" } ], "dateInfo": [ { "dateType": "DOB", "date": "1990-01-15" } ] }'{
"result": {
"kitNo": "180010188",
"entityId": "CUST20260617001",
"status": "ACTIVE",
"firstName": "Priya",
"lastName": "Sharma"
},
"exception": null,
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "ERR_400",
"shortMessage": "Bad Request",
"detailMessage": "Validation error — check field values and enum constraints."
},
"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
}Get Card List POST
Retrieves the list of cards associated with a customer, including card details such as status, type, expiry, and network type.
Replace Card POST
Initiates a card replacement request, optionally with a new kit, network type, and delivery address. Returns the replacement reference string.
