Ваш Браузер устарел или не поддерживается нашим сайтом, пожалуйста установите обновленный Internet Explorer или скачайте Google Chrome, FireFox что бы продолжить просмотр сайта.

Разработчикам

Getting product catalog

The directory structure is provided for convenience and is not required when displaying products on the trading floor. To perform further financial transactions with products, you must use the product’s id.

Запрос POST

/get-products
Parameters (*headers)
Signature
Digital signature request
Api-Name
Api-Name, provided by admin
Content-Language
Content-Language, specify language

Getting fee pattern values

The method getting the value of the commission template by product id.

Запрос POST

/get-details
Parameters (*headers)
Signature
Digital signature request
Api-Name
Api-Name, provided by admin
Content-Language
Content-Language, specify language
/get-products
Запрос
{ "is_active": true }
Ответ
{ "200": { "status": "ok", "categories": { "categoryId": 1, "categoryName": "Category name 1", "parentId": 0 }, "products": { "id": 1, "name": "Product 1", "categoryId": 1, "isOwnProduct": false } } }
{ "400": { "status": "error", "error": { "code": "12001", "message": "Required parameter is missing in the request" } } }
{ "401": { "status": "error", "error": { "code": "11003", "message": "Invalid request signature" } } }
/get-details
Запрос
{ "productId": 123 }
Ответ
{ "200": { "status": "ok", "commission": { "percent": 1, "fixed": 1, "minValue": 1, "maxValue": 1, "minTransactionAmount": 1, "maxTransactionAmount": 1 } } }
{ "400": { "status": "error", "error": { "code": "12001", "message": "Required parameter is missing in the request" } } }
{ "401": { "status": "error", "error": { "code": "11003", "message": "Invalid request signature" } } }