{ "opencollection": "1.0.0", "info": { "name": "FreeAgent BankAccounts API", "version": "2" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.freeagent.com/v2/approve_app", "accessTokenUrl": "https://api.freeagent.com/v2/token_endpoint", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "BankAccounts", "type": "folder" }, "items": [ { "info": { "name": "List bank accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.freeagent.com/v2/bank_accounts", "params": [ { "name": "view", "value": "", "type": "query" } ] }, "docs": "List bank accounts" }, { "info": { "name": "Create bank account", "type": "http" }, "http": { "method": "POST", "url": "https://api.freeagent.com/v2/bank_accounts" }, "docs": "Create bank account" }, { "info": { "name": "Get bank account", "type": "http" }, "http": { "method": "GET", "url": "https://api.freeagent.com/v2/bank_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get bank account" }, { "info": { "name": "Update bank account", "type": "http" }, "http": { "method": "PUT", "url": "https://api.freeagent.com/v2/bank_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update bank account" }, { "info": { "name": "Delete bank account", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.freeagent.com/v2/bank_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete bank account" } ] } ], "bundled": true }