{ "opencollection": "1.0.0", "info": { "name": "Modern Treasury AccountCapability VirtualAccount API", "version": "v1" }, "items": [ { "info": { "name": "VirtualAccount", "type": "folder" }, "items": [ { "info": { "name": "list virtual_accounts", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/virtual_accounts", "params": [ { "name": "after_cursor", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "internal_account_id", "value": "", "type": "query" }, { "name": "counterparty_id", "value": "", "type": "query" }, { "name": "metadata", "value": "", "type": "query", "description": "For example, if you want to query for records with metadata key `Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a list of virtual accounts." }, { "info": { "name": "create virtual_account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/virtual_accounts", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "create virtual_account" }, { "info": { "name": "get virtual_account", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/virtual_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Virtual Acccount ID" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "get virtual_account" }, { "info": { "name": "update virtual_account", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:3000/api/virtual_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Virtual Acccount ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "update virtual_account" }, { "info": { "name": "delete virtual_account", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:3000/api/virtual_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Virtual Acccount ID" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "delete virtual_account" } ] } ], "bundled": true }