Skip to main content
GET
Retrieve an account

Authorizations

Authorization
string
header
required

Authorization: Bearer <key>. Sandbox keys start with mgw_test_ and live keys start with mgw_live_. Each key works only in its own environment, and a live key works only from the IP addresses or ranges registered for it.

Path Parameters

account
string
required

One of your account codes, from GET /v1/accounts. An account code. Case-insensitive on input, and returned in uppercase.

Pattern: ^[A-Za-z0-9]{1,64}$

Response

One of your accounts.

object
string
required
Allowed value: "account"
code
string
required

The code to pass as account in an order or allocation.

application
string | null
required

The application that opened the account, when you opened it through the API. Null when we added the account for you.

Pattern: ^app_[a-z2-7]{20}$
created_at
string<date-time>
required

When the account became yours to trade for through the API.