Apply a block code to an entity
Applies a specific block code to a customer's credit account, restricting certain operations. Requires specifying the entity, block code type, reason, and the inducer (who is applying the block).
Header Parameters
Tenant identifier for multi-tenancy support
Request Body
application/json
Unique entity identifier of the customer
Human-readable reason for applying the block code
Who is inducing the block
"SYSTEM" | "USER" | "PARTNER"Block code to apply to the account
"BLHRSK" | "BLCSDA" | "BLCSDK" | "BLDECD" | "BLSFRD" | "BLONFR" | "BLOFFR" | "BLSTTL" | "BLWROF" | "BLTEMP" | "BLKYCE" | "BLNPAS" | "BLPLCY" | "BLDBK1" | "BLDBK2" | "BLDBK3" | "BLDBK4" | "BLDBK5" | "BLDBK6" | "BLDBK7" | "BLRES1" | "BLRES2" | "BLRES3" | "BLRES4" | "BLCNPA" | "BLNTRC" | "BLRTO" | "BLCOLL" | "BLSTL" | "BLANV" | "BLAE" | "BLACC" | "BLENPAS" | "BLAFR" | "BLTWROF" | "BLSTMT" | "BLPDECD" | "BLCSDAP" | "BLVCTM" | "BLACSD" | "BLKNPAREC" | "BLASST"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/block-code/setBlockCode" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "string", "reason": "string", "inducer": "SYSTEM", "blockCode": "BLHRSK" }'{
"result": true,
"exception": {}
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}Preview pre-closure of a loan POST
Calculates and returns a preview of all amounts required to pre-close a loan, including principal outstanding, accrued interest, fees, taxes, and total payable amount.
Set card transaction preferences for an entity or kit POST
Configures transaction channel preferences (ATM, ECOM, POS, contactless, international, DCC), credit/cash limits, currency settings, and detailed rule configurations for an entity or a specific kit. Can also set per-transaction-type daily/weekly/monthly/quarterly/yearly limits. The controller is in credit-clms (CardConfigController).
