@@ -56,6 +56,9 @@ class User(Creatable, Retrievable, Updateable, Queryable):
5656 beneficiaries : Optional [list [Beneficiary ]] = Field (
5757 None , description = 'Beneficiaries of account in case of death'
5858 )
59+ signature : Optional [KYCFile ] = Field (
60+ None , description = 'Detail of signature validation'
61+ )
5962 platform_id : Optional [str ] = None
6063 clabe : Optional [Clabe ] = None
6164 # These fields are added by identify when retrieving a User:
@@ -96,6 +99,7 @@ def balance(self) -> int:
9699 'beneficiaries' : [
97100 Beneficiary .schema ().get ('example' ),
98101 ],
102+ 'signature' : KYCFile .schema ().get ('example' ),
99103 'platform_id' : 'PT8UEv02zBTcymd4Kd3MO6pg' ,
100104 }
101105 }
@@ -114,6 +118,7 @@ def create(
114118 status : Optional [UserStatus ] = None ,
115119 required_level : Optional [int ] = None ,
116120 terms_of_service : Optional [TOSRequest ] = None ,
121+ signature : Optional [KYCFile ] = None ,
117122 * ,
118123 session : Session = global_session ,
119124 ) -> 'User' :
@@ -128,6 +133,7 @@ def create(
128133 required_level = required_level ,
129134 status = status ,
130135 terms_of_service = terms_of_service ,
136+ signature = signature ,
131137 )
132138 return cls ._create (session = session , ** req .model_dump ())
133139
@@ -143,6 +149,7 @@ def update(
143149 govt_id : Optional [KYCFile ] = None ,
144150 proof_of_address : Optional [KYCFile ] = None ,
145151 proof_of_life : Optional [KYCFile ] = None ,
152+ signature : Optional [KYCFile ] = None ,
146153 terms_of_service : Optional [TOSRequest ] = None ,
147154 verification_id : Optional [str ] = None ,
148155 status : Optional [UserStatus ] = None ,
@@ -161,6 +168,7 @@ def update(
161168 govt_id = govt_id ,
162169 proof_of_address = proof_of_address ,
163170 proof_of_life = proof_of_life ,
171+ signature = signature ,
164172 terms_of_service = terms_of_service ,
165173 verification_id = verification_id ,
166174 email_verification_id = email_verification_id ,
0 commit comments