feat: new compliance options
This commit is contained in:
parent
ccf7eacfad
commit
f2080c32e9
23 changed files with 161 additions and 121 deletions
|
|
@ -8,13 +8,9 @@ const customer = {
|
|||
idCardData: {firstName, lastName, dateOfBirth}
|
||||
}
|
||||
|
||||
const config = {
|
||||
sanctionsVerificationActive: true
|
||||
}
|
||||
|
||||
const deviceId = 'test-device'
|
||||
|
||||
ofac.load()
|
||||
.then(() => compliance.validationPatch(deviceId, config, customer))
|
||||
.then(() => compliance.validationPatch(deviceId, true, customer))
|
||||
.then(console.log)
|
||||
.catch(err => console.log(err))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue