{
  "opencollection": "1.0.0",
  "info": {
    "name": "GoodLeap Developer Authorization & Elevation Management Case (loan stipulations) Management API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Case (loan stipulations) Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodleap.com/posfinancing/rest/v2/loans/:id/cases",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a collection of cases."
        },
        {
          "info": {
            "name": "Case Upload URL",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodleap.com/posfinancing/rest/v2/loans/:id/cases/:caseId/uploadurl",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "caseId",
                "value": "",
                "type": "path"
              },
              {
                "name": "mimeType",
                "value": "",
                "type": "query"
              },
              {
                "name": "docType",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a single-use, signed URL to upload a case document."
        },
        {
          "info": {
            "name": "Update Sales Rep State License Info",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.goodleap.com/posfinancing/rest/v2/loans/:loanId/cases",
            "params": [
              {
                "name": "loanId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a loan’s case information."
        },
        {
          "info": {
            "name": "GoodLeap Borrower Portal URL",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodleap.com/posfinancing/rest/v2/loans/:id/portals/borrower-upload-url",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "URL redirect to the GoodLeap hosted borrower upload experience to upload documents for cases."
        },
        {
          "info": {
            "name": "Socure Identity Verification",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodleap.com/posfinancing/rest/v2/cases/:id/identity-verification",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "documentType",
                "value": "",
                "type": "query"
              },
              {
                "name": "mobileNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "sendSms",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Socure Identity Verification"
        }
      ]
    }
  ],
  "bundled": true
}