Platforms
Cette page n'est pas disponible en français. La version anglaise est affichée.
Get a list of product currencies for a cTrader Broker SSO screen
Use this method on the broker's account opening screen opened inside a cTrader app. Works as the method to get a list of product currencies (GET /api/v2/my/products/currencies), but returns only the product currencies on the platforms of the white label's cTrader connection. Returns `404` when cTrader Broker SSO is not set up for the white label.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
whitelabel*string
The cTrader white label (broker name) the screen is opened for.
Match
^[A-Za-z0-9._-]+$Length
length <= 100Query Parameters
limit?integer
Sets the limit
Range
1 <= value <= 1000Default
10offset?integer
Sets the offset
Range
0 <= valueDefault
0sort_order?string
Sorts the items in ascending or descending order
Default
"desc"Value in
- "asc"
- "desc"
sort_by?string
Sorts the items by a specified value
Value in
- "priority"
- "createTime"
filter?
Filters the items by a specified value
Header Parameters
accept-language?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/my/ctrader/broker-sso/string/products/currencies?limit=10&offset=0&sort_order=desc" \ -H "accept-language: ja"{ "total": 0, "data": [ { "id": 0, "caption": "string", "product": { "id": 0, "type": "personal", "name": "string", "caption": "string", "group": { "id": 0, "caption": "string", "description": "string", "type": "default", "priority": 0, "createTime": "2019-08-24T14:15:22Z", "updateTime": "2019-08-24T14:15:22Z" }, "platform": { "id": 0, "caption": "string", "shortCaption": "string", "name": "string", "class": "string", "isDemo": true } }, "currency": { "alphabeticCode": "string", "minorUnit": 0, "name": "string", "numericCode": 0 }, "factory": 0, "variants": { "startAmounts": [ "string" ], "leverages": [ 0 ] }, "platformGroups": [ "string" ], "isHedgingEnabled": true, "maxAccounts": 0, "permissions": [ "deposit" ], "priority": 0, "linkInfo": "string", "agreementLink": "string", "minDepositAmount": "string" } ]}