{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ascend API V1 Accounts Insureds API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Insureds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Insureds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/insureds",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "email",
                "value": "",
                "type": "query",
                "description": "Filter by associated email"
              },
              {
                "name": "business_name",
                "value": "",
                "type": "query",
                "description": "Search by business name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Insureds"
        },
        {
          "info": {
            "name": "Create Insured",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.useascend.com/v1/insureds",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Insured"
        },
        {
          "info": {
            "name": "Get Insured",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/insureds/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The insured identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Insured"
        },
        {
          "info": {
            "name": "Update Insured",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.useascend.com/v1/insureds/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The insured identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Insured"
        },
        {
          "info": {
            "name": "List the insured's last-used payment method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.useascend.com/v1/insureds/:id/payment_methods",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the insured"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "items",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List the insured's last-used payment method"
        }
      ]
    }
  ],
  "bundled": true
}