{
  "opencollection": "1.0.0",
  "info": {
    "name": "Basiq API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://au-api.basiq.io/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Exchange API key for a server token or user token for API access."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://au-api.basiq.io/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Basiq user representing an end consumer."
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "Retrieve a user by ID."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://au-api.basiq.io/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "Delete a user and all associated connections and data."
        }
      ]
    },
    {
      "info": {
        "name": "Connections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Connections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/connections",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "List all bank connections for a user."
        },
        {
          "info": {
            "name": "Create Connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://au-api.basiq.io/users/:userId/connections",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new bank connection for a user."
        },
        {
          "info": {
            "name": "Get Connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/connections/:connectionId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path",
                "description": "Basiq connection ID"
              }
            ]
          },
          "docs": "Retrieve a specific bank connection."
        },
        {
          "info": {
            "name": "Delete Connection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://au-api.basiq.io/users/:userId/connections/:connectionId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path",
                "description": "Basiq connection ID"
              }
            ]
          },
          "docs": "Remove a bank connection and revoke consent."
        }
      ]
    },
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/accounts",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "List all bank accounts for a user across all connections."
        },
        {
          "info": {
            "name": "Get Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/accounts/:accountId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Basiq account ID"
              }
            ]
          },
          "docs": "Retrieve a specific bank account with balance information."
        }
      ]
    },
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/transactions",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter transactions by date range, account, or category"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all transactions for a user across all accounts with optional filtering."
        },
        {
          "info": {
            "name": "Get Transaction",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/transactions/:transactionId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a specific transaction by ID."
        }
      ]
    },
    {
      "info": {
        "name": "Affordability",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Income Verification",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/income",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "Get income verification data derived from transaction analysis."
        },
        {
          "info": {
            "name": "Get Expenses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://au-api.basiq.io/users/:userId/expenses",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Basiq user ID"
              }
            ]
          },
          "docs": "Get categorized expense data derived from transaction analysis."
        }
      ]
    }
  ],
  "bundled": true
}