{
  "opencollection": "1.0.0",
  "info": {
    "name": "Interswitch Recharge Airtime Loans API",
    "version": "2024-01-01"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Loans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fund Loan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.interswitchng.com/lending-service/api/v1/loans/:loanId/fund",
            "params": [
              {
                "name": "loanId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Disburse accepted loan funds to the borrower."
        },
        {
          "info": {
            "name": "Debit Loan Repayment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.interswitchng.com/lending-service/api/v1/loans/:loanId/debit",
            "params": [
              {
                "name": "loanId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Debit Loan Repayment"
        },
        {
          "info": {
            "name": "Update Loan Status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.interswitchng.com/lending-service/api/v1/loans/:loanId/update",
            "params": [
              {
                "name": "loanId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Loan Status"
        }
      ]
    }
  ],
  "bundled": true
}