/api/reseller/productscurl https://hexpay.live/api/reseller/products \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"products": [
{
"code": "stars",
"product_type": "telegram_stars",
"pricing_mode": "quantity",
"quantity_means": "stars_count",
"has_subcatalog": false,
"catalog_url": "/api/reseller/gifts",
"required_field": "gift_id",
"wholesale_price_rub": 1.3207,
"wholesale_price_nano": 1320,
"unit_wholesale_price_rub": 1.3207,
"unit_wholesale_price_nano": 1320,
"months": 3,
"markup_percent": 7,
"min_amount_rub": 50,
"max_amount_rub": 50000,
"note": null,
"activation_guide_url": "/api/reseller/guide?product=apple"
}
]
}Header Authorization: Bearer <key> on every request. The key is issued in the cabinet and shown once. It spends your deposit: keep it on the server.
successbooleanoptionalproductsobject[]optional401—429—curl https://hexpay.live/api/reseller/products \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"products": [
{
"code": "stars",
"product_type": "telegram_stars",
"pricing_mode": "quantity",
"quantity_means": "stars_count",
"has_subcatalog": false,
"catalog_url": "/api/reseller/gifts",
"required_field": "gift_id",
"wholesale_price_rub": 1.3207,
"wholesale_price_nano": 1320,
"unit_wholesale_price_rub": 1.3207,
"unit_wholesale_price_nano": 1320,
"months": 3,
"markup_percent": 7,
"min_amount_rub": 50,
"max_amount_rub": 50000,
"note": null,
"activation_guide_url": "/api/reseller/guide?product=apple"
}
]
}