cURL
curl --request POST \ --url https://api.steamgold.dev/v1/items/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "platform": "<string>", "item": "<string>", "fee": "excluded", "code": "<string>" } '
{ "code": 123, "intentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "paymentAmount": 123, "paymentCurrency": "<string>" }
Проверяет доступность и возможность покупки товара
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Описание намерения
Платформа на которой расположен товар
Идентификатор товара
Для товаров мы пока поддерживаем только excluded
excluded
Промокод приминяемый к покупке
intent response
HTTP-код ответа
Идентификатор намерения
Сумма платежа
Валюта платежа