m2pfintech

Get eligible transactions for loan conversion

Retrieves transactions that are eligible to be converted into a loan for the given entity. Optionally filters based on the request origin channel.

POST
/loan/eligibility/transactions

Header Parameters

TENANT*string

Tenant identifier for the request.

Request Body

application/json

entityId*string

The entity (customer) identifier.

requestOrigin?string

Channel or origin from which the request is made.

Value in"DEFAULT" | "APP" | "PORTAL" | "BALANCE_TRANSFER"

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://uat-m2p-ccms.m2pfintech.com/loan/eligibility/transactions" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "string"  }'
[
  {
    "amount": 0,
    "txnAmount": 0,
    "merchantName": "string",
    "extTxnId": "string",
    "description": "string",
    "transactionDate": "2019-08-24",
    "singleEmi": {
      "tenure": "string",
      "interestRate": 0,
      "emiAmount": 0,
      "totalPayableAmount": 0,
      "processingFee": 0,
      "processingFeeTax": 0
    },
    "groupEmi": [
      {
        "tenure": "string",
        "interestRate": 0,
        "emiAmount": 0,
        "totalPayableAmount": 0,
        "processingFee": 0,
        "processingFeeTax": 0
      }
    ]
  }
]
{
  "code": "string",
  "message": "string",
  "details": "string",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "code": "string",
  "message": "string",
  "details": "string",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "code": "string",
  "message": "string",
  "details": "string",
  "timestamp": "2019-08-24T14:15:22Z"
}