m2pfintech

Fetch entity details by entity ID

Fetches entity (customer/account) details by the specified entity ID. NOTE: This specific endpoint path was not found in the available source code of credit-clms, credit-customer-service, or credit-service. A similar endpoint exists at /block-code/fetchByEntityId in credit-service but serves block code data, not entity data.

POST
/Yappay/business-entity-manager/fetchbyentityid

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy routing

Request Body

application/json

entityId*string

The entity (account) ID to fetch details for

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://uat-m2p-ccms.m2pfintech.com/Yappay/business-entity-manager/fetchbyentityid" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "CUST123456"  }'
{
  "status": 200,
  "result": {},
  "message": "Success"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}