API LibraryUnknown
Fetch Credit Limit
Fetches the current credit limit details for an entity, including actual, available, utilized, cash limit, and parent limit info.
Header Parameters
TENANT*string
Tenant identifier for multi-tenant routing
Request Body
application/json
entityId*string
The entity ID to fetch credit limit for
showParentLimit?boolean
If true, include parent entity limit info in the response
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-line-management/business-entity-manager/fetchLimit" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "CUST20260617001", "showParentLimit": false }'{
"result": {
"limitActual": "150000",
"limitAvailable": "125000",
"limitUtilized": "25000",
"cashLimit": "30000",
"creditBalance": "125000",
"cashLimitAvailable": "28000",
"cashLimitUtilized": "2000",
"skipBalanceCheck": false,
"totalChildCreditLimit": "0",
"limitConfigType": "INDIVIDUAL"
},
"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
}Fetch Entities POST
Fetches a paginated list of entities matching a search criteria and type. Returns detailed customer/entity information including addresses, kit info, credit data, and block codes.
Fetch Preferences POST
Fetches the current transaction channel preferences and limit configurations for an entity or card.
