{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ascend API V1 Accounts Programs API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Programs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Programs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/programs",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "insured_id",
                "value": "",
                "type": "query",
                "description": "Filter by associated insured"
              },
              {
                "name": "purchased_at",
                "value": "",
                "type": "query",
                "description": "Only return programs that were purchased during the given date interval. The date should be defined as an ISO-8601 datetime."
              },
              {
                "name": "updated_at",
                "value": "",
                "type": "query",
                "description": "Only return programs that were updated during the given date interval. The date should be defined as an ISO-8601 datetime."
              },
              {
                "name": "created_at",
                "value": "",
                "type": "query",
                "description": "Only return programs that were created during the given date interval. The date should be defined as an ISO-8601 datetime."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Programs"
        },
        {
          "info": {
            "name": "Create Program",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/programs",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Program"
        },
        {
          "info": {
            "name": "Get Program",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The program identifier"
              },
              {
                "name": "include_archived",
                "value": "",
                "type": "query",
                "description": "Include archived programs"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Program"
        },
        {
          "info": {
            "name": "Update program",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The program identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update program"
        },
        {
          "info": {
            "name": "Archive Program",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The program identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Archive Program"
        },
        {
          "info": {
            "name": "Get loan payoff invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/loan_payoff",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Program id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get loan payoff invoice"
        },
        {
          "info": {
            "name": "Create loan payoff invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/loan_payoff",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Program id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create loan payoff invoice"
        },
        {
          "info": {
            "name": "Void loan payoff invoice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/loan_payoff",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Program id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Void loan payoff invoice"
        },
        {
          "info": {
            "name": "Loan Payoff Estimate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/loan_payoff_estimate",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the program"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Loan Payoff Estimate"
        },
        {
          "info": {
            "name": "Notify User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/send",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the program"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Notify User"
        },
        {
          "info": {
            "name": "Unarchive program",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/programs/:id/unarchive",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the program"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unarchive program"
        }
      ]
    }
  ],
  "bundled": true
}