API LibraryUnknown
Get Card List
Retrieves the list of cards associated with a customer, including card details such as status, type, expiry, and network type.
Header Parameters
TENANT*string
Tenant identifier for multi-tenant routing
Request Body
application/json
customerId*string
Customer/entity ID to retrieve cards for
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-line-management/business-entity-manager/getCardList" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "customerId": "CUST20260617001" }'{
"result": {
"aliasName": "PRIYA",
"name": "PRIYA SHARMA",
"entityId": "CUST20260617001",
"cardList": [
{
"kitNo": "180010188",
"cardType": "PHYSICAL",
"status": "ACTIVE",
"networkType": "VISA",
"expiryDate": "12/28"
}
]
},
"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
}Get Customer Account List POST
Retrieves the list of bank accounts associated with a customer by customerId.
Register Customer POST
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.
