POST
/
promo
/
verify
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Описание промокода

The body is of type object.

Response

200
application/json

promo response

The response is of type object.