accounts
Retrieve account information.
Changed onget/v3/accounts/
Request
- Base URLhttps://api.smarkets.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Account fetch success
Example response
{
"account": {
"account_id": "123556546",
"available_balance": "100.00",
"balance": "150.00",
"bonus_balance": "10.00",
"commission_type": "0.02",
"currency": "GBP",
"exposure": "-50.00",
"is_first_time_deposit": true,
"signup_date": "2021-01-01T00:00:00.000000"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
the
response's property type changed fromnulltoobjectfor status - breaking
the
response's property type changed fromstringtostringobjectfor status - warning
added the new
BRLenum value to the/response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- breaking