Skip to content

Commit

Permalink
Merge pull request #1286 from stripe/latest-codegen
Browse files Browse the repository at this point in the history
API Updates
  • Loading branch information
dcr-stripe authored May 26, 2021
2 parents c125cda + ea4c7e5 commit da7a754
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions person.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,21 @@ type DOBParams struct {
Year *int64 `form:"year"`
}

type DocumentsCompanyAuthorizationParams struct {
Files []*string `form:"files"`
}
type DocumentsPassportParams struct {
Files []*string `form:"files"`
}
type DocumentsVisaParams struct {
Files []*string `form:"files"`
}
type DocumentsParams struct {
CompanyAuthorization *DocumentsCompanyAuthorizationParams `form:"company_authorization"`
Passport *DocumentsPassportParams `form:"passport"`
Visa *DocumentsVisaParams `form:"visa"`
}

// RelationshipParams is used to set the relationship between an account and a person.
type RelationshipParams struct {
Director *bool `form:"director"`
Expand Down Expand Up @@ -94,6 +109,7 @@ type PersonParams struct {
AddressKana *AccountAddressParams `form:"address_kana"`
AddressKanji *AccountAddressParams `form:"address_kanji"`
DOB *DOBParams `form:"dob"`
Documents *DocumentsParams `form:"documents"`
Email *string `form:"email"`
FirstName *string `form:"first_name"`
FirstNameKana *string `form:"first_name_kana"`
Expand Down

0 comments on commit da7a754

Please sign in to comment.