API changes – self-exclusion deposit limits

Dear developers,

We'll be re-structuring the deposit limits in get_self_exclusion and set_self_exclusion API calls to make it consistent with turnover and loss limits. This will happen during the week starting 05 October 2020.

Here’s what’s changing:

max_deposit_end_date will be removed.
max_deposit will become daily deposit limit.
max_7day_deposit will be added as a new field to indicate weekly deposit limit.
max_30day_deposit will be added as a new field to indicate monthly deposit limit.

Before the change
API response:

{
  "set_self_exclusion": 1,
  "max_losses": 100,
  "max_7day_losses": 100000,
  "max_30day_losses": 100000,
  ...
  "max_deposit": 1000,
  "max_deposit_end_date": "2020-01-01"
}

After the change
API response:

{
  "set_self_exclusion": 1,
  "max_losses": 100,
  "max_7day_losses": 100000,
  "max_30day_losses": 100000,
  ...
  "max_deposit": 200,
  "max_7day_deposit": 20000,
  "max_30day_deposit": 30000,
}

The self-exclusion deposit limits are only for clients who are registered with our regulated landing companies, such as Maltainvest, Malta, and IOM. For SVG and virtual accounts, these limits are always returned empty in the get_self_exclusion API calls. Attempting to set them will return the SetSelfExclusionError code, for example:

{
    "message_to_client": "Sorry, but setting your maximum deposit limit is unavailable in your country.",
    "details": "max_deposit",
    "code": "SetSelfExclusionError"
}

Please keep this in mind when making changes to your code.

Thank you.
Team Deriv
[email protected]

Sign In or Register to comment.