Debian Codegraph @

stripe/params/v2/core/_account_token_create_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from typing import Dict, List, Optional
4 from typing_extensions import Literal, NotRequired, TypedDict
5
6
7 class AccountTokenCreateParams(TypedDict):
8 contact_email: NotRequired[str]
9 """
10 The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
11 """
12 contact_phone: NotRequired[str]
13 """
14 The default contact phone for the Account.
15 """
16 display_name: NotRequired[str]
17 """
18 A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
19 """
20 identity: NotRequired["AccountTokenCreateParamsIdentity"]
21 """
22 Information about the company, individual, and business represented by the Account.
23 """
24
25
26 class AccountTokenCreateParamsIdentity(TypedDict):
27 attestations: NotRequired["AccountTokenCreateParamsIdentityAttestations"]
28 """
29 Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
30 """
31 business_details: NotRequired[
32 "AccountTokenCreateParamsIdentityBusinessDetails"
33 ]
34 """
35 Information about the company or business.
36 """
37 entity_type: NotRequired[
38 Literal["company", "government_entity", "individual", "non_profit"]
39 ]
40 """
41 The entity type.
42 """
43 individual: NotRequired["AccountTokenCreateParamsIdentityIndividual"]
44 """
45 Information about the person represented by the account.
46 """
47
48
49 class AccountTokenCreateParamsIdentityAttestations(TypedDict):
50 directorship_declaration: NotRequired[
51 "AccountTokenCreateParamsIdentityAttestationsDirectorshipDeclaration"
52 ]
53 """
54 This hash is used to attest that the directors information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe.
55 """
56 ownership_declaration: NotRequired[
57 "AccountTokenCreateParamsIdentityAttestationsOwnershipDeclaration"
58 ]
59 """
60 This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe.
61 """
62 persons_provided: NotRequired[
63 "AccountTokenCreateParamsIdentityAttestationsPersonsProvided"
64 ]
65 """
66 Attestation that all Persons with a specific Relationship value have been provided.
67 """
68 representative_declaration: NotRequired[
69 "AccountTokenCreateParamsIdentityAttestationsRepresentativeDeclaration"
70 ]
71 """
72 This hash is used to attest that the representative is authorized to act as the representative of their legal entity; IP, date, and User Agent are expanded by Stripe.
73 """
74 terms_of_service: NotRequired[
75 "AccountTokenCreateParamsIdentityAttestationsTermsOfService"
76 ]
77 """
78 Attestations of accepted terms of service agreements.
79 """
80
81
82 class AccountTokenCreateParamsIdentityAttestationsDirectorshipDeclaration(
83 TypedDict,
84 ):
85 attested: NotRequired[bool]
86 """
87 A boolean indicating if the directors information has been attested.
88 """
89
90
91 class AccountTokenCreateParamsIdentityAttestationsOwnershipDeclaration(
92 TypedDict,
93 ):
94 attested: NotRequired[bool]
95 """
96 A boolean indicating if the beneficial owner information has been attested.
97 """
98
99
100 class AccountTokenCreateParamsIdentityAttestationsPersonsProvided(TypedDict):
101 directors: NotRequired[bool]
102 """
103 Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
104 """
105 executives: NotRequired[bool]
106 """
107 Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
108 """
109 owners: NotRequired[bool]
110 """
111 Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
112 """
113 ownership_exemption_reason: NotRequired[
114 Literal[
115 "qualified_entity_exceeds_ownership_threshold",
116 "qualifies_as_financial_institution",
117 ]
118 ]
119 """
120 Reason for why the company is exempt from providing ownership information.
121 """
122
123
124 class AccountTokenCreateParamsIdentityAttestationsRepresentativeDeclaration(
125 TypedDict,
126 ):
127 attested: NotRequired[bool]
128 """
129 A boolean indicating if the representative is authorized to act as the representative of their legal entity.
130 """
131
132
133 class AccountTokenCreateParamsIdentityAttestationsTermsOfService(TypedDict):
134 account: NotRequired[
135 "AccountTokenCreateParamsIdentityAttestationsTermsOfServiceAccount"
136 ]
137 """
138 Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe.
139 """
140
141
142 class AccountTokenCreateParamsIdentityAttestationsTermsOfServiceAccount(
143 TypedDict,
144 ):
145 shown_and_accepted: NotRequired[bool]
146 """
147 The boolean value indicating if the terms of service have been accepted.
148 """
149
150
151 class AccountTokenCreateParamsIdentityBusinessDetails(TypedDict):
152 address: NotRequired[
153 "AccountTokenCreateParamsIdentityBusinessDetailsAddress"
154 ]
155 """
156 The business registration address of the business entity.
157 """
158 annual_revenue: NotRequired[
159 "AccountTokenCreateParamsIdentityBusinessDetailsAnnualRevenue"
160 ]
161 """
162 The business gross annual revenue for its preceding fiscal year.
163 """
164 documents: NotRequired[
165 "AccountTokenCreateParamsIdentityBusinessDetailsDocuments"
166 ]
167 """
168 A document verifying the business.
169 """
170 estimated_worker_count: NotRequired[int]
171 """
172 Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
173 """
174 id_numbers: NotRequired[
175 List["AccountTokenCreateParamsIdentityBusinessDetailsIdNumber"]
176 ]
177 """
178 The ID numbers of a business entity.
179 """
180 monthly_estimated_revenue: NotRequired[
181 "AccountTokenCreateParamsIdentityBusinessDetailsMonthlyEstimatedRevenue"
182 ]
183 """
184 An estimate of the monthly revenue of the business.
185 """
186 phone: NotRequired[str]
187 """
188 The phone number of the Business Entity.
189 """
190 registered_name: NotRequired[str]
191 """
192 The business legal name.
193 """
194 registration_date: NotRequired[
195 "AccountTokenCreateParamsIdentityBusinessDetailsRegistrationDate"
196 ]
197 """
198 When the business was incorporated or registered.
199 """
200 script_addresses: NotRequired[
201 "AccountTokenCreateParamsIdentityBusinessDetailsScriptAddresses"
202 ]
203 """
204 The business registration address of the business entity in non latin script.
205 """
206 script_names: NotRequired[
207 "AccountTokenCreateParamsIdentityBusinessDetailsScriptNames"
208 ]
209 """
210 The business legal name in non latin script.
211 """
212 structure: NotRequired[
213 Literal[
214 "cooperative",
215 "free_zone_establishment",
216 "free_zone_llc",
217 "governmental_unit",
218 "government_instrumentality",
219 "incorporated_association",
220 "incorporated_non_profit",
221 "incorporated_partnership",
222 "limited_liability_partnership",
223 "llc",
224 "multi_member_llc",
225 "private_company",
226 "private_corporation",
227 "private_partnership",
228 "public_company",
229 "public_corporation",
230 "public_listed_corporation",
231 "public_partnership",
232 "registered_charity",
233 "single_member_llc",
234 "sole_establishment",
235 "sole_proprietorship",
236 "tax_exempt_government_instrumentality",
237 "trust",
238 "unincorporated_association",
239 "unincorporated_non_profit",
240 "unincorporated_partnership",
241 ]
242 ]
243 """
244 The category identifying the legal structure of the business.
245 """
246
247
248 class AccountTokenCreateParamsIdentityBusinessDetailsAddress(TypedDict):
249 city: NotRequired[str]
250 """
251 City, district, suburb, town, or village.
252 """
253 country: NotRequired[str]
254 """
255 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
256 """
257 line1: NotRequired[str]
258 """
259 Address line 1 (e.g., street, PO Box, or company name).
260 """
261 line2: NotRequired[str]
262 """
263 Address line 2 (e.g., apartment, suite, unit, or building).
264 """
265 postal_code: NotRequired[str]
266 """
267 ZIP or postal code.
268 """
269 state: NotRequired[str]
270 """
271 State, county, province, or region.
272 """
273 town: NotRequired[str]
274 """
275 Town or district.
276 """
277
278
279 class AccountTokenCreateParamsIdentityBusinessDetailsAnnualRevenue(TypedDict):
280 amount: NotRequired[
281 "AccountTokenCreateParamsIdentityBusinessDetailsAnnualRevenueAmount"
282 ]
283 """
284 A non-negative integer representing the amount in the smallest currency unit.
285 """
286 fiscal_year_end: NotRequired[str]
287 """
288 The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
289 """
290
291
292 class AccountTokenCreateParamsIdentityBusinessDetailsAnnualRevenueAmount(
293 TypedDict,
294 ):
295 value: NotRequired[int]
296 """
297 A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
298 """
299 currency: NotRequired[str]
300 """
301 Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
302 """
303
304
305 class AccountTokenCreateParamsIdentityBusinessDetailsDocuments(TypedDict):
306 bank_account_ownership_verification: NotRequired[
307 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsBankAccountOwnershipVerification"
308 ]
309 """
310 One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
311 """
312 company_license: NotRequired[
313 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyLicense"
314 ]
315 """
316 One or more documents that demonstrate proof of a company's license to operate.
317 """
318 company_memorandum_of_association: NotRequired[
319 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyMemorandumOfAssociation"
320 ]
321 """
322 One or more documents showing the company's Memorandum of Association.
323 """
324 company_ministerial_decree: NotRequired[
325 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyMinisterialDecree"
326 ]
327 """
328 Certain countries only: One or more documents showing the ministerial decree legalizing the company's establishment.
329 """
330 company_registration_verification: NotRequired[
331 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyRegistrationVerification"
332 ]
333 """
334 One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
335 """
336 company_tax_id_verification: NotRequired[
337 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyTaxIdVerification"
338 ]
339 """
340 One or more documents that demonstrate proof of a company's tax ID.
341 """
342 primary_verification: NotRequired[
343 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsPrimaryVerification"
344 ]
345 """
346 A document verifying the business.
347 """
348 proof_of_address: NotRequired[
349 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfAddress"
350 ]
351 """
352 One or more documents that demonstrate proof of address.
353 """
354 proof_of_registration: NotRequired[
355 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfRegistration"
356 ]
357 """
358 One or more documents showing the company's proof of registration with the national business registry.
359 """
360 proof_of_ultimate_beneficial_ownership: NotRequired[
361 "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnership"
362 ]
363 """
364 One or more documents that demonstrate proof of ultimate beneficial ownership.
365 """
366
367
368 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsBankAccountOwnershipVerification(
369 TypedDict,
370 ):
371 files: List[str]
372 """
373 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
374 """
375 type: Literal["files"]
376 """
377 The format of the document. Currently supports `files` only.
378 """
379
380
381 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyLicense(
382 TypedDict,
383 ):
384 files: List[str]
385 """
386 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
387 """
388 type: Literal["files"]
389 """
390 The format of the document. Currently supports `files` only.
391 """
392
393
394 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyMemorandumOfAssociation(
395 TypedDict,
396 ):
397 files: List[str]
398 """
399 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
400 """
401 type: Literal["files"]
402 """
403 The format of the document. Currently supports `files` only.
404 """
405
406
407 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyMinisterialDecree(
408 TypedDict,
409 ):
410 files: List[str]
411 """
412 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
413 """
414 type: Literal["files"]
415 """
416 The format of the document. Currently supports `files` only.
417 """
418
419
420 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyRegistrationVerification(
421 TypedDict,
422 ):
423 files: List[str]
424 """
425 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
426 """
427 type: Literal["files"]
428 """
429 The format of the document. Currently supports `files` only.
430 """
431
432
433 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsCompanyTaxIdVerification(
434 TypedDict,
435 ):
436 files: List[str]
437 """
438 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
439 """
440 type: Literal["files"]
441 """
442 The format of the document. Currently supports `files` only.
443 """
444
445
446 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsPrimaryVerification(
447 TypedDict,
448 ):
449 front_back: "AccountTokenCreateParamsIdentityBusinessDetailsDocumentsPrimaryVerificationFrontBack"
450 """
451 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
452 """
453 type: Literal["front_back"]
454 """
455 The format of the verification document. Currently supports `front_back` only.
456 """
457
458
459 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsPrimaryVerificationFrontBack(
460 TypedDict,
461 ):
462 back: NotRequired[str]
463 """
464 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
465 """
466 front: NotRequired[str]
467 """
468 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
469 """
470
471
472 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfAddress(
473 TypedDict,
474 ):
475 files: List[str]
476 """
477 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
478 """
479 type: Literal["files"]
480 """
481 The format of the document. Currently supports `files` only.
482 """
483
484
485 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfRegistration(
486 TypedDict,
487 ):
488 files: List[str]
489 """
490 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
491 """
492 type: Literal["files"]
493 """
494 The format of the document. Currently supports `files` only.
495 """
496
497
498 class AccountTokenCreateParamsIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnership(
499 TypedDict,
500 ):
501 files: List[str]
502 """
503 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
504 """
505 type: Literal["files"]
506 """
507 The format of the document. Currently supports `files` only.
508 """
509
510
511 class AccountTokenCreateParamsIdentityBusinessDetailsIdNumber(TypedDict):
512 registrar: NotRequired[str]
513 """
514 The registrar of the ID number (Only valid for DE ID number types).
515 """
516 type: Literal[
517 "ae_crn",
518 "ae_vat",
519 "ao_nif",
520 "ar_cuit",
521 "at_fn",
522 "at_stn",
523 "at_vat",
524 "au_abn",
525 "au_acn",
526 "au_in",
527 "az_tin",
528 "bd_etin",
529 "be_cbe",
530 "be_vat",
531 "bg_uic",
532 "bg_vat",
533 "br_cnpj",
534 "ca_cn",
535 "ca_crarr",
536 "ca_gst_hst",
537 "ca_neq",
538 "ca_rid",
539 "ch_chid",
540 "ch_uid",
541 "cr_cpj",
542 "cr_nite",
543 "cy_he",
544 "cy_tic",
545 "cy_vat",
546 "cz_ico",
547 "cz_vat",
548 "de_hrn",
549 "de_stn",
550 "de_vat",
551 "dk_cvr",
552 "dk_vat",
553 "do_rcn",
554 "ee_rk",
555 "ee_vat",
556 "es_cif",
557 "es_vat",
558 "fi_vat",
559 "fi_yt",
560 "fr_rna",
561 "fr_siren",
562 "fr_vat",
563 "gb_crn",
564 "gb_vat",
565 "gi_crn",
566 "gr_afm",
567 "gr_gemi",
568 "gr_vat",
569 "gt_nit",
570 "hk_br",
571 "hk_cr",
572 "hr_mbs",
573 "hr_oib",
574 "hr_vat",
575 "hu_cjs",
576 "hu_tin",
577 "hu_vat",
578 "ie_crn",
579 "ie_trn",
580 "ie_vat",
581 "it_rea",
582 "it_vat",
583 "jp_cn",
584 "kz_bin",
585 "li_uid",
586 "lt_ccrn",
587 "lt_vat",
588 "lu_nif",
589 "lu_rcs",
590 "lu_vat",
591 "lv_urn",
592 "lv_vat",
593 "mt_crn",
594 "mt_tin",
595 "mt_vat",
596 "mx_rfc",
597 "my_brn",
598 "my_coid",
599 "my_itn",
600 "my_sst",
601 "mz_nuit",
602 "nl_kvk",
603 "nl_rsin",
604 "nl_vat",
605 "no_orgnr",
606 "nz_bn",
607 "nz_ird",
608 "pe_ruc",
609 "pk_ntn",
610 "pl_nip",
611 "pl_regon",
612 "pl_vat",
613 "pt_vat",
614 "ro_cui",
615 "ro_orc",
616 "ro_vat",
617 "sa_crn",
618 "sa_tin",
619 "se_orgnr",
620 "se_vat",
621 "sg_uen",
622 "si_msp",
623 "si_tin",
624 "si_vat",
625 "sk_dic",
626 "sk_ico",
627 "sk_vat",
628 "th_crn",
629 "th_prn",
630 "th_tin",
631 "us_ein",
632 ]
633 """
634 Open Enum. The ID number type of a business entity.
635 """
636 value: str
637 """
638 The value of the ID number.
639 """
640
641
642 class AccountTokenCreateParamsIdentityBusinessDetailsMonthlyEstimatedRevenue(
643 TypedDict,
644 ):
645 amount: NotRequired[
646 "AccountTokenCreateParamsIdentityBusinessDetailsMonthlyEstimatedRevenueAmount"
647 ]
648 """
649 A non-negative integer representing the amount in the smallest currency unit.
650 """
651
652
653 class AccountTokenCreateParamsIdentityBusinessDetailsMonthlyEstimatedRevenueAmount(
654 TypedDict,
655 ):
656 value: NotRequired[int]
657 """
658 A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
659 """
660 currency: NotRequired[str]
661 """
662 Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
663 """
664
665
666 class AccountTokenCreateParamsIdentityBusinessDetailsRegistrationDate(
667 TypedDict,
668 ):
669 day: int
670 """
671 The day of registration, between 1 and 31.
672 """
673 month: int
674 """
675 The month of registration, between 1 and 12.
676 """
677 year: int
678 """
679 The four-digit year of registration.
680 """
681
682
683 class AccountTokenCreateParamsIdentityBusinessDetailsScriptAddresses(
684 TypedDict
685 ):
686 kana: NotRequired[
687 "AccountTokenCreateParamsIdentityBusinessDetailsScriptAddressesKana"
688 ]
689 """
690 Kana Address.
691 """
692 kanji: NotRequired[
693 "AccountTokenCreateParamsIdentityBusinessDetailsScriptAddressesKanji"
694 ]
695 """
696 Kanji Address.
697 """
698
699
700 class AccountTokenCreateParamsIdentityBusinessDetailsScriptAddressesKana(
701 TypedDict,
702 ):
703 city: NotRequired[str]
704 """
705 City, district, suburb, town, or village.
706 """
707 country: NotRequired[str]
708 """
709 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
710 """
711 line1: NotRequired[str]
712 """
713 Address line 1 (e.g., street, PO Box, or company name).
714 """
715 line2: NotRequired[str]
716 """
717 Address line 2 (e.g., apartment, suite, unit, or building).
718 """
719 postal_code: NotRequired[str]
720 """
721 ZIP or postal code.
722 """
723 state: NotRequired[str]
724 """
725 State, county, province, or region.
726 """
727 town: NotRequired[str]
728 """
729 Town or district.
730 """
731
732
733 class AccountTokenCreateParamsIdentityBusinessDetailsScriptAddressesKanji(
734 TypedDict,
735 ):
736 city: NotRequired[str]
737 """
738 City, district, suburb, town, or village.
739 """
740 country: NotRequired[str]
741 """
742 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
743 """
744 line1: NotRequired[str]
745 """
746 Address line 1 (e.g., street, PO Box, or company name).
747 """
748 line2: NotRequired[str]
749 """
750 Address line 2 (e.g., apartment, suite, unit, or building).
751 """
752 postal_code: NotRequired[str]
753 """
754 ZIP or postal code.
755 """
756 state: NotRequired[str]
757 """
758 State, county, province, or region.
759 """
760 town: NotRequired[str]
761 """
762 Town or district.
763 """
764
765
766 class AccountTokenCreateParamsIdentityBusinessDetailsScriptNames(TypedDict):
767 kana: NotRequired[
768 "AccountTokenCreateParamsIdentityBusinessDetailsScriptNamesKana"
769 ]
770 """
771 Kana name.
772 """
773 kanji: NotRequired[
774 "AccountTokenCreateParamsIdentityBusinessDetailsScriptNamesKanji"
775 ]
776 """
777 Kanji name.
778 """
779
780
781 class AccountTokenCreateParamsIdentityBusinessDetailsScriptNamesKana(
782 TypedDict
783 ):
784 registered_name: NotRequired[str]
785 """
786 Registered name of the business.
787 """
788
789
790 class AccountTokenCreateParamsIdentityBusinessDetailsScriptNamesKanji(
791 TypedDict,
792 ):
793 registered_name: NotRequired[str]
794 """
795 Registered name of the business.
796 """
797
798
799 class AccountTokenCreateParamsIdentityIndividual(TypedDict):
800 additional_addresses: NotRequired[
801 List["AccountTokenCreateParamsIdentityIndividualAdditionalAddress"]
802 ]
803 """
804 Additional addresses associated with the individual.
805 """
806 additional_names: NotRequired[
807 List["AccountTokenCreateParamsIdentityIndividualAdditionalName"]
808 ]
809 """
810 Additional names (e.g. aliases) associated with the individual.
811 """
812 address: NotRequired["AccountTokenCreateParamsIdentityIndividualAddress"]
813 """
814 The individual's residential address.
815 """
816 date_of_birth: NotRequired[
817 "AccountTokenCreateParamsIdentityIndividualDateOfBirth"
818 ]
819 """
820 The individual's date of birth.
821 """
822 documents: NotRequired[
823 "AccountTokenCreateParamsIdentityIndividualDocuments"
824 ]
825 """
826 Documents that may be submitted to satisfy various informational requests.
827 """
828 email: NotRequired[str]
829 """
830 The individual's email address.
831 """
832 given_name: NotRequired[str]
833 """
834 The individual's first name.
835 """
836 id_numbers: NotRequired[
837 List["AccountTokenCreateParamsIdentityIndividualIdNumber"]
838 ]
839 """
840 The identification numbers (e.g., SSN) associated with the individual.
841 """
842 legal_gender: NotRequired[Literal["female", "male"]]
843 """
844 The individual's gender (International regulations require either "male" or "female").
845 """
846 metadata: NotRequired[Dict[str, Optional[str]]]
847 """
848 Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
849 """
850 nationalities: NotRequired[List[str]]
851 """
852 The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
853 """
854 phone: NotRequired[str]
855 """
856 The individual's phone number.
857 """
858 political_exposure: NotRequired[Literal["existing", "none"]]
859 """
860 The individual's political exposure.
861 """
862 relationship: NotRequired[
863 "AccountTokenCreateParamsIdentityIndividualRelationship"
864 ]
865 """
866 The relationship that this individual has with the account's identity.
867 """
868 script_addresses: NotRequired[
869 "AccountTokenCreateParamsIdentityIndividualScriptAddresses"
870 ]
871 """
872 The script addresses (e.g., non-Latin characters) associated with the individual.
873 """
874 script_names: NotRequired[
875 "AccountTokenCreateParamsIdentityIndividualScriptNames"
876 ]
877 """
878 The individuals primary name in non latin script.
879 """
880 surname: NotRequired[str]
881 """
882 The individual's last name.
883 """
884
885
886 class AccountTokenCreateParamsIdentityIndividualAdditionalAddress(TypedDict):
887 city: NotRequired[str]
888 """
889 City, district, suburb, town, or village.
890 """
891 country: NotRequired[str]
892 """
893 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
894 """
895 line1: NotRequired[str]
896 """
897 Address line 1 (e.g., street, PO Box, or company name).
898 """
899 line2: NotRequired[str]
900 """
901 Address line 2 (e.g., apartment, suite, unit, or building).
902 """
903 postal_code: NotRequired[str]
904 """
905 ZIP or postal code.
906 """
907 purpose: Literal["registered"]
908 """
909 Purpose of additional address.
910 """
911 state: NotRequired[str]
912 """
913 State, county, province, or region.
914 """
915 town: NotRequired[str]
916 """
917 Town or district.
918 """
919
920
921 class AccountTokenCreateParamsIdentityIndividualAdditionalName(TypedDict):
922 full_name: NotRequired[str]
923 """
924 The person's full name.
925 """
926 given_name: NotRequired[str]
927 """
928 The person's first or given name.
929 """
930 purpose: Literal["alias", "maiden"]
931 """
932 The purpose or type of the additional name.
933 """
934 surname: NotRequired[str]
935 """
936 The person's last or family name.
937 """
938
939
940 class AccountTokenCreateParamsIdentityIndividualAddress(TypedDict):
941 city: NotRequired[str]
942 """
943 City, district, suburb, town, or village.
944 """
945 country: NotRequired[str]
946 """
947 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
948 """
949 line1: NotRequired[str]
950 """
951 Address line 1 (e.g., street, PO Box, or company name).
952 """
953 line2: NotRequired[str]
954 """
955 Address line 2 (e.g., apartment, suite, unit, or building).
956 """
957 postal_code: NotRequired[str]
958 """
959 ZIP or postal code.
960 """
961 state: NotRequired[str]
962 """
963 State, county, province, or region.
964 """
965 town: NotRequired[str]
966 """
967 Town or district.
968 """
969
970
971 class AccountTokenCreateParamsIdentityIndividualDateOfBirth(TypedDict):
972 day: int
973 """
974 The day of the birth.
975 """
976 month: int
977 """
978 The month of birth.
979 """
980 year: int
981 """
982 The year of birth.
983 """
984
985
986 class AccountTokenCreateParamsIdentityIndividualDocuments(TypedDict):
987 company_authorization: NotRequired[
988 "AccountTokenCreateParamsIdentityIndividualDocumentsCompanyAuthorization"
989 ]
990 """
991 One or more documents that demonstrate proof that this person is authorized to represent the company.
992 """
993 passport: NotRequired[
994 "AccountTokenCreateParamsIdentityIndividualDocumentsPassport"
995 ]
996 """
997 One or more documents showing the person's passport page with photo and personal data.
998 """
999 primary_verification: NotRequired[
1000 "AccountTokenCreateParamsIdentityIndividualDocumentsPrimaryVerification"
1001 ]
1002 """
1003 An identifying document showing the person's name, either a passport or local ID card.
1004 """
1005 secondary_verification: NotRequired[
1006 "AccountTokenCreateParamsIdentityIndividualDocumentsSecondaryVerification"
1007 ]
1008 """
1009 A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1010 """
1011 visa: NotRequired[
1012 "AccountTokenCreateParamsIdentityIndividualDocumentsVisa"
1013 ]
1014 """
1015 One or more documents showing the person's visa required for living in the country where they are residing.
1016 """
1017
1018
1019 class AccountTokenCreateParamsIdentityIndividualDocumentsCompanyAuthorization(
1020 TypedDict,
1021 ):
1022 files: List[str]
1023 """
1024 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1025 """
1026 type: Literal["files"]
1027 """
1028 The format of the document. Currently supports `files` only.
1029 """
1030
1031
1032 class AccountTokenCreateParamsIdentityIndividualDocumentsPassport(TypedDict):
1033 files: List[str]
1034 """
1035 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1036 """
1037 type: Literal["files"]
1038 """
1039 The format of the document. Currently supports `files` only.
1040 """
1041
1042
1043 class AccountTokenCreateParamsIdentityIndividualDocumentsPrimaryVerification(
1044 TypedDict,
1045 ):
1046 front_back: "AccountTokenCreateParamsIdentityIndividualDocumentsPrimaryVerificationFrontBack"
1047 """
1048 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1049 """
1050 type: Literal["front_back"]
1051 """
1052 The format of the verification document. Currently supports `front_back` only.
1053 """
1054
1055
1056 class AccountTokenCreateParamsIdentityIndividualDocumentsPrimaryVerificationFrontBack(
1057 TypedDict,
1058 ):
1059 back: NotRequired[str]
1060 """
1061 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1062 """
1063 front: NotRequired[str]
1064 """
1065 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1066 """
1067
1068
1069 class AccountTokenCreateParamsIdentityIndividualDocumentsSecondaryVerification(
1070 TypedDict,
1071 ):
1072 front_back: "AccountTokenCreateParamsIdentityIndividualDocumentsSecondaryVerificationFrontBack"
1073 """
1074 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1075 """
1076 type: Literal["front_back"]
1077 """
1078 The format of the verification document. Currently supports `front_back` only.
1079 """
1080
1081
1082 class AccountTokenCreateParamsIdentityIndividualDocumentsSecondaryVerificationFrontBack(
1083 TypedDict,
1084 ):
1085 back: NotRequired[str]
1086 """
1087 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1088 """
1089 front: NotRequired[str]
1090 """
1091 A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1092 """
1093
1094
1095 class AccountTokenCreateParamsIdentityIndividualDocumentsVisa(TypedDict):
1096 files: List[str]
1097 """
1098 One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1099 """
1100 type: Literal["files"]
1101 """
1102 The format of the document. Currently supports `files` only.
1103 """
1104
1105
1106 class AccountTokenCreateParamsIdentityIndividualIdNumber(TypedDict):
1107 type: Literal[
1108 "ae_eid",
1109 "ao_nif",
1110 "ar_cuil",
1111 "ar_dni",
1112 "at_stn",
1113 "az_tin",
1114 "bd_brc",
1115 "bd_etin",
1116 "bd_nid",
1117 "be_nrn",
1118 "bg_ucn",
1119 "bn_nric",
1120 "br_cpf",
1121 "ca_sin",
1122 "ch_oasi",
1123 "cl_rut",
1124 "cn_pp",
1125 "co_nuip",
1126 "cr_ci",
1127 "cr_cpf",
1128 "cr_dimex",
1129 "cr_nite",
1130 "cy_tic",
1131 "cz_rc",
1132 "de_stn",
1133 "dk_cpr",
1134 "do_cie",
1135 "do_rcn",
1136 "ec_ci",
1137 "ee_ik",
1138 "es_nif",
1139 "fi_hetu",
1140 "fr_nir",
1141 "gb_nino",
1142 "gr_afm",
1143 "gt_nit",
1144 "hk_id",
1145 "hr_oib",
1146 "hu_ad",
1147 "id_nik",
1148 "ie_ppsn",
1149 "is_kt",
1150 "it_cf",
1151 "jp_inc",
1152 "ke_pin",
1153 "kz_iin",
1154 "li_peid",
1155 "lt_ak",
1156 "lu_nif",
1157 "lv_pk",
1158 "mx_rfc",
1159 "my_nric",
1160 "mz_nuit",
1161 "ng_nin",
1162 "nl_bsn",
1163 "no_nin",
1164 "nz_ird",
1165 "pe_dni",
1166 "pk_cnic",
1167 "pk_snic",
1168 "pl_pesel",
1169 "pt_nif",
1170 "ro_cnp",
1171 "sa_tin",
1172 "se_pin",
1173 "sg_fin",
1174 "sg_nric",
1175 "sk_dic",
1176 "th_lc",
1177 "th_pin",
1178 "tr_tin",
1179 "us_itin",
1180 "us_itin_last_4",
1181 "us_ssn",
1182 "us_ssn_last_4",
1183 "uy_dni",
1184 "za_id",
1185 ]
1186 """
1187 The ID number type of an individual.
1188 """
1189 value: str
1190 """
1191 The value of the ID number.
1192 """
1193
1194
1195 class AccountTokenCreateParamsIdentityIndividualRelationship(TypedDict):
1196 director: NotRequired[bool]
1197 """
1198 Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
1199 """
1200 executive: NotRequired[bool]
1201 """
1202 Whether the person has significant responsibility to control, manage, or direct the organization.
1203 """
1204 owner: NotRequired[bool]
1205 """
1206 Whether the person is an owner of the account's identity.
1207 """
1208 percent_ownership: NotRequired[str]
1209 """
1210 The percent owned by the person of the account's legal entity.
1211 """
1212 title: NotRequired[str]
1213 """
1214 The person's title (e.g., CEO, Support Engineer).
1215 """
1216
1217
1218 class AccountTokenCreateParamsIdentityIndividualScriptAddresses(TypedDict):
1219 kana: NotRequired[
1220 "AccountTokenCreateParamsIdentityIndividualScriptAddressesKana"
1221 ]
1222 """
1223 Kana Address.
1224 """
1225 kanji: NotRequired[
1226 "AccountTokenCreateParamsIdentityIndividualScriptAddressesKanji"
1227 ]
1228 """
1229 Kanji Address.
1230 """
1231
1232
1233 class AccountTokenCreateParamsIdentityIndividualScriptAddressesKana(TypedDict):
1234 city: NotRequired[str]
1235 """
1236 City, district, suburb, town, or village.
1237 """
1238 country: NotRequired[str]
1239 """
1240 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1241 """
1242 line1: NotRequired[str]
1243 """
1244 Address line 1 (e.g., street, PO Box, or company name).
1245 """
1246 line2: NotRequired[str]
1247 """
1248 Address line 2 (e.g., apartment, suite, unit, or building).
1249 """
1250 postal_code: NotRequired[str]
1251 """
1252 ZIP or postal code.
1253 """
1254 state: NotRequired[str]
1255 """
1256 State, county, province, or region.
1257 """
1258 town: NotRequired[str]
1259 """
1260 Town or district.
1261 """
1262
1263
1264 class AccountTokenCreateParamsIdentityIndividualScriptAddressesKanji(
1265 TypedDict
1266 ):
1267 city: NotRequired[str]
1268 """
1269 City, district, suburb, town, or village.
1270 """
1271 country: NotRequired[str]
1272 """
1273 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1274 """
1275 line1: NotRequired[str]
1276 """
1277 Address line 1 (e.g., street, PO Box, or company name).
1278 """
1279 line2: NotRequired[str]
1280 """
1281 Address line 2 (e.g., apartment, suite, unit, or building).
1282 """
1283 postal_code: NotRequired[str]
1284 """
1285 ZIP or postal code.
1286 """
1287 state: NotRequired[str]
1288 """
1289 State, county, province, or region.
1290 """
1291 town: NotRequired[str]
1292 """
1293 Town or district.
1294 """
1295
1296
1297 class AccountTokenCreateParamsIdentityIndividualScriptNames(TypedDict):
1298 kana: NotRequired[
1299 "AccountTokenCreateParamsIdentityIndividualScriptNamesKana"
1300 ]
1301 """
1302 Persons name in kana script.
1303 """
1304 kanji: NotRequired[
1305 "AccountTokenCreateParamsIdentityIndividualScriptNamesKanji"
1306 ]
1307 """
1308 Persons name in kanji script.
1309 """
1310
1311
1312 class AccountTokenCreateParamsIdentityIndividualScriptNamesKana(TypedDict):
1313 given_name: NotRequired[str]
1314 """
1315 The person's first or given name.
1316 """
1317 surname: NotRequired[str]
1318 """
1319 The person's last or family name.
1320 """
1321
1322
1323 class AccountTokenCreateParamsIdentityIndividualScriptNamesKanji(TypedDict):
1324 given_name: NotRequired[str]
1325 """
1326 The person's first or given name.
1327 """
1328 surname: NotRequired[str]
1329 """
1330 The person's last or family name.
1331 """