Skip to navigation

Create Trading Permission

View as Markdown

Create a trading permission

Note: The /user/createEvaluationAccounts endpoint replaces /user/openDemoAccount and /user/createTradingPermission.

Intended for use by B2B Partners. Create a new Trading Permission for account with ID accountId using that user’s ID, userId.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
accountIdlongRequired
userIdlongRequired

Response

TradingPermissionResponse
errorTextstringOptional<=8192 characters

Non-empty if the request failed

tradingPermissionobjectOptional