Skip to main content
POST
/
cabinet
/
promocode
/
activate
Activate Promocode
curl --request POST \
  --url http://localhost:8080/cabinet/promocode/activate \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "balance_before": 0,
  "balance_after": 0,
  "bonus_description": "<string>"
}

Body

application/json

Request to activate a promo code.

code
string
required

Promo code to activate

Required string length: 1 - 50

Response

Successful Response

Response after activating a promo code.

success
boolean
required
message
string
required
balance_before
number
default:0
balance_after
number
default:0
bonus_description
string | null