API LibraryUnknown
Block or Unblock Credit Card
Blocks or unblocks a credit card for an entity. The flag field indicates block or unblock action, and reason describes the cause.
Header Parameters
TENANT*string
Tenant identifier for multi-tenant routing
Request Body
application/json
kitNo?string
Card kit number to block
entityId?string
Entity ID whose card is to be blocked
reason?string
Reason for blocking the card
flag?string
Flag indicating block or unblock action
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-line-management/business-entity-manager/block" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "CUST20260617001", "kitNo": "180010188", "reason": "Card lost — blocking for safety", "flag": "B" }'{
"result": "Card blocked successfully.",
"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
}Add Card POST
Adds a floater (additional) card — physical or virtual — to an existing credit account. Allocates an unallocated kit from CMS and updates card preferences.
Direct Repayment POST
Creates a direct repayment transaction from a bank or external source to a credit account. Processes the repayment and updates the credit balance.
