cURL
curl --request POST \ --url https://api.steamgold.dev/v1/promo/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "code": "<string>" }'
{ "code": 123, "type": "commission", "discount": 123 }
Проверяет существование промокода
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Описание промокода
The body is of type object.
object
promo response
The response is of type object.