Skip to main content
PATCH
/
cabinet
/
admin
/
partners
/
settings
Update Partner Settings
curl --request PATCH \
  --url http://localhost:8080/cabinet/admin/partners/settings \
  --header 'Content-Type: application/json' \
  --data '
{
  "withdrawal_enabled": true,
  "withdrawal_min_amount_kopeks": 50000000,
  "withdrawal_cooldown_days": 182,
  "withdrawal_requisites_text": "<string>",
  "partner_section_visible": true,
  "referral_program_enabled": true
}
'
{
  "withdrawal_enabled": true,
  "withdrawal_min_amount_kopeks": 123,
  "withdrawal_cooldown_days": 123,
  "withdrawal_requisites_text": "<string>",
  "partner_section_visible": true,
  "referral_program_enabled": true
}

Body

application/json
withdrawal_enabled
boolean | null
withdrawal_min_amount_kopeks
integer | null
Required range: 0 <= x <= 100000000
withdrawal_cooldown_days
integer | null
Required range: 0 <= x <= 365
withdrawal_requisites_text
string | null
Maximum string length: 2000
partner_section_visible
boolean | null
referral_program_enabled
boolean | null

Response

Successful Response

withdrawal_enabled
boolean
required
withdrawal_min_amount_kopeks
integer
required
withdrawal_cooldown_days
integer
required
withdrawal_requisites_text
string
required
partner_section_visible
boolean
required
referral_program_enabled
boolean
required