m2pfintech

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.

POST
/statement/block-code/fetchDetailsByEntityId

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy support

Request Body

application/json

entityId*string

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"
}