{
  "opencollection": "1.0.0",
  "info": {
    "name": "End Close Bank Account Balances Bank Accounts API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Bank Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bank accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.endclose.com/v1/bank_accounts"
          },
          "docs": "Returns all bank accounts for the current environment, ordered by name."
        },
        {
          "info": {
            "name": "Create a bank account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.endclose.com/v1/bank_accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a bank account"
        },
        {
          "info": {
            "name": "Retrieve a bank account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.endclose.com/v1/bank_accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the bank account"
              }
            ]
          },
          "docs": "Retrieve a bank account"
        },
        {
          "info": {
            "name": "Update a bank account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.endclose.com/v1/bank_accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the bank account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a bank account"
        },
        {
          "info": {
            "name": "Delete a bank account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.endclose.com/v1/bank_accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the bank account"
              }
            ]
          },
          "docs": "Permanently deletes a bank account. Returns 409 Conflict if the bank account has linked data streams."
        }
      ]
    }
  ],
  "bundled": true
}