{ "opencollection": "1.0.0", "info": { "name": "Modern Treasury AccountCapability ExternalAccount API", "version": "v1" }, "items": [ { "info": { "name": "ExternalAccount", "type": "folder" }, "items": [ { "info": { "name": "verify external account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/external_accounts/:id/verify", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "external account id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "verify external account" }, { "info": { "name": "complete verification of external account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/external_accounts/:id/complete_verification", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "external account id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "complete verification of external account" }, { "info": { "name": "list external accounts", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/external_accounts", "params": [ { "name": "after_cursor", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "party_name", "value": "", "type": "query", "description": "Searches the ExternalAccount's party_name AND the Counterparty's party_name" }, { "name": "counterparty_id", "value": "", "type": "query" }, { "name": "external_id", "value": "", "type": "query", "description": "An optional user-defined 180 character unique identifier." }, { "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": "list external accounts" }, { "info": { "name": "create external account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/external_accounts", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "create external account" }, { "info": { "name": "show external account", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/external_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "external account id" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "show external account" }, { "info": { "name": "update external account", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:3000/api/external_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "external account id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "update external account" }, { "info": { "name": "delete external account", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:3000/api/external_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "external account id" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "delete external account" } ] } ], "bundled": true }