Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

The Trading API key (trdrs_sk_…), for market data, orders and account state on the accounts its owner holds. Use it server-to-server, and keep it on your server. Its scope is named trading in the API.

Query Parameters

provider
string
required

The provider the account is at. Required.

account
string

The account number, when the login holds more than one. It must be one of your own accounts, or the call is refused with 400.

Response

Nothing is locked. The body gives the lock state now.

The account's lock state after the unlock call, which clears nothing.

lock
object
required

The lock state now.