Skip to main content
GET
cURL

Query Parameters

user_id
integer

Id of a (sub)account - by default current user id is used

Example:

1

margin_model
enum<string>
required

Margin model

Available options:
cross_pm,
cross_sm,
segregated_pm,
segregated_sm
dry_run
boolean

If true request returns the result without switching the margining model. Default: false

Example:

true

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object[]
required
id
integer

The id that was sent in the request