{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fintecture Organisation Access Credentials API",
    "version": "v1-beta"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/applications",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter[company_id]",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List applications linked to companies within the authenticated organisation's subtree. Requires `applications:read`."
        },
        {
          "info": {
            "name": "Create Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new application for a company within the authenticated organisation's subtree. Requires `applications:write`."
        },
        {
          "info": {
            "name": "Get Current Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/applications/current"
          },
          "docs": "Information related to the application used to sign the request."
        },
        {
          "info": {
            "name": "Get An Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/applications/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "include",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get An Application"
        },
        {
          "info": {
            "name": "Update Application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/applications/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update app_name, app_webhooks, or app_urls. Requires `applications:write`."
        },
        {
          "info": {
            "name": "Remove An Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/applications/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Removing an application is irreversible. Requires `applications:write`."
        }
      ]
    },
    {
      "info": {
        "name": "Bank Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Bank Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/bank-accounts"
          },
          "docs": "List bank accounts linked to companies in the authenticated organisation's subtree."
        },
        {
          "info": {
            "name": "Create Bank Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/bank-accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Bank Account"
        },
        {
          "info": {
            "name": "Update Bank Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/bank-accounts/:bank_account_id",
            "params": [
              {
                "name": "bank_account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Bank Account"
        },
        {
          "info": {
            "name": "Delete Bank Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/bank-accounts/:bank_account_id",
            "params": [
              {
                "name": "bank_account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Bank Account"
        }
      ]
    },
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/companies"
          },
          "docs": "List Companies"
        },
        {
          "info": {
            "name": "Create Company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/companies",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Company"
        },
        {
          "info": {
            "name": "Get A Company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/companies/:company_id",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get A Company"
        },
        {
          "info": {
            "name": "Update Company",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/companies/:company_id",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Company"
        },
        {
          "info": {
            "name": "Remove Company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/companies/:company_id",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove Company"
        }
      ]
    },
    {
      "info": {
        "name": "Organisation Nodes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Organisation Node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/organisation-nodes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a child organisation node. Requires `organisations:write`."
        },
        {
          "info": {
            "name": "Get Organisation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/organisation-nodes/:organisation_node_id",
            "params": [
              {
                "name": "organisation_node_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Organisation"
        },
        {
          "info": {
            "name": "Update Organisation",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/organisation-nodes/:organisation_node_id",
            "params": [
              {
                "name": "organisation_node_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Organisation"
        },
        {
          "info": {
            "name": "Remove Organisation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/organisation-nodes/:organisation_node_id",
            "params": [
              {
                "name": "organisation_node_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove Organisation"
        },
        {
          "info": {
            "name": "Get Organisation Tree",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/organisation-nodes/:organisation_node_id/tree",
            "params": [
              {
                "name": "organisation_node_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns the organisation tree expanded from the top accessible node to the specified node."
        },
        {
          "info": {
            "name": "Get Companies In Organisation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/organisation-nodes/:organisation_node_id/companies",
            "params": [
              {
                "name": "organisation_node_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "recursive",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get Companies In Organisation"
        }
      ]
    },
    {
      "info": {
        "name": "Memberships",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Membership",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/memberships",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Associate a user with either a company or an organisation node."
        },
        {
          "info": {
            "name": "Update Membership",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/memberships/:membership_id",
            "params": [
              {
                "name": "membership_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Membership"
        },
        {
          "info": {
            "name": "Delete Membership",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/memberships/:membership_id",
            "params": [
              {
                "name": "membership_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Membership"
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fintecture.com/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create User"
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fintecture.com/v1/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get User"
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fintecture.com/v1/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update User"
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fintecture.com/v1/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Destructive. Deletes Firebase auth credentials and all memberships."
        }
      ]
    }
  ],
  "bundled": true
}