{ "opencollection": "1.0.0", "info": { "name": "lemon.markets Brokerage API 🍋 Accounts: General Money + Positions API", "version": "0.1.0" }, "items": [ { "info": { "name": "Money + Positions", "type": "folder" }, "items": [ { "info": { "name": "Confirm Withdrawal", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/withdrawals/:withdrawal_id/confirm", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "withdrawal_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Confirm Withdrawal" }, { "info": { "name": "List Withdrawals", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/withdrawals", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "A pagination cursor. When you receive a paginated response containing the property `pagination.next_cursor`, you can pass its value here to get the next page of results for your query.\nA cursor will include filter parameters, so there is not need to specify both the `cursor` and any other filter parameter.\n" }, { "name": "limit", "value": "", "type": "query", "description": "In order to customize the number of elements returned, you can provide a limit here. The service will not return more elements than specified.\n" } ] }, "docs": "List Withdrawals" }, { "info": { "name": "Create Withdrawal", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/withdrawals", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Withdrawal" }, { "info": { "name": "Get Financials", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/financials", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" } ] }, "docs": "Get Financials" }, { "info": { "name": "Get Positions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/positions", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "A pagination cursor. When you receive a paginated response containing the property `pagination.next_cursor`, you can pass its value here to get the next page of results for your query.\nA cursor will include filter parameters, so there is not need to specify both the `cursor` and any other filter parameter.\n" }, { "name": "limit", "value": "", "type": "query", "description": "In order to customize the number of elements returned, you can provide a limit here. The service will not return more elements than specified.\n" }, { "name": "securities_account", "value": "", "type": "query", "description": "A securities account identifier. Use this parameter to limit results to positions for a specific securities account only.\n" } ] }, "docs": "Get Positions" }, { "info": { "name": "Get Balance Sweep", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/sweeps/:sweep_id", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "sweep_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Get Balance Sweep" }, { "info": { "name": "Get Transaction", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/transactions/:transaction_id", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "transaction_id", "value": "", "type": "path", "description": "The identifier of the transaction to be fetched.\n" } ] }, "docs": "Get Transaction" }, { "info": { "name": "Get Transactions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/transactions", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "A pagination cursor. When you receive a paginated response containing the property `pagination.next_cursor`, you can pass its value here to get the next page of results for your query.\nA cursor will include filter parameters, so there is not need to specify both the `cursor` and any other filter parameter.\n" }, { "name": "limit", "value": "", "type": "query", "description": "In order to customize the number of elements returned, you can provide a limit here. The service will not return more elements than specified.\n" } ] }, "docs": "Get Transactions" }, { "info": { "name": "Get Withdrawal", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/withdrawals/:withdrawal_id", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "cusa_20323d55bb264d42b0b225d293591049", "type": "path", "description": "An account identifier.\n" }, { "name": "withdrawal_id", "value": "", "type": "path" } ] }, "docs": "Get Withdrawal" }, { "info": { "name": "List Balance Sweeps", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/sweeps", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "cursor", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "List Balance Sweeps" } ] } ], "bundled": true }