-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Brazilian standard require idNumber, back document and email fo… #85
Changes from 2 commits
421ad53
e834177
0ff71de
48d216c
e2c9d58
b29d830
795dc78
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2226,12 +2226,15 @@ A KYC schema containing personal data about a user, as well as documents such as | |
postalCode?: `string` | ||
}, | ||
phoneNumber: `string`, | ||
idNumber?: `string`, | ||
email?: `string`, | ||
selfieDocument: `string`, | ||
identificationDocument: `string` | ||
identificationDocument: `string`, | ||
identificationDocumentBack?: `string`, | ||
} | ||
``` | ||
|
||
The `selfieDocument` and `identificationDocument` fields should be base64 encoded binary blobs representing images. | ||
The `selfieDocument`, `identificationDocument` and `identificationDocumentBack` fields should be base64 encoded binary blobs representing images. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you provide some more detailed information on the fields required in this schema? (For example, how There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok @jophish , I will do that. |
||
|
||
### 9.3.2. Fiat Account Schemas | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you require
idNumber
,email
, andidentificationDocumentBack
, then they shouldn't be optional fields. The question mark indicates that the field is optional.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I recommend that you create a new KYC schema for these fields, rather than tacking them onto an existing one. Adding a new KYC schema is a non-breaking change, since clients can incrementally add support for new schemas without breaking their existing integrations. However, changing an existing KYC schema is generally a breaking change, and something to avoid without some compelling reason for it