Submit customer identity proofs and show reviewed limits
This commit is contained in:
1 parent
7bf8b8087a
commit
1354551ae8
50 files changed
+1777
-67
No files matched your search
@@ -37,6 +37,13 @@ class BrokenAnalytics implements AnalyticsService {
|
||||
Future<void> draft(IdentityProvider p) async {
|
||||
await p.refresh();
|
||||
p.start();
|
||||
p.updateProfile(
|
||||
const IdentityProfile(
|
||||
fullName: "Example Person",
|
||||
dateOfBirth: "1990-04-23",
|
||||
residenceCountry: "PL",
|
||||
),
|
||||
);
|
||||
await p.pick(PhotoKind.passport);
|
||||
p.next();
|
||||
await p.pick(PhotoKind.selfie);
|
||||
@@ -170,6 +177,11 @@ void main() {
|
||||
1,
|
||||
);
|
||||
final replay = await service.submit(
|
||||
profile: const IdentityProfile(
|
||||
fullName: "Example Person",
|
||||
dateOfBirth: "1990-04-23",
|
||||
residenceCountry: "PL",
|
||||
),
|
||||
passport: photos.result!,
|
||||
selfie: photos.result!,
|
||||
idempotencyKey: p.record!.submissionId!,
|
||||
|
||||
Reference in new issue
Block a user