{ "opencollection": "1.0.0", "info": { "name": "lemon.markets Brokerage API 🍋 Accounts: General Businesses API", "version": "0.1.0" }, "items": [ { "info": { "name": "Businesses", "type": "folder" }, "items": [ { "info": { "name": "List Beneficial Owners", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id/beneficial_owners", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "", "type": "path", "description": "A business 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 Beneficial Owners" }, { "info": { "name": "Add Beneficial Owner", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id/beneficial_owners", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add Beneficial Owner" }, { "info": { "name": "List Legal Representatives", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id/legal_representatives", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "", "type": "path" }, { "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 Legal Representatives" }, { "info": { "name": "Add Legal Representative", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id/legal_representatives", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add Legal Representative" }, { "info": { "name": "List Businesses", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/businesses", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "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 Businesses" }, { "info": { "name": "Create Business", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/businesses", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Business" }, { "info": { "name": "Get Business", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "le_3a0baf04657b4fb9bcaa03d8120b5e9e", "type": "path", "description": "A business identifier.\n" } ] }, "docs": "Get Business" }, { "info": { "name": "Submit Document", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.api.lemon.markets/v1/businesses/:business_id/submit_document", "headers": [ { "name": "LMG-Data-Privacy-Access-Principal", "value": "" }, { "name": "LMG-Data-Privacy-Access-Justification", "value": "" } ], "params": [ { "name": "business_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**⚠️ DEPRECATED**: This endpoint is deprecated. Please use the new unified `/submit_document` endpoint instead, which supports both person and business documents through a discriminated union approach.\n\nSee [Submit Document](/reference/submit_document_upload) for the replacement endpoint.\n" } ] } ], "bundled": true }