setClientSelfExclusion
This command triggers a Self-Exclusion (SX) event. Command is a legal and regulatory requirement that locks the user's account entirely
Documentation
Try it now
Request parameters:
Call example:
setClientSelfExclusion({
excType: 'availabilityPeriod',
hours: 1,
password: 1,
reason: 1,
reasonText: 'reason text',
schedules: [{
scheduleType: 'week',
weekDayFrom: 'sunday',
weekDayTo: 'sunday',
timeFrom: '13:00:00',
timeTo: '14:00:00'
}, {
scheduleType: 'week',
weekDayFrom: 'saturday',
weekDayTo: 'saturday',
timeFrom: '16:00:00',
timeTo: '17:00:00'
}]
})Response examples:
{
code: 0,
rid: 'command527167704059894',
data: {
result: 0,
result_text: null,
details: {
ClientId: 88736727,
ExcludeTypeId: 8,
Excluded: 1767606444,
ExcludedFrom: 1767001644,
Status: 2,
BeforeBalance: 302.29,
AfterBalance: 302.29,
IBAN: null,
Created: 1718786241
}
}
}