m2pfintech

Upgrade Bank/Credit Limit

Upgrades the bank/credit limit for a given entity. Accepts entity ID and amount and delegates to CreditInfoService.setBankLimit. Returns Boolean indicating success.

POST
/credit-line-management/business-entity-manager/upgradeLimit

Header Parameters

TENANT*string

Tenant identifier for multi-tenant routing

Request Body

application/json

entityId*string

The entity ID whose limit is to be upgraded

amount*string

New credit limit amount

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.m2pfintech.com/credit-line-management/business-entity-manager/upgradeLimit" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "CUST20260617001",    "amount": "100000"  }'
{
  "result": true,
  "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
}