API LibraryCredit Card
Fetch Credit Balance
Fetches the credit card balance (available limit, ledger balance) for a customer's account.
Header Parameters
TENANT*string
Tenant identifier for application identification. Provided by M2P during onboarding. Used in both UAT and production environments.
Request Body
application/json
TxnID?string
Unique transaction identifier
currency?string|null
Currency code
accountIdentification1*string
Unique account identifier
channelId*string
Channel identifier allocated by M2P
Response Body
application/json
curl -X POST "https://sandbox-upi-api.m2pfintech.com/credit-upi/user-entity/fetchCreditBalance" \ -H "TENANT: PARTNER_XYZ" \ -H "Content-Type: application/json" \ -d '{ "accountIdentification1": "1234561111647697862064", "channelId": "UTM" }'{
"result": {
"balanceResponse": {
"ledgerBalance": "string",
"availableBalance": "string",
"floatBalance": "string",
"flexiFDBalance": "string",
"otherBalance": "string",
"balanceCurrency": "string",
"fallbackTime": "string"
}
},
"exception": {},
"pagination": {}
}