/
v3.0.11Get access

setClientDepositLimitV2

Sets the player's daily, weekly and monthly deposit limits. Only the periods you pass are sent — omitted periods are left untouched. When the requested limit is above the partner's threshold, the response carries the RG Smart Assistant handover data (`token` and `entrance_code`) that the client uses to open the contact-moment flow. Requires an authenticated session.

Request parameters:

NameDescriptionTypeValuesDefault
maxDayDeposit
Daily deposit limitnumber--
maxWeekDeposit
Weekly deposit limitnumber--
maxMonthDeposit
Monthly deposit limitnumber--

Call example:

setClientDepositLimitV2({
  maxDayDeposit: 100,
  maxWeekDeposit: 500,
  maxMonthDeposit: 2000
})

Response examples:

{
  result: 0,
  result_text: null,
  details: {
    Changed: [],
    UnChanged: [1],
    ExternalData: {
      token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9',
      entrance_code: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
      ExternalLimits: [{
        Type: 1,
        Limit: 5000,
        Period: 1,
        PeriodType: 1,
        ProductCategoryId: 0,
        EffectDate: null
      }]
    }
  }
}

Response parameters:

NameDescriptionTypeValues
Changed
Period types that were applied immediatelyarray-
└─
number-
UnChanged
Period types that were not appliedarray-
└─
number-
ExternalData
Present only when the limit requires the RG Smart Assistant flowobject
└─ token
Modal token passed to the RG Smart Assistant SDKstring-
└─ entrance_code
Entrance code passed to the RG Smart Assistant SDKstring-
└─ ExternalLimits
Limits that triggered the flowarray-
└─
object
└─ Type
Limit typenumber-
└─ Limit
Requested limit amountnumber-
└─ Period
Period valuenumber-
└─ PeriodType
Period typenumber-
└─ ProductCategoryId
Product category the limit applies tonumber-
└─ EffectDate
When the limit takes effectstring-