-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make citizenship required * Add citizenship to biometric verification * Add citizenship to basic kyc remove citizenship from basic kyc * Add tests for citizenship --------- Co-authored-by: tams sokari <[email protected]>
- Loading branch information
1 parent
379fcc6
commit 3d23e45
Showing
12 changed files
with
495 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!doctype html> | ||
<html lang='en'> | ||
<head> | ||
<meta name='viewport' content='width=device-width, initial-scale=1' /> | ||
<style> | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
max-width: 100%; | ||
min-height: 100%; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<script | ||
src='js/script.min.js'> | ||
</script> | ||
|
||
<script> | ||
SmileIdentity({ | ||
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXJ0bmVyX3BhcmFtcyI6eyJ1c2VyX2lkIjoid2ViLXRva2VuLXRlc3QtdXNlci0wMDQiLCJqb2JfaWQiOiJ3ZWItdG9rZW4tam9iLTIwMCIsImpvYl90eXBlIjo1fSwiY2FsbGJhY2tfdXJsIjoiaHR0cHM6Ly93ZWJob29rLnNpdGUvMWFhYTdhN2ItYWNjYi00MGFjLTg2NDMtZmQ4YTg3MDNlOWJlIiwiaWF0IjoxNjQ3NjI4ODAxLCJleHAiOjE2NDkyNzY0MjN9.YJKc3LG3m36Pw1wdWksbUwqO3t9WDM9uyeIudFh0_zg', | ||
product: 'basic_kyc', | ||
callback_url: 'https://webhook.site/1aaa7a7b-accb-40ac-8643-fd8a8703e9be', | ||
environment: 'sandbox', | ||
consent_required: { | ||
'KE': ['DRIVERS_LICENSE', 'PASSPORT'] | ||
}, | ||
partner_details: { | ||
name: 'Test Org', | ||
logo_url: 'https://portal.smileidentity.com/favicon.ico', | ||
partner_id: '212', | ||
policy_url: 'https://smileidentity.com/privacy-policy', | ||
theme_color: '#000', | ||
}, | ||
onSuccess: () => { | ||
}, | ||
onClose: () => { | ||
}, | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!doctype html> | ||
<html lang='en'> | ||
<head> | ||
<meta name='viewport' content='width=device-width, initial-scale=1' /> | ||
<style> | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
max-width: 100%; | ||
min-height: 100%; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<script | ||
src='js/script.min.js'> | ||
</script> | ||
|
||
<script> | ||
SmileIdentity({ | ||
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXJ0bmVyX3BhcmFtcyI6eyJ1c2VyX2lkIjoid2ViLXRva2VuLXRlc3QtdXNlci0wMDQiLCJqb2JfaWQiOiJ3ZWItdG9rZW4tam9iLTIwMCIsImpvYl90eXBlIjo1fSwiY2FsbGJhY2tfdXJsIjoiaHR0cHM6Ly93ZWJob29rLnNpdGUvMWFhYTdhN2ItYWNjYi00MGFjLTg2NDMtZmQ4YTg3MDNlOWJlIiwiaWF0IjoxNjQ3NjI4ODAxLCJleHAiOjE2NDkyNzY0MjN9.YJKc3LG3m36Pw1wdWksbUwqO3t9WDM9uyeIudFh0_zg', | ||
product: 'enhanced_kyc', | ||
callback_url: 'https://webhook.site/1aaa7a7b-accb-40ac-8643-fd8a8703e9be', | ||
environment: 'sandbox', | ||
consent_required: { | ||
'KE': ['KRA_PIN', 'DRIVERS_LICENSE'] | ||
}, | ||
partner_details: { | ||
name: 'Test Org', | ||
logo_url: 'https://portal.smileidentity.com/favicon.ico', | ||
partner_id: '212', | ||
policy_url: 'https://smileidentity.com/privacy-policy', | ||
theme_color: '#000', | ||
}, | ||
onSuccess: () => { | ||
}, | ||
onClose: () => { | ||
}, | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.