WIP: Full restruct, seprate service and api
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
17
internal/kyc/types.go
Normal file
17
internal/kyc/types.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package kyc
|
||||
|
||||
type KycInfo struct {
|
||||
Type string `json:"type"` // cnrid/passport
|
||||
LegalName string `json:"legal_name"`
|
||||
ResidentId string `json:"rsident_id"`
|
||||
PassportInfo PassportInfo `json:"passport_info"`
|
||||
}
|
||||
|
||||
type PassportInfo struct {
|
||||
FirstName string `json:"first_name"`
|
||||
LastName string `json:"last_name"`
|
||||
DateOfExpire string `json:"date_of_expire"`
|
||||
Nationality string `json:"nationality"`
|
||||
DocumentType string `json:"document_type"`
|
||||
DocumentNumber string `json:"document_number"`
|
||||
}
|
||||
Reference in New Issue
Block a user