Skip to content

Commit

Permalink
Merge pull request #1 from ydag/feature/add_missing_kyc_field
Browse files Browse the repository at this point in the history
Add missing KYC Field `proof_of_liveness`
  • Loading branch information
jopmiddelkamp authored Mar 21, 2023
2 parents 2ce880f + cdf354e commit 5faaf54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/sep/0009/standard_kyc_fields.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ class NaturalPersonKYCFields {
/// male, female, or other
String? sex;

/// Video or image file of user as a liveness proof
Uint8List? proofOfLiveness;

Map<String, String> fields() {
final fields = <String, String>{};
if (lastName != null) {
Expand Down Expand Up @@ -221,6 +224,9 @@ class NaturalPersonKYCFields {
if (photoProofResidence != null) {
files['photo_proof_residence'] = photoProofResidence!;
}
if (proofOfLiveness != null) {
files['proof_of_liveness'] = proofOfLiveness!;
}
return files;
}
}
Expand Down

0 comments on commit 5faaf54

Please sign in to comment.