Fetch block code details for an entity
Returns detailed block code information for a given entity, including block reason, inducer, reversibility flag, effective date, and feature flags for statement generation, card issuance, and card controls.
Header Parameters
Tenant identifier for multi-tenancy support
Request Body
application/json
Unique entity identifier of the customer
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/block-code/fetchDetailsByEntityId" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "string" }'{
"blockCode": "string",
"blockReason": "string",
"inducer": "SYSTEM",
"statementEnabled": true,
"issuanceEnabled": true,
"cardControlEnabled": true,
"txnTypesEnabled": "string",
"isReversible": true,
"effectiveFrom": "2019-08-24"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}Fetch entity details by entity ID POST
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.
Fetch entity details by search criteria POST
Fetches a paginated list of entity (customer/account) records matching the given search criteria and search type. Supports searching by entity ID or kit number (in credit-clms), or by a string criteria (in credit-customer-service). Returns full entity details including KIT info, credit details, block code info, and credit limits. The endpoint exists in both credit-clms (internal path) and credit-customer-service.
