Bonus system settings

list

request
GET /api/v2/bonus/settings HTTP/1.1
response
HTTP/1.1 200 OK

{
  "settings" : {
    "birthday_duration" : 100,
    "has_mobile_user_conditions" : false,
    "new_card_bonus_points" : 100,
    "mobile_installation_bonus" : 100,
    "bonus_delay" : 100,
    "new_card_bonus_duration" : 100,
    "birthday_bonus" : 0,
    "bonus_notification_sms" : true,
    "mobile_installation_duration" : 100,
    "bonus_notification_email" : true,
    "mobile_recommendation_bonus" : 100,
    "default_duration" : 100,
    "mobile_recommendation_duration" : 100
  },
  "additionalSettings" : {
    "showMobileSettings" : true
  }
}
Table 59. response description
Path Type Description

settings

Object

Contain map<String, Integer | Boolean> of parameters to bonus bonus system settings

additionalSettings

Object

Contain map<String, Integer | Boolean> of parameters to additional settings

update

request
PUT /api/v2/bonus/settings HTTP/1.1

{
  "settings" : {
    "birthday_duration" : "100",
    "has_mobile_user_conditions" : "true",
    "new_card_bonus_points" : "100",
    "mobile_installation_bonus" : "100",
    "bonus_delay" : "100",
    "new_card_bonus_duration" : "100",
    "birthday_bonus" : "100",
    "bonus_notification_sms" : "true",
    "mobile_installation_duration" : "100",
    "bonus_notification_email" : "true",
    "mobile_recommendation_bonus" : "100",
    "default_duration" : "100",
    "mobile_recommendation_duration" : "100"
  }
}
response
HTTP/1.1 200 OK