@@ -1,17 +1,15 @@
|
||||
package kyc
|
||||
|
||||
type KycInfo struct {
|
||||
Type string `json:"type"` // cnrid/passport
|
||||
CNRidInfo *CNRidInfo `json:"CNRodInfo"`
|
||||
PassportInfo *PassportInfo `json:"passport_info"`
|
||||
}
|
||||
|
||||
type CNRidInfo struct {
|
||||
LegalName string `json:"legal_name"`
|
||||
ResidentId string `json:"resident_id"`
|
||||
}
|
||||
|
||||
type PassportInfo struct {
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
type PassportResp struct {
|
||||
GivenNames string `json:"given_names"`
|
||||
Surname string `json:"surname"`
|
||||
Nationality string `json:"nationality"`
|
||||
@@ -36,6 +34,10 @@ type PassportReaderGetSessionRequest struct {
|
||||
ID int `json:"id"`
|
||||
}
|
||||
|
||||
type PassportReaderStateResponse struct {
|
||||
State string `json:"state"`
|
||||
}
|
||||
|
||||
type PassportReaderSessionDetailResponse struct {
|
||||
State string `json:"state"`
|
||||
GivenNames string `json:"given_names"`
|
||||
|
||||
Reference in New Issue
Block a user