{ "opencollection": "1.0.0", "info": { "name": "Hifi Account API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Account", "type": "folder" }, "items": [ { "info": { "name": "List all accounts", "type": "http" }, "http": { "method": "GET", "url": "https://production.hifibridge.com/v2/users/:userId/accounts", "params": [ { "name": "userId", "value": "", "type": "path", "description": "ID of the user" }, { "name": "rail", "value": "", "type": "query", "description": "onramp or offramp" }, { "name": "type", "value": "", "type": "query", "description": "account type" }, { "name": "currency", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query", "description": "default to 10, maximum to 100" }, { "name": "createdBefore", "value": "", "type": "query", "description": "ISO format: YYYY-MM-DD" }, { "name": "createdAfter", "value": "", "type": "query", "description": "ISO format: YYYY-MM-DD" } ] }, "docs": "List all accounts associated with a user under your organization." }, { "info": { "name": "Create an account", "type": "http" }, "http": { "method": "POST", "url": "https://production.hifibridge.com/v2/users/:userId/accounts", "params": [ { "name": "userId", "value": "", "type": "path", "description": "ID of the user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an onramp or offramp account for different account types by providing your bank account information.\n" }, { "info": { "name": "Retrieve an account", "type": "http" }, "http": { "method": "GET", "url": "https://production.hifibridge.com/v2/users/:userId/accounts/:accountId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "ID of the user" }, { "name": "accountId", "value": "", "type": "path", "description": "ID of the account" } ] }, "docs": "Get an existing onramp or offramp account detail." }, { "info": { "name": "Delete an account", "type": "http" }, "http": { "method": "DELETE", "url": "https://production.hifibridge.com/v2/users/:userId/accounts/:accountId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "ID of the user" }, { "name": "accountId", "value": "", "type": "path", "description": "ID of the account" } ] }, "docs": "Delete an existing onramp or offramp account." } ] } ], "bundled": true }