{
  "opencollection": "1.0.0",
  "info": {
    "name": "MTN Customer Loan API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets a loan advance.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/customers/:customerId/loans/advance",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "ID of the customer. It could be MSISDN, email address, or any other customer identifier"
              }
            ]
          },
          "docs": "Get a loan advance for an MTN customer."
        },
        {
          "info": {
            "name": "Gets loan advance status.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/customers/:customerId/loans/advance/status",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "ID of the customer. It could be MSISDN, email address, or any other customer identifier"
              }
            ]
          },
          "docs": "Get a loan advance status for an MTN customer."
        },
        {
          "info": {
            "name": "Retrieves the list of eligible loan.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/customers/:customerId/loans/eligibleBundle",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "ID of the customer. It could be MSISDN, email address, or any other customer identifier"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Specify the type of eligibility to check for. Returns all if none is specified."
              }
            ]
          },
          "docs": "Retrieves loan eligibility status of an MTN customer."
        }
      ]
    }
  ],
  "bundled": true
}