Direct Repayment
Creates a direct repayment transaction from a bank or external source to a credit account. Processes the repayment and updates the credit balance.
Header Parameters
Tenant identifier for multi-tenant routing
Request Body
application/json
Repayment amount
doubleBusiness entity ID associated with the repayment
Source entity ID making the repayment
Type of business for this repayment
Description or narration for the repayment
Target/destination entity ID receiving the repayment
Product ID associated with the credit account
Product ID of the source account
Origin of the transaction (e.g. BANK, API)
External/third-party transaction reference ID
Type of transaction (e.g. REPAYMENT)
Card kit number if repayment is card-specific
Date of the transaction
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.m2pfintech.com/credit-line-management/txn-manager/create" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "amount": 5000, "businessEntityId": "BIZ001", "fromEntityId": "BANK20260617001", "toEntityId": "CUST20260617001", "description": "Credit card bill repayment", "productId": "RETAIL_CREDIT", "transactionOrigin": "BANK", "externalTransactionId": "TXN20260622001", "transactionType": "REPAYMENT" }'{
"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
}Block or Unblock Credit Card POST
Blocks or unblocks a credit card for an entity. The flag field indicates block or unblock action, and reason describes the cause.
Create Dispute V2 POST
Creates a new dispute (v2) for a transaction. Supports configurable handling types (DEFAULT or SHADOW_CREDIT) and optionally blocks the card kit. Returns a dispute reference and card block status.
