Debian Codegraph @

stripe/v2/core/_account.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._stripe_object import StripeObject
4 from typing import ClassVar, Dict, List, Optional
5 from typing_extensions import Literal
6
7
8 class Account(StripeObject):
9 """
10 An Account v2 object represents a company, individual, or other entity that interacts with a platform on Stripe. It contains both identifying information and properties that control its behavior and functionality. An Account can have one or more configurations that enable sets of related features, such as allowing it to act as a merchant or customer.
11 The Accounts v2 API supports both the Global Payouts preview feature and the Connect-Billing integration preview feature. However, a particular Account can only access one of them.
12 The Connect-Billing integration preview feature allows an Account v2 to pay subscription fees to a platform. An Account v1 required a separate Customer object to pay subscription fees.
13 """
14
15 OBJECT_NAME: ClassVar[Literal["v2.core.account"]] = "v2.core.account"
16
17 class Configuration(StripeObject):
18 class Customer(StripeObject):
19 class AutomaticIndirectTax(StripeObject):
20 class Location(StripeObject):
21 country: Optional[str]
22 """
23 The identified tax country of the customer.
24 """
25 state: Optional[str]
26 """
27 The identified tax state, county, province, or region of the customer.
28 """
29
30 exempt: Optional[Literal["exempt", "none", "reverse"]]
31 """
32 The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
33 """
34 ip_address: Optional[str]
35 """
36 A recent IP address of the customer used for tax reporting and tax location inference.
37 """
38 location: Optional[Location]
39 """
40 The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`.
41 """
42 location_source: Optional[
43 Literal[
44 "identity_address",
45 "ip_address",
46 "payment_method",
47 "shipping_address",
48 ]
49 ]
50 """
51 Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
52 """
53 _inner_class_types = {"location": Location}
54
55 class Billing(StripeObject):
56 class Invoice(StripeObject):
57 class CustomField(StripeObject):
58 name: str
59 """
60 The name of the custom field. This may be up to 40 characters.
61 """
62 value: str
63 """
64 The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
65 """
66
67 class Rendering(StripeObject):
68 amount_tax_display: Optional[
69 Literal["exclude_tax", "include_inclusive_tax"]
70 ]
71 """
72 Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
73 """
74 template: Optional[str]
75 """
76 ID of the invoice rendering template to use for future invoices.
77 """
78
79 custom_fields: List[CustomField]
80 """
81 The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
82 """
83 footer: Optional[str]
84 """
85 Default invoice footer.
86 """
87 next_sequence: Optional[int]
88 """
89 Sequence number to use on the customer account's next invoice. Defaults to 1.
90 """
91 prefix: Optional[str]
92 """
93 Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
94 """
95 rendering: Optional[Rendering]
96 """
97 Default invoice PDF rendering options.
98 """
99 _inner_class_types = {
100 "custom_fields": CustomField,
101 "rendering": Rendering,
102 }
103
104 default_payment_method: Optional[str]
105 """
106 ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
107 """
108 invoice: Optional[Invoice]
109 """
110 Default invoice settings for the customer account.
111 """
112 _inner_class_types = {"invoice": Invoice}
113
114 class Capabilities(StripeObject):
115 class AutomaticIndirectTax(StripeObject):
116 class StatusDetail(StripeObject):
117 code: Literal[
118 "determining_status",
119 "requirements_past_due",
120 "requirements_pending_verification",
121 "restricted_other",
122 "unsupported_business",
123 "unsupported_country",
124 "unsupported_entity_type",
125 ]
126 """
127 Machine-readable code explaining the reason for the Capability to be in its current status.
128 """
129 resolution: Literal[
130 "contact_stripe", "no_resolution", "provide_info"
131 ]
132 """
133 Machine-readable code explaining how to make the Capability active.
134 """
135
136 status: Literal[
137 "active", "pending", "restricted", "unsupported"
138 ]
139 """
140 The status of the Capability.
141 """
142 status_details: List[StatusDetail]
143 """
144 Additional details about the capability's status. This value is empty when `status` is `active`.
145 """
146 _inner_class_types = {"status_details": StatusDetail}
147
148 automatic_indirect_tax: Optional[AutomaticIndirectTax]
149 """
150 Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions.
151 """
152 _inner_class_types = {
153 "automatic_indirect_tax": AutomaticIndirectTax,
154 }
155
156 class Shipping(StripeObject):
157 class Address(StripeObject):
158 city: Optional[str]
159 """
160 City, district, suburb, town, or village.
161 """
162 country: Optional[str]
163 """
164 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
165 """
166 line1: Optional[str]
167 """
168 Address line 1 (e.g., street, PO Box, or company name).
169 """
170 line2: Optional[str]
171 """
172 Address line 2 (e.g., apartment, suite, unit, or building).
173 """
174 postal_code: Optional[str]
175 """
176 ZIP or postal code.
177 """
178 state: Optional[str]
179 """
180 State, county, province, or region.
181 """
182
183 address: Optional[Address]
184 """
185 Customer shipping address.
186 """
187 name: Optional[str]
188 """
189 Customer name.
190 """
191 phone: Optional[str]
192 """
193 Customer phone (including extension).
194 """
195 _inner_class_types = {"address": Address}
196
197 applied: bool
198 """
199 Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
200 """
201 automatic_indirect_tax: Optional[AutomaticIndirectTax]
202 """
203 Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location.
204 """
205 billing: Optional[Billing]
206 """
207 Default Billing settings for the customer account, used in Invoices and Subscriptions.
208 """
209 capabilities: Optional[Capabilities]
210 """
211 Capabilities that have been requested on the Customer Configuration.
212 """
213 shipping: Optional[Shipping]
214 """
215 The customer's shipping information. Appears on invoices emailed to this customer.
216 """
217 test_clock: Optional[str]
218 """
219 ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
220 """
221 _inner_class_types = {
222 "automatic_indirect_tax": AutomaticIndirectTax,
223 "billing": Billing,
224 "capabilities": Capabilities,
225 "shipping": Shipping,
226 }
227
228 class Merchant(StripeObject):
229 class BacsDebitPayments(StripeObject):
230 display_name: Optional[str]
231 """
232 Display name for Bacs Direct Debit payments.
233 """
234 service_user_number: Optional[str]
235 """
236 Service User Number (SUN) for Bacs Direct Debit payments.
237 """
238
239 class Branding(StripeObject):
240 icon: Optional[str]
241 """
242 ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px.
243 """
244 logo: Optional[str]
245 """
246 ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px.
247 """
248 primary_color: Optional[str]
249 """
250 A CSS hex color value representing the primary branding color for the merchant.
251 """
252 secondary_color: Optional[str]
253 """
254 A CSS hex color value representing the secondary branding color for the merchant.
255 """
256
257 class Capabilities(StripeObject):
258 class AchDebitPayments(StripeObject):
259 class StatusDetail(StripeObject):
260 code: Literal[
261 "determining_status",
262 "requirements_past_due",
263 "requirements_pending_verification",
264 "restricted_other",
265 "unsupported_business",
266 "unsupported_country",
267 "unsupported_entity_type",
268 ]
269 """
270 Machine-readable code explaining the reason for the Capability to be in its current status.
271 """
272 resolution: Literal[
273 "contact_stripe", "no_resolution", "provide_info"
274 ]
275 """
276 Machine-readable code explaining how to make the Capability active.
277 """
278
279 status: Literal[
280 "active", "pending", "restricted", "unsupported"
281 ]
282 """
283 The status of the Capability.
284 """
285 status_details: List[StatusDetail]
286 """
287 Additional details about the capability's status. This value is empty when `status` is `active`.
288 """
289 _inner_class_types = {"status_details": StatusDetail}
290
291 class AcssDebitPayments(StripeObject):
292 class StatusDetail(StripeObject):
293 code: Literal[
294 "determining_status",
295 "requirements_past_due",
296 "requirements_pending_verification",
297 "restricted_other",
298 "unsupported_business",
299 "unsupported_country",
300 "unsupported_entity_type",
301 ]
302 """
303 Machine-readable code explaining the reason for the Capability to be in its current status.
304 """
305 resolution: Literal[
306 "contact_stripe", "no_resolution", "provide_info"
307 ]
308 """
309 Machine-readable code explaining how to make the Capability active.
310 """
311
312 status: Literal[
313 "active", "pending", "restricted", "unsupported"
314 ]
315 """
316 The status of the Capability.
317 """
318 status_details: List[StatusDetail]
319 """
320 Additional details about the capability's status. This value is empty when `status` is `active`.
321 """
322 _inner_class_types = {"status_details": StatusDetail}
323
324 class AffirmPayments(StripeObject):
325 class StatusDetail(StripeObject):
326 code: Literal[
327 "determining_status",
328 "requirements_past_due",
329 "requirements_pending_verification",
330 "restricted_other",
331 "unsupported_business",
332 "unsupported_country",
333 "unsupported_entity_type",
334 ]
335 """
336 Machine-readable code explaining the reason for the Capability to be in its current status.
337 """
338 resolution: Literal[
339 "contact_stripe", "no_resolution", "provide_info"
340 ]
341 """
342 Machine-readable code explaining how to make the Capability active.
343 """
344
345 status: Literal[
346 "active", "pending", "restricted", "unsupported"
347 ]
348 """
349 The status of the Capability.
350 """
351 status_details: List[StatusDetail]
352 """
353 Additional details about the capability's status. This value is empty when `status` is `active`.
354 """
355 _inner_class_types = {"status_details": StatusDetail}
356
357 class AfterpayClearpayPayments(StripeObject):
358 class StatusDetail(StripeObject):
359 code: Literal[
360 "determining_status",
361 "requirements_past_due",
362 "requirements_pending_verification",
363 "restricted_other",
364 "unsupported_business",
365 "unsupported_country",
366 "unsupported_entity_type",
367 ]
368 """
369 Machine-readable code explaining the reason for the Capability to be in its current status.
370 """
371 resolution: Literal[
372 "contact_stripe", "no_resolution", "provide_info"
373 ]
374 """
375 Machine-readable code explaining how to make the Capability active.
376 """
377
378 status: Literal[
379 "active", "pending", "restricted", "unsupported"
380 ]
381 """
382 The status of the Capability.
383 """
384 status_details: List[StatusDetail]
385 """
386 Additional details about the capability's status. This value is empty when `status` is `active`.
387 """
388 _inner_class_types = {"status_details": StatusDetail}
389
390 class AlmaPayments(StripeObject):
391 class StatusDetail(StripeObject):
392 code: Literal[
393 "determining_status",
394 "requirements_past_due",
395 "requirements_pending_verification",
396 "restricted_other",
397 "unsupported_business",
398 "unsupported_country",
399 "unsupported_entity_type",
400 ]
401 """
402 Machine-readable code explaining the reason for the Capability to be in its current status.
403 """
404 resolution: Literal[
405 "contact_stripe", "no_resolution", "provide_info"
406 ]
407 """
408 Machine-readable code explaining how to make the Capability active.
409 """
410
411 status: Literal[
412 "active", "pending", "restricted", "unsupported"
413 ]
414 """
415 The status of the Capability.
416 """
417 status_details: List[StatusDetail]
418 """
419 Additional details about the capability's status. This value is empty when `status` is `active`.
420 """
421 _inner_class_types = {"status_details": StatusDetail}
422
423 class AmazonPayPayments(StripeObject):
424 class StatusDetail(StripeObject):
425 code: Literal[
426 "determining_status",
427 "requirements_past_due",
428 "requirements_pending_verification",
429 "restricted_other",
430 "unsupported_business",
431 "unsupported_country",
432 "unsupported_entity_type",
433 ]
434 """
435 Machine-readable code explaining the reason for the Capability to be in its current status.
436 """
437 resolution: Literal[
438 "contact_stripe", "no_resolution", "provide_info"
439 ]
440 """
441 Machine-readable code explaining how to make the Capability active.
442 """
443
444 status: Literal[
445 "active", "pending", "restricted", "unsupported"
446 ]
447 """
448 The status of the Capability.
449 """
450 status_details: List[StatusDetail]
451 """
452 Additional details about the capability's status. This value is empty when `status` is `active`.
453 """
454 _inner_class_types = {"status_details": StatusDetail}
455
456 class AuBecsDebitPayments(StripeObject):
457 class StatusDetail(StripeObject):
458 code: Literal[
459 "determining_status",
460 "requirements_past_due",
461 "requirements_pending_verification",
462 "restricted_other",
463 "unsupported_business",
464 "unsupported_country",
465 "unsupported_entity_type",
466 ]
467 """
468 Machine-readable code explaining the reason for the Capability to be in its current status.
469 """
470 resolution: Literal[
471 "contact_stripe", "no_resolution", "provide_info"
472 ]
473 """
474 Machine-readable code explaining how to make the Capability active.
475 """
476
477 status: Literal[
478 "active", "pending", "restricted", "unsupported"
479 ]
480 """
481 The status of the Capability.
482 """
483 status_details: List[StatusDetail]
484 """
485 Additional details about the capability's status. This value is empty when `status` is `active`.
486 """
487 _inner_class_types = {"status_details": StatusDetail}
488
489 class BacsDebitPayments(StripeObject):
490 class StatusDetail(StripeObject):
491 code: Literal[
492 "determining_status",
493 "requirements_past_due",
494 "requirements_pending_verification",
495 "restricted_other",
496 "unsupported_business",
497 "unsupported_country",
498 "unsupported_entity_type",
499 ]
500 """
501 Machine-readable code explaining the reason for the Capability to be in its current status.
502 """
503 resolution: Literal[
504 "contact_stripe", "no_resolution", "provide_info"
505 ]
506 """
507 Machine-readable code explaining how to make the Capability active.
508 """
509
510 status: Literal[
511 "active", "pending", "restricted", "unsupported"
512 ]
513 """
514 The status of the Capability.
515 """
516 status_details: List[StatusDetail]
517 """
518 Additional details about the capability's status. This value is empty when `status` is `active`.
519 """
520 _inner_class_types = {"status_details": StatusDetail}
521
522 class BancontactPayments(StripeObject):
523 class StatusDetail(StripeObject):
524 code: Literal[
525 "determining_status",
526 "requirements_past_due",
527 "requirements_pending_verification",
528 "restricted_other",
529 "unsupported_business",
530 "unsupported_country",
531 "unsupported_entity_type",
532 ]
533 """
534 Machine-readable code explaining the reason for the Capability to be in its current status.
535 """
536 resolution: Literal[
537 "contact_stripe", "no_resolution", "provide_info"
538 ]
539 """
540 Machine-readable code explaining how to make the Capability active.
541 """
542
543 status: Literal[
544 "active", "pending", "restricted", "unsupported"
545 ]
546 """
547 The status of the Capability.
548 """
549 status_details: List[StatusDetail]
550 """
551 Additional details about the capability's status. This value is empty when `status` is `active`.
552 """
553 _inner_class_types = {"status_details": StatusDetail}
554
555 class BlikPayments(StripeObject):
556 class StatusDetail(StripeObject):
557 code: Literal[
558 "determining_status",
559 "requirements_past_due",
560 "requirements_pending_verification",
561 "restricted_other",
562 "unsupported_business",
563 "unsupported_country",
564 "unsupported_entity_type",
565 ]
566 """
567 Machine-readable code explaining the reason for the Capability to be in its current status.
568 """
569 resolution: Literal[
570 "contact_stripe", "no_resolution", "provide_info"
571 ]
572 """
573 Machine-readable code explaining how to make the Capability active.
574 """
575
576 status: Literal[
577 "active", "pending", "restricted", "unsupported"
578 ]
579 """
580 The status of the Capability.
581 """
582 status_details: List[StatusDetail]
583 """
584 Additional details about the capability's status. This value is empty when `status` is `active`.
585 """
586 _inner_class_types = {"status_details": StatusDetail}
587
588 class BoletoPayments(StripeObject):
589 class StatusDetail(StripeObject):
590 code: Literal[
591 "determining_status",
592 "requirements_past_due",
593 "requirements_pending_verification",
594 "restricted_other",
595 "unsupported_business",
596 "unsupported_country",
597 "unsupported_entity_type",
598 ]
599 """
600 Machine-readable code explaining the reason for the Capability to be in its current status.
601 """
602 resolution: Literal[
603 "contact_stripe", "no_resolution", "provide_info"
604 ]
605 """
606 Machine-readable code explaining how to make the Capability active.
607 """
608
609 status: Literal[
610 "active", "pending", "restricted", "unsupported"
611 ]
612 """
613 The status of the Capability.
614 """
615 status_details: List[StatusDetail]
616 """
617 Additional details about the capability's status. This value is empty when `status` is `active`.
618 """
619 _inner_class_types = {"status_details": StatusDetail}
620
621 class CardPayments(StripeObject):
622 class StatusDetail(StripeObject):
623 code: Literal[
624 "determining_status",
625 "requirements_past_due",
626 "requirements_pending_verification",
627 "restricted_other",
628 "unsupported_business",
629 "unsupported_country",
630 "unsupported_entity_type",
631 ]
632 """
633 Machine-readable code explaining the reason for the Capability to be in its current status.
634 """
635 resolution: Literal[
636 "contact_stripe", "no_resolution", "provide_info"
637 ]
638 """
639 Machine-readable code explaining how to make the Capability active.
640 """
641
642 status: Literal[
643 "active", "pending", "restricted", "unsupported"
644 ]
645 """
646 The status of the Capability.
647 """
648 status_details: List[StatusDetail]
649 """
650 Additional details about the capability's status. This value is empty when `status` is `active`.
651 """
652 _inner_class_types = {"status_details": StatusDetail}
653
654 class CartesBancairesPayments(StripeObject):
655 class StatusDetail(StripeObject):
656 code: Literal[
657 "determining_status",
658 "requirements_past_due",
659 "requirements_pending_verification",
660 "restricted_other",
661 "unsupported_business",
662 "unsupported_country",
663 "unsupported_entity_type",
664 ]
665 """
666 Machine-readable code explaining the reason for the Capability to be in its current status.
667 """
668 resolution: Literal[
669 "contact_stripe", "no_resolution", "provide_info"
670 ]
671 """
672 Machine-readable code explaining how to make the Capability active.
673 """
674
675 status: Literal[
676 "active", "pending", "restricted", "unsupported"
677 ]
678 """
679 The status of the Capability.
680 """
681 status_details: List[StatusDetail]
682 """
683 Additional details about the capability's status. This value is empty when `status` is `active`.
684 """
685 _inner_class_types = {"status_details": StatusDetail}
686
687 class CashappPayments(StripeObject):
688 class StatusDetail(StripeObject):
689 code: Literal[
690 "determining_status",
691 "requirements_past_due",
692 "requirements_pending_verification",
693 "restricted_other",
694 "unsupported_business",
695 "unsupported_country",
696 "unsupported_entity_type",
697 ]
698 """
699 Machine-readable code explaining the reason for the Capability to be in its current status.
700 """
701 resolution: Literal[
702 "contact_stripe", "no_resolution", "provide_info"
703 ]
704 """
705 Machine-readable code explaining how to make the Capability active.
706 """
707
708 status: Literal[
709 "active", "pending", "restricted", "unsupported"
710 ]
711 """
712 The status of the Capability.
713 """
714 status_details: List[StatusDetail]
715 """
716 Additional details about the capability's status. This value is empty when `status` is `active`.
717 """
718 _inner_class_types = {"status_details": StatusDetail}
719
720 class EpsPayments(StripeObject):
721 class StatusDetail(StripeObject):
722 code: Literal[
723 "determining_status",
724 "requirements_past_due",
725 "requirements_pending_verification",
726 "restricted_other",
727 "unsupported_business",
728 "unsupported_country",
729 "unsupported_entity_type",
730 ]
731 """
732 Machine-readable code explaining the reason for the Capability to be in its current status.
733 """
734 resolution: Literal[
735 "contact_stripe", "no_resolution", "provide_info"
736 ]
737 """
738 Machine-readable code explaining how to make the Capability active.
739 """
740
741 status: Literal[
742 "active", "pending", "restricted", "unsupported"
743 ]
744 """
745 The status of the Capability.
746 """
747 status_details: List[StatusDetail]
748 """
749 Additional details about the capability's status. This value is empty when `status` is `active`.
750 """
751 _inner_class_types = {"status_details": StatusDetail}
752
753 class FpxPayments(StripeObject):
754 class StatusDetail(StripeObject):
755 code: Literal[
756 "determining_status",
757 "requirements_past_due",
758 "requirements_pending_verification",
759 "restricted_other",
760 "unsupported_business",
761 "unsupported_country",
762 "unsupported_entity_type",
763 ]
764 """
765 Machine-readable code explaining the reason for the Capability to be in its current status.
766 """
767 resolution: Literal[
768 "contact_stripe", "no_resolution", "provide_info"
769 ]
770 """
771 Machine-readable code explaining how to make the Capability active.
772 """
773
774 status: Literal[
775 "active", "pending", "restricted", "unsupported"
776 ]
777 """
778 The status of the Capability.
779 """
780 status_details: List[StatusDetail]
781 """
782 Additional details about the capability's status. This value is empty when `status` is `active`.
783 """
784 _inner_class_types = {"status_details": StatusDetail}
785
786 class GbBankTransferPayments(StripeObject):
787 class StatusDetail(StripeObject):
788 code: Literal[
789 "determining_status",
790 "requirements_past_due",
791 "requirements_pending_verification",
792 "restricted_other",
793 "unsupported_business",
794 "unsupported_country",
795 "unsupported_entity_type",
796 ]
797 """
798 Machine-readable code explaining the reason for the Capability to be in its current status.
799 """
800 resolution: Literal[
801 "contact_stripe", "no_resolution", "provide_info"
802 ]
803 """
804 Machine-readable code explaining how to make the Capability active.
805 """
806
807 status: Literal[
808 "active", "pending", "restricted", "unsupported"
809 ]
810 """
811 The status of the Capability.
812 """
813 status_details: List[StatusDetail]
814 """
815 Additional details about the capability's status. This value is empty when `status` is `active`.
816 """
817 _inner_class_types = {"status_details": StatusDetail}
818
819 class GrabpayPayments(StripeObject):
820 class StatusDetail(StripeObject):
821 code: Literal[
822 "determining_status",
823 "requirements_past_due",
824 "requirements_pending_verification",
825 "restricted_other",
826 "unsupported_business",
827 "unsupported_country",
828 "unsupported_entity_type",
829 ]
830 """
831 Machine-readable code explaining the reason for the Capability to be in its current status.
832 """
833 resolution: Literal[
834 "contact_stripe", "no_resolution", "provide_info"
835 ]
836 """
837 Machine-readable code explaining how to make the Capability active.
838 """
839
840 status: Literal[
841 "active", "pending", "restricted", "unsupported"
842 ]
843 """
844 The status of the Capability.
845 """
846 status_details: List[StatusDetail]
847 """
848 Additional details about the capability's status. This value is empty when `status` is `active`.
849 """
850 _inner_class_types = {"status_details": StatusDetail}
851
852 class IdealPayments(StripeObject):
853 class StatusDetail(StripeObject):
854 code: Literal[
855 "determining_status",
856 "requirements_past_due",
857 "requirements_pending_verification",
858 "restricted_other",
859 "unsupported_business",
860 "unsupported_country",
861 "unsupported_entity_type",
862 ]
863 """
864 Machine-readable code explaining the reason for the Capability to be in its current status.
865 """
866 resolution: Literal[
867 "contact_stripe", "no_resolution", "provide_info"
868 ]
869 """
870 Machine-readable code explaining how to make the Capability active.
871 """
872
873 status: Literal[
874 "active", "pending", "restricted", "unsupported"
875 ]
876 """
877 The status of the Capability.
878 """
879 status_details: List[StatusDetail]
880 """
881 Additional details about the capability's status. This value is empty when `status` is `active`.
882 """
883 _inner_class_types = {"status_details": StatusDetail}
884
885 class JcbPayments(StripeObject):
886 class StatusDetail(StripeObject):
887 code: Literal[
888 "determining_status",
889 "requirements_past_due",
890 "requirements_pending_verification",
891 "restricted_other",
892 "unsupported_business",
893 "unsupported_country",
894 "unsupported_entity_type",
895 ]
896 """
897 Machine-readable code explaining the reason for the Capability to be in its current status.
898 """
899 resolution: Literal[
900 "contact_stripe", "no_resolution", "provide_info"
901 ]
902 """
903 Machine-readable code explaining how to make the Capability active.
904 """
905
906 status: Literal[
907 "active", "pending", "restricted", "unsupported"
908 ]
909 """
910 The status of the Capability.
911 """
912 status_details: List[StatusDetail]
913 """
914 Additional details about the capability's status. This value is empty when `status` is `active`.
915 """
916 _inner_class_types = {"status_details": StatusDetail}
917
918 class JpBankTransferPayments(StripeObject):
919 class StatusDetail(StripeObject):
920 code: Literal[
921 "determining_status",
922 "requirements_past_due",
923 "requirements_pending_verification",
924 "restricted_other",
925 "unsupported_business",
926 "unsupported_country",
927 "unsupported_entity_type",
928 ]
929 """
930 Machine-readable code explaining the reason for the Capability to be in its current status.
931 """
932 resolution: Literal[
933 "contact_stripe", "no_resolution", "provide_info"
934 ]
935 """
936 Machine-readable code explaining how to make the Capability active.
937 """
938
939 status: Literal[
940 "active", "pending", "restricted", "unsupported"
941 ]
942 """
943 The status of the Capability.
944 """
945 status_details: List[StatusDetail]
946 """
947 Additional details about the capability's status. This value is empty when `status` is `active`.
948 """
949 _inner_class_types = {"status_details": StatusDetail}
950
951 class KakaoPayPayments(StripeObject):
952 class StatusDetail(StripeObject):
953 code: Literal[
954 "determining_status",
955 "requirements_past_due",
956 "requirements_pending_verification",
957 "restricted_other",
958 "unsupported_business",
959 "unsupported_country",
960 "unsupported_entity_type",
961 ]
962 """
963 Machine-readable code explaining the reason for the Capability to be in its current status.
964 """
965 resolution: Literal[
966 "contact_stripe", "no_resolution", "provide_info"
967 ]
968 """
969 Machine-readable code explaining how to make the Capability active.
970 """
971
972 status: Literal[
973 "active", "pending", "restricted", "unsupported"
974 ]
975 """
976 The status of the Capability.
977 """
978 status_details: List[StatusDetail]
979 """
980 Additional details about the capability's status. This value is empty when `status` is `active`.
981 """
982 _inner_class_types = {"status_details": StatusDetail}
983
984 class KlarnaPayments(StripeObject):
985 class StatusDetail(StripeObject):
986 code: Literal[
987 "determining_status",
988 "requirements_past_due",
989 "requirements_pending_verification",
990 "restricted_other",
991 "unsupported_business",
992 "unsupported_country",
993 "unsupported_entity_type",
994 ]
995 """
996 Machine-readable code explaining the reason for the Capability to be in its current status.
997 """
998 resolution: Literal[
999 "contact_stripe", "no_resolution", "provide_info"
1000 ]
1001 """
1002 Machine-readable code explaining how to make the Capability active.
1003 """
1004
1005 status: Literal[
1006 "active", "pending", "restricted", "unsupported"
1007 ]
1008 """
1009 The status of the Capability.
1010 """
1011 status_details: List[StatusDetail]
1012 """
1013 Additional details about the capability's status. This value is empty when `status` is `active`.
1014 """
1015 _inner_class_types = {"status_details": StatusDetail}
1016
1017 class KonbiniPayments(StripeObject):
1018 class StatusDetail(StripeObject):
1019 code: Literal[
1020 "determining_status",
1021 "requirements_past_due",
1022 "requirements_pending_verification",
1023 "restricted_other",
1024 "unsupported_business",
1025 "unsupported_country",
1026 "unsupported_entity_type",
1027 ]
1028 """
1029 Machine-readable code explaining the reason for the Capability to be in its current status.
1030 """
1031 resolution: Literal[
1032 "contact_stripe", "no_resolution", "provide_info"
1033 ]
1034 """
1035 Machine-readable code explaining how to make the Capability active.
1036 """
1037
1038 status: Literal[
1039 "active", "pending", "restricted", "unsupported"
1040 ]
1041 """
1042 The status of the Capability.
1043 """
1044 status_details: List[StatusDetail]
1045 """
1046 Additional details about the capability's status. This value is empty when `status` is `active`.
1047 """
1048 _inner_class_types = {"status_details": StatusDetail}
1049
1050 class KrCardPayments(StripeObject):
1051 class StatusDetail(StripeObject):
1052 code: Literal[
1053 "determining_status",
1054 "requirements_past_due",
1055 "requirements_pending_verification",
1056 "restricted_other",
1057 "unsupported_business",
1058 "unsupported_country",
1059 "unsupported_entity_type",
1060 ]
1061 """
1062 Machine-readable code explaining the reason for the Capability to be in its current status.
1063 """
1064 resolution: Literal[
1065 "contact_stripe", "no_resolution", "provide_info"
1066 ]
1067 """
1068 Machine-readable code explaining how to make the Capability active.
1069 """
1070
1071 status: Literal[
1072 "active", "pending", "restricted", "unsupported"
1073 ]
1074 """
1075 The status of the Capability.
1076 """
1077 status_details: List[StatusDetail]
1078 """
1079 Additional details about the capability's status. This value is empty when `status` is `active`.
1080 """
1081 _inner_class_types = {"status_details": StatusDetail}
1082
1083 class LinkPayments(StripeObject):
1084 class StatusDetail(StripeObject):
1085 code: Literal[
1086 "determining_status",
1087 "requirements_past_due",
1088 "requirements_pending_verification",
1089 "restricted_other",
1090 "unsupported_business",
1091 "unsupported_country",
1092 "unsupported_entity_type",
1093 ]
1094 """
1095 Machine-readable code explaining the reason for the Capability to be in its current status.
1096 """
1097 resolution: Literal[
1098 "contact_stripe", "no_resolution", "provide_info"
1099 ]
1100 """
1101 Machine-readable code explaining how to make the Capability active.
1102 """
1103
1104 status: Literal[
1105 "active", "pending", "restricted", "unsupported"
1106 ]
1107 """
1108 The status of the Capability.
1109 """
1110 status_details: List[StatusDetail]
1111 """
1112 Additional details about the capability's status. This value is empty when `status` is `active`.
1113 """
1114 _inner_class_types = {"status_details": StatusDetail}
1115
1116 class MobilepayPayments(StripeObject):
1117 class StatusDetail(StripeObject):
1118 code: Literal[
1119 "determining_status",
1120 "requirements_past_due",
1121 "requirements_pending_verification",
1122 "restricted_other",
1123 "unsupported_business",
1124 "unsupported_country",
1125 "unsupported_entity_type",
1126 ]
1127 """
1128 Machine-readable code explaining the reason for the Capability to be in its current status.
1129 """
1130 resolution: Literal[
1131 "contact_stripe", "no_resolution", "provide_info"
1132 ]
1133 """
1134 Machine-readable code explaining how to make the Capability active.
1135 """
1136
1137 status: Literal[
1138 "active", "pending", "restricted", "unsupported"
1139 ]
1140 """
1141 The status of the Capability.
1142 """
1143 status_details: List[StatusDetail]
1144 """
1145 Additional details about the capability's status. This value is empty when `status` is `active`.
1146 """
1147 _inner_class_types = {"status_details": StatusDetail}
1148
1149 class MultibancoPayments(StripeObject):
1150 class StatusDetail(StripeObject):
1151 code: Literal[
1152 "determining_status",
1153 "requirements_past_due",
1154 "requirements_pending_verification",
1155 "restricted_other",
1156 "unsupported_business",
1157 "unsupported_country",
1158 "unsupported_entity_type",
1159 ]
1160 """
1161 Machine-readable code explaining the reason for the Capability to be in its current status.
1162 """
1163 resolution: Literal[
1164 "contact_stripe", "no_resolution", "provide_info"
1165 ]
1166 """
1167 Machine-readable code explaining how to make the Capability active.
1168 """
1169
1170 status: Literal[
1171 "active", "pending", "restricted", "unsupported"
1172 ]
1173 """
1174 The status of the Capability.
1175 """
1176 status_details: List[StatusDetail]
1177 """
1178 Additional details about the capability's status. This value is empty when `status` is `active`.
1179 """
1180 _inner_class_types = {"status_details": StatusDetail}
1181
1182 class MxBankTransferPayments(StripeObject):
1183 class StatusDetail(StripeObject):
1184 code: Literal[
1185 "determining_status",
1186 "requirements_past_due",
1187 "requirements_pending_verification",
1188 "restricted_other",
1189 "unsupported_business",
1190 "unsupported_country",
1191 "unsupported_entity_type",
1192 ]
1193 """
1194 Machine-readable code explaining the reason for the Capability to be in its current status.
1195 """
1196 resolution: Literal[
1197 "contact_stripe", "no_resolution", "provide_info"
1198 ]
1199 """
1200 Machine-readable code explaining how to make the Capability active.
1201 """
1202
1203 status: Literal[
1204 "active", "pending", "restricted", "unsupported"
1205 ]
1206 """
1207 The status of the Capability.
1208 """
1209 status_details: List[StatusDetail]
1210 """
1211 Additional details about the capability's status. This value is empty when `status` is `active`.
1212 """
1213 _inner_class_types = {"status_details": StatusDetail}
1214
1215 class NaverPayPayments(StripeObject):
1216 class StatusDetail(StripeObject):
1217 code: Literal[
1218 "determining_status",
1219 "requirements_past_due",
1220 "requirements_pending_verification",
1221 "restricted_other",
1222 "unsupported_business",
1223 "unsupported_country",
1224 "unsupported_entity_type",
1225 ]
1226 """
1227 Machine-readable code explaining the reason for the Capability to be in its current status.
1228 """
1229 resolution: Literal[
1230 "contact_stripe", "no_resolution", "provide_info"
1231 ]
1232 """
1233 Machine-readable code explaining how to make the Capability active.
1234 """
1235
1236 status: Literal[
1237 "active", "pending", "restricted", "unsupported"
1238 ]
1239 """
1240 The status of the Capability.
1241 """
1242 status_details: List[StatusDetail]
1243 """
1244 Additional details about the capability's status. This value is empty when `status` is `active`.
1245 """
1246 _inner_class_types = {"status_details": StatusDetail}
1247
1248 class OxxoPayments(StripeObject):
1249 class StatusDetail(StripeObject):
1250 code: Literal[
1251 "determining_status",
1252 "requirements_past_due",
1253 "requirements_pending_verification",
1254 "restricted_other",
1255 "unsupported_business",
1256 "unsupported_country",
1257 "unsupported_entity_type",
1258 ]
1259 """
1260 Machine-readable code explaining the reason for the Capability to be in its current status.
1261 """
1262 resolution: Literal[
1263 "contact_stripe", "no_resolution", "provide_info"
1264 ]
1265 """
1266 Machine-readable code explaining how to make the Capability active.
1267 """
1268
1269 status: Literal[
1270 "active", "pending", "restricted", "unsupported"
1271 ]
1272 """
1273 The status of the Capability.
1274 """
1275 status_details: List[StatusDetail]
1276 """
1277 Additional details about the capability's status. This value is empty when `status` is `active`.
1278 """
1279 _inner_class_types = {"status_details": StatusDetail}
1280
1281 class P24Payments(StripeObject):
1282 class StatusDetail(StripeObject):
1283 code: Literal[
1284 "determining_status",
1285 "requirements_past_due",
1286 "requirements_pending_verification",
1287 "restricted_other",
1288 "unsupported_business",
1289 "unsupported_country",
1290 "unsupported_entity_type",
1291 ]
1292 """
1293 Machine-readable code explaining the reason for the Capability to be in its current status.
1294 """
1295 resolution: Literal[
1296 "contact_stripe", "no_resolution", "provide_info"
1297 ]
1298 """
1299 Machine-readable code explaining how to make the Capability active.
1300 """
1301
1302 status: Literal[
1303 "active", "pending", "restricted", "unsupported"
1304 ]
1305 """
1306 The status of the Capability.
1307 """
1308 status_details: List[StatusDetail]
1309 """
1310 Additional details about the capability's status. This value is empty when `status` is `active`.
1311 """
1312 _inner_class_types = {"status_details": StatusDetail}
1313
1314 class PayByBankPayments(StripeObject):
1315 class StatusDetail(StripeObject):
1316 code: Literal[
1317 "determining_status",
1318 "requirements_past_due",
1319 "requirements_pending_verification",
1320 "restricted_other",
1321 "unsupported_business",
1322 "unsupported_country",
1323 "unsupported_entity_type",
1324 ]
1325 """
1326 Machine-readable code explaining the reason for the Capability to be in its current status.
1327 """
1328 resolution: Literal[
1329 "contact_stripe", "no_resolution", "provide_info"
1330 ]
1331 """
1332 Machine-readable code explaining how to make the Capability active.
1333 """
1334
1335 status: Literal[
1336 "active", "pending", "restricted", "unsupported"
1337 ]
1338 """
1339 The status of the Capability.
1340 """
1341 status_details: List[StatusDetail]
1342 """
1343 Additional details about the capability's status. This value is empty when `status` is `active`.
1344 """
1345 _inner_class_types = {"status_details": StatusDetail}
1346
1347 class PaycoPayments(StripeObject):
1348 class StatusDetail(StripeObject):
1349 code: Literal[
1350 "determining_status",
1351 "requirements_past_due",
1352 "requirements_pending_verification",
1353 "restricted_other",
1354 "unsupported_business",
1355 "unsupported_country",
1356 "unsupported_entity_type",
1357 ]
1358 """
1359 Machine-readable code explaining the reason for the Capability to be in its current status.
1360 """
1361 resolution: Literal[
1362 "contact_stripe", "no_resolution", "provide_info"
1363 ]
1364 """
1365 Machine-readable code explaining how to make the Capability active.
1366 """
1367
1368 status: Literal[
1369 "active", "pending", "restricted", "unsupported"
1370 ]
1371 """
1372 The status of the Capability.
1373 """
1374 status_details: List[StatusDetail]
1375 """
1376 Additional details about the capability's status. This value is empty when `status` is `active`.
1377 """
1378 _inner_class_types = {"status_details": StatusDetail}
1379
1380 class PaynowPayments(StripeObject):
1381 class StatusDetail(StripeObject):
1382 code: Literal[
1383 "determining_status",
1384 "requirements_past_due",
1385 "requirements_pending_verification",
1386 "restricted_other",
1387 "unsupported_business",
1388 "unsupported_country",
1389 "unsupported_entity_type",
1390 ]
1391 """
1392 Machine-readable code explaining the reason for the Capability to be in its current status.
1393 """
1394 resolution: Literal[
1395 "contact_stripe", "no_resolution", "provide_info"
1396 ]
1397 """
1398 Machine-readable code explaining how to make the Capability active.
1399 """
1400
1401 status: Literal[
1402 "active", "pending", "restricted", "unsupported"
1403 ]
1404 """
1405 The status of the Capability.
1406 """
1407 status_details: List[StatusDetail]
1408 """
1409 Additional details about the capability's status. This value is empty when `status` is `active`.
1410 """
1411 _inner_class_types = {"status_details": StatusDetail}
1412
1413 class PromptpayPayments(StripeObject):
1414 class StatusDetail(StripeObject):
1415 code: Literal[
1416 "determining_status",
1417 "requirements_past_due",
1418 "requirements_pending_verification",
1419 "restricted_other",
1420 "unsupported_business",
1421 "unsupported_country",
1422 "unsupported_entity_type",
1423 ]
1424 """
1425 Machine-readable code explaining the reason for the Capability to be in its current status.
1426 """
1427 resolution: Literal[
1428 "contact_stripe", "no_resolution", "provide_info"
1429 ]
1430 """
1431 Machine-readable code explaining how to make the Capability active.
1432 """
1433
1434 status: Literal[
1435 "active", "pending", "restricted", "unsupported"
1436 ]
1437 """
1438 The status of the Capability.
1439 """
1440 status_details: List[StatusDetail]
1441 """
1442 Additional details about the capability's status. This value is empty when `status` is `active`.
1443 """
1444 _inner_class_types = {"status_details": StatusDetail}
1445
1446 class RevolutPayPayments(StripeObject):
1447 class StatusDetail(StripeObject):
1448 code: Literal[
1449 "determining_status",
1450 "requirements_past_due",
1451 "requirements_pending_verification",
1452 "restricted_other",
1453 "unsupported_business",
1454 "unsupported_country",
1455 "unsupported_entity_type",
1456 ]
1457 """
1458 Machine-readable code explaining the reason for the Capability to be in its current status.
1459 """
1460 resolution: Literal[
1461 "contact_stripe", "no_resolution", "provide_info"
1462 ]
1463 """
1464 Machine-readable code explaining how to make the Capability active.
1465 """
1466
1467 status: Literal[
1468 "active", "pending", "restricted", "unsupported"
1469 ]
1470 """
1471 The status of the Capability.
1472 """
1473 status_details: List[StatusDetail]
1474 """
1475 Additional details about the capability's status. This value is empty when `status` is `active`.
1476 """
1477 _inner_class_types = {"status_details": StatusDetail}
1478
1479 class SamsungPayPayments(StripeObject):
1480 class StatusDetail(StripeObject):
1481 code: Literal[
1482 "determining_status",
1483 "requirements_past_due",
1484 "requirements_pending_verification",
1485 "restricted_other",
1486 "unsupported_business",
1487 "unsupported_country",
1488 "unsupported_entity_type",
1489 ]
1490 """
1491 Machine-readable code explaining the reason for the Capability to be in its current status.
1492 """
1493 resolution: Literal[
1494 "contact_stripe", "no_resolution", "provide_info"
1495 ]
1496 """
1497 Machine-readable code explaining how to make the Capability active.
1498 """
1499
1500 status: Literal[
1501 "active", "pending", "restricted", "unsupported"
1502 ]
1503 """
1504 The status of the Capability.
1505 """
1506 status_details: List[StatusDetail]
1507 """
1508 Additional details about the capability's status. This value is empty when `status` is `active`.
1509 """
1510 _inner_class_types = {"status_details": StatusDetail}
1511
1512 class SepaBankTransferPayments(StripeObject):
1513 class StatusDetail(StripeObject):
1514 code: Literal[
1515 "determining_status",
1516 "requirements_past_due",
1517 "requirements_pending_verification",
1518 "restricted_other",
1519 "unsupported_business",
1520 "unsupported_country",
1521 "unsupported_entity_type",
1522 ]
1523 """
1524 Machine-readable code explaining the reason for the Capability to be in its current status.
1525 """
1526 resolution: Literal[
1527 "contact_stripe", "no_resolution", "provide_info"
1528 ]
1529 """
1530 Machine-readable code explaining how to make the Capability active.
1531 """
1532
1533 status: Literal[
1534 "active", "pending", "restricted", "unsupported"
1535 ]
1536 """
1537 The status of the Capability.
1538 """
1539 status_details: List[StatusDetail]
1540 """
1541 Additional details about the capability's status. This value is empty when `status` is `active`.
1542 """
1543 _inner_class_types = {"status_details": StatusDetail}
1544
1545 class SepaDebitPayments(StripeObject):
1546 class StatusDetail(StripeObject):
1547 code: Literal[
1548 "determining_status",
1549 "requirements_past_due",
1550 "requirements_pending_verification",
1551 "restricted_other",
1552 "unsupported_business",
1553 "unsupported_country",
1554 "unsupported_entity_type",
1555 ]
1556 """
1557 Machine-readable code explaining the reason for the Capability to be in its current status.
1558 """
1559 resolution: Literal[
1560 "contact_stripe", "no_resolution", "provide_info"
1561 ]
1562 """
1563 Machine-readable code explaining how to make the Capability active.
1564 """
1565
1566 status: Literal[
1567 "active", "pending", "restricted", "unsupported"
1568 ]
1569 """
1570 The status of the Capability.
1571 """
1572 status_details: List[StatusDetail]
1573 """
1574 Additional details about the capability's status. This value is empty when `status` is `active`.
1575 """
1576 _inner_class_types = {"status_details": StatusDetail}
1577
1578 class StripeBalance(StripeObject):
1579 class Payouts(StripeObject):
1580 class StatusDetail(StripeObject):
1581 code: Literal[
1582 "determining_status",
1583 "requirements_past_due",
1584 "requirements_pending_verification",
1585 "restricted_other",
1586 "unsupported_business",
1587 "unsupported_country",
1588 "unsupported_entity_type",
1589 ]
1590 """
1591 Machine-readable code explaining the reason for the Capability to be in its current status.
1592 """
1593 resolution: Literal[
1594 "contact_stripe",
1595 "no_resolution",
1596 "provide_info",
1597 ]
1598 """
1599 Machine-readable code explaining how to make the Capability active.
1600 """
1601
1602 status: Literal[
1603 "active", "pending", "restricted", "unsupported"
1604 ]
1605 """
1606 The status of the Capability.
1607 """
1608 status_details: List[StatusDetail]
1609 """
1610 Additional details about the capability's status. This value is empty when `status` is `active`.
1611 """
1612 _inner_class_types = {"status_details": StatusDetail}
1613
1614 payouts: Optional[Payouts]
1615 """
1616 Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
1617 """
1618 _inner_class_types = {"payouts": Payouts}
1619
1620 class SwishPayments(StripeObject):
1621 class StatusDetail(StripeObject):
1622 code: Literal[
1623 "determining_status",
1624 "requirements_past_due",
1625 "requirements_pending_verification",
1626 "restricted_other",
1627 "unsupported_business",
1628 "unsupported_country",
1629 "unsupported_entity_type",
1630 ]
1631 """
1632 Machine-readable code explaining the reason for the Capability to be in its current status.
1633 """
1634 resolution: Literal[
1635 "contact_stripe", "no_resolution", "provide_info"
1636 ]
1637 """
1638 Machine-readable code explaining how to make the Capability active.
1639 """
1640
1641 status: Literal[
1642 "active", "pending", "restricted", "unsupported"
1643 ]
1644 """
1645 The status of the Capability.
1646 """
1647 status_details: List[StatusDetail]
1648 """
1649 Additional details about the capability's status. This value is empty when `status` is `active`.
1650 """
1651 _inner_class_types = {"status_details": StatusDetail}
1652
1653 class TwintPayments(StripeObject):
1654 class StatusDetail(StripeObject):
1655 code: Literal[
1656 "determining_status",
1657 "requirements_past_due",
1658 "requirements_pending_verification",
1659 "restricted_other",
1660 "unsupported_business",
1661 "unsupported_country",
1662 "unsupported_entity_type",
1663 ]
1664 """
1665 Machine-readable code explaining the reason for the Capability to be in its current status.
1666 """
1667 resolution: Literal[
1668 "contact_stripe", "no_resolution", "provide_info"
1669 ]
1670 """
1671 Machine-readable code explaining how to make the Capability active.
1672 """
1673
1674 status: Literal[
1675 "active", "pending", "restricted", "unsupported"
1676 ]
1677 """
1678 The status of the Capability.
1679 """
1680 status_details: List[StatusDetail]
1681 """
1682 Additional details about the capability's status. This value is empty when `status` is `active`.
1683 """
1684 _inner_class_types = {"status_details": StatusDetail}
1685
1686 class UsBankTransferPayments(StripeObject):
1687 class StatusDetail(StripeObject):
1688 code: Literal[
1689 "determining_status",
1690 "requirements_past_due",
1691 "requirements_pending_verification",
1692 "restricted_other",
1693 "unsupported_business",
1694 "unsupported_country",
1695 "unsupported_entity_type",
1696 ]
1697 """
1698 Machine-readable code explaining the reason for the Capability to be in its current status.
1699 """
1700 resolution: Literal[
1701 "contact_stripe", "no_resolution", "provide_info"
1702 ]
1703 """
1704 Machine-readable code explaining how to make the Capability active.
1705 """
1706
1707 status: Literal[
1708 "active", "pending", "restricted", "unsupported"
1709 ]
1710 """
1711 The status of the Capability.
1712 """
1713 status_details: List[StatusDetail]
1714 """
1715 Additional details about the capability's status. This value is empty when `status` is `active`.
1716 """
1717 _inner_class_types = {"status_details": StatusDetail}
1718
1719 class ZipPayments(StripeObject):
1720 class StatusDetail(StripeObject):
1721 code: Literal[
1722 "determining_status",
1723 "requirements_past_due",
1724 "requirements_pending_verification",
1725 "restricted_other",
1726 "unsupported_business",
1727 "unsupported_country",
1728 "unsupported_entity_type",
1729 ]
1730 """
1731 Machine-readable code explaining the reason for the Capability to be in its current status.
1732 """
1733 resolution: Literal[
1734 "contact_stripe", "no_resolution", "provide_info"
1735 ]
1736 """
1737 Machine-readable code explaining how to make the Capability active.
1738 """
1739
1740 status: Literal[
1741 "active", "pending", "restricted", "unsupported"
1742 ]
1743 """
1744 The status of the Capability.
1745 """
1746 status_details: List[StatusDetail]
1747 """
1748 Additional details about the capability's status. This value is empty when `status` is `active`.
1749 """
1750 _inner_class_types = {"status_details": StatusDetail}
1751
1752 ach_debit_payments: Optional[AchDebitPayments]
1753 """
1754 Allow the merchant to process ACH debit payments.
1755 """
1756 acss_debit_payments: Optional[AcssDebitPayments]
1757 """
1758 Allow the merchant to process ACSS debit payments.
1759 """
1760 affirm_payments: Optional[AffirmPayments]
1761 """
1762 Allow the merchant to process Affirm payments.
1763 """
1764 afterpay_clearpay_payments: Optional[AfterpayClearpayPayments]
1765 """
1766 Allow the merchant to process Afterpay/Clearpay payments.
1767 """
1768 alma_payments: Optional[AlmaPayments]
1769 """
1770 Allow the merchant to process Alma payments.
1771 """
1772 amazon_pay_payments: Optional[AmazonPayPayments]
1773 """
1774 Allow the merchant to process Amazon Pay payments.
1775 """
1776 au_becs_debit_payments: Optional[AuBecsDebitPayments]
1777 """
1778 Allow the merchant to process Australian BECS Direct Debit payments.
1779 """
1780 bacs_debit_payments: Optional[BacsDebitPayments]
1781 """
1782 Allow the merchant to process BACS Direct Debit payments.
1783 """
1784 bancontact_payments: Optional[BancontactPayments]
1785 """
1786 Allow the merchant to process Bancontact payments.
1787 """
1788 blik_payments: Optional[BlikPayments]
1789 """
1790 Allow the merchant to process BLIK payments.
1791 """
1792 boleto_payments: Optional[BoletoPayments]
1793 """
1794 Allow the merchant to process Boleto payments.
1795 """
1796 card_payments: Optional[CardPayments]
1797 """
1798 Allow the merchant to collect card payments.
1799 """
1800 cartes_bancaires_payments: Optional[CartesBancairesPayments]
1801 """
1802 Allow the merchant to process Cartes Bancaires payments.
1803 """
1804 cashapp_payments: Optional[CashappPayments]
1805 """
1806 Allow the merchant to process Cash App payments.
1807 """
1808 eps_payments: Optional[EpsPayments]
1809 """
1810 Allow the merchant to process EPS payments.
1811 """
1812 fpx_payments: Optional[FpxPayments]
1813 """
1814 Allow the merchant to process FPX payments.
1815 """
1816 gb_bank_transfer_payments: Optional[GbBankTransferPayments]
1817 """
1818 Allow the merchant to process UK bank transfer payments.
1819 """
1820 grabpay_payments: Optional[GrabpayPayments]
1821 """
1822 Allow the merchant to process GrabPay payments.
1823 """
1824 ideal_payments: Optional[IdealPayments]
1825 """
1826 Allow the merchant to process iDEAL payments.
1827 """
1828 jcb_payments: Optional[JcbPayments]
1829 """
1830 Allow the merchant to process JCB card payments.
1831 """
1832 jp_bank_transfer_payments: Optional[JpBankTransferPayments]
1833 """
1834 Allow the merchant to process Japanese bank transfer payments.
1835 """
1836 kakao_pay_payments: Optional[KakaoPayPayments]
1837 """
1838 Allow the merchant to process Kakao Pay payments.
1839 """
1840 klarna_payments: Optional[KlarnaPayments]
1841 """
1842 Allow the merchant to process Klarna payments.
1843 """
1844 konbini_payments: Optional[KonbiniPayments]
1845 """
1846 Allow the merchant to process Konbini convenience store payments.
1847 """
1848 kr_card_payments: Optional[KrCardPayments]
1849 """
1850 Allow the merchant to process Korean card payments.
1851 """
1852 link_payments: Optional[LinkPayments]
1853 """
1854 Allow the merchant to process Link payments.
1855 """
1856 mobilepay_payments: Optional[MobilepayPayments]
1857 """
1858 Allow the merchant to process MobilePay payments.
1859 """
1860 multibanco_payments: Optional[MultibancoPayments]
1861 """
1862 Allow the merchant to process Multibanco payments.
1863 """
1864 mx_bank_transfer_payments: Optional[MxBankTransferPayments]
1865 """
1866 Allow the merchant to process Mexican bank transfer payments.
1867 """
1868 naver_pay_payments: Optional[NaverPayPayments]
1869 """
1870 Allow the merchant to process Naver Pay payments.
1871 """
1872 oxxo_payments: Optional[OxxoPayments]
1873 """
1874 Allow the merchant to process OXXO payments.
1875 """
1876 p24_payments: Optional[P24Payments]
1877 """
1878 Allow the merchant to process Przelewy24 (P24) payments.
1879 """
1880 pay_by_bank_payments: Optional[PayByBankPayments]
1881 """
1882 Allow the merchant to process Pay by Bank payments.
1883 """
1884 payco_payments: Optional[PaycoPayments]
1885 """
1886 Allow the merchant to process PAYCO payments.
1887 """
1888 paynow_payments: Optional[PaynowPayments]
1889 """
1890 Allow the merchant to process PayNow payments.
1891 """
1892 promptpay_payments: Optional[PromptpayPayments]
1893 """
1894 Allow the merchant to process PromptPay payments.
1895 """
1896 revolut_pay_payments: Optional[RevolutPayPayments]
1897 """
1898 Allow the merchant to process Revolut Pay payments.
1899 """
1900 samsung_pay_payments: Optional[SamsungPayPayments]
1901 """
1902 Allow the merchant to process Samsung Pay payments.
1903 """
1904 sepa_bank_transfer_payments: Optional[SepaBankTransferPayments]
1905 """
1906 Allow the merchant to process SEPA bank transfer payments.
1907 """
1908 sepa_debit_payments: Optional[SepaDebitPayments]
1909 """
1910 Allow the merchant to process SEPA Direct Debit payments.
1911 """
1912 stripe_balance: Optional[StripeBalance]
1913 """
1914 Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
1915 """
1916 swish_payments: Optional[SwishPayments]
1917 """
1918 Allow the merchant to process Swish payments.
1919 """
1920 twint_payments: Optional[TwintPayments]
1921 """
1922 Allow the merchant to process TWINT payments.
1923 """
1924 us_bank_transfer_payments: Optional[UsBankTransferPayments]
1925 """
1926 Allow the merchant to process US bank transfer payments.
1927 """
1928 zip_payments: Optional[ZipPayments]
1929 """
1930 Allow the merchant to process Zip payments.
1931 """
1932 _inner_class_types = {
1933 "ach_debit_payments": AchDebitPayments,
1934 "acss_debit_payments": AcssDebitPayments,
1935 "affirm_payments": AffirmPayments,
1936 "afterpay_clearpay_payments": AfterpayClearpayPayments,
1937 "alma_payments": AlmaPayments,
1938 "amazon_pay_payments": AmazonPayPayments,
1939 "au_becs_debit_payments": AuBecsDebitPayments,
1940 "bacs_debit_payments": BacsDebitPayments,
1941 "bancontact_payments": BancontactPayments,
1942 "blik_payments": BlikPayments,
1943 "boleto_payments": BoletoPayments,
1944 "card_payments": CardPayments,
1945 "cartes_bancaires_payments": CartesBancairesPayments,
1946 "cashapp_payments": CashappPayments,
1947 "eps_payments": EpsPayments,
1948 "fpx_payments": FpxPayments,
1949 "gb_bank_transfer_payments": GbBankTransferPayments,
1950 "grabpay_payments": GrabpayPayments,
1951 "ideal_payments": IdealPayments,
1952 "jcb_payments": JcbPayments,
1953 "jp_bank_transfer_payments": JpBankTransferPayments,
1954 "kakao_pay_payments": KakaoPayPayments,
1955 "klarna_payments": KlarnaPayments,
1956 "konbini_payments": KonbiniPayments,
1957 "kr_card_payments": KrCardPayments,
1958 "link_payments": LinkPayments,
1959 "mobilepay_payments": MobilepayPayments,
1960 "multibanco_payments": MultibancoPayments,
1961 "mx_bank_transfer_payments": MxBankTransferPayments,
1962 "naver_pay_payments": NaverPayPayments,
1963 "oxxo_payments": OxxoPayments,
1964 "p24_payments": P24Payments,
1965 "pay_by_bank_payments": PayByBankPayments,
1966 "payco_payments": PaycoPayments,
1967 "paynow_payments": PaynowPayments,
1968 "promptpay_payments": PromptpayPayments,
1969 "revolut_pay_payments": RevolutPayPayments,
1970 "samsung_pay_payments": SamsungPayPayments,
1971 "sepa_bank_transfer_payments": SepaBankTransferPayments,
1972 "sepa_debit_payments": SepaDebitPayments,
1973 "stripe_balance": StripeBalance,
1974 "swish_payments": SwishPayments,
1975 "twint_payments": TwintPayments,
1976 "us_bank_transfer_payments": UsBankTransferPayments,
1977 "zip_payments": ZipPayments,
1978 }
1979
1980 class CardPayments(StripeObject):
1981 class DeclineOn(StripeObject):
1982 avs_failure: Optional[bool]
1983 """
1984 Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
1985 """
1986 cvc_failure: Optional[bool]
1987 """
1988 Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
1989 """
1990
1991 decline_on: Optional[DeclineOn]
1992 """
1993 Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
1994 """
1995 _inner_class_types = {"decline_on": DeclineOn}
1996
1997 class KonbiniPayments(StripeObject):
1998 class Support(StripeObject):
1999 class Hours(StripeObject):
2000 end_time: Optional[str]
2001 """
2002 Support hours end time (JST time of day) for in `HH:MM` format.
2003 """
2004 start_time: Optional[str]
2005 """
2006 Support hours start time (JST time of day) for in `HH:MM` format.
2007 """
2008
2009 email: Optional[str]
2010 """
2011 Support email address for Konbini payments.
2012 """
2013 hours: Optional[Hours]
2014 """
2015 Support hours for Konbini payments.
2016 """
2017 phone: Optional[str]
2018 """
2019 Support phone number for Konbini payments.
2020 """
2021 _inner_class_types = {"hours": Hours}
2022
2023 support: Optional[Support]
2024 """
2025 Support for Konbini payments.
2026 """
2027 _inner_class_types = {"support": Support}
2028
2029 class ScriptStatementDescriptor(StripeObject):
2030 class Kana(StripeObject):
2031 descriptor: Optional[str]
2032 """
2033 The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2034 """
2035 prefix: Optional[str]
2036 """
2037 Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2038 """
2039
2040 class Kanji(StripeObject):
2041 descriptor: Optional[str]
2042 """
2043 The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2044 """
2045 prefix: Optional[str]
2046 """
2047 Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2048 """
2049
2050 kana: Optional[Kana]
2051 """
2052 The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
2053 """
2054 kanji: Optional[Kanji]
2055 """
2056 The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
2057 """
2058 _inner_class_types = {"kana": Kana, "kanji": Kanji}
2059
2060 class SepaDebitPayments(StripeObject):
2061 creditor_id: Optional[str]
2062 """
2063 Creditor ID for SEPA Direct Debit payments.
2064 """
2065
2066 class StatementDescriptor(StripeObject):
2067 descriptor: Optional[str]
2068 """
2069 The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2070 """
2071 prefix: Optional[str]
2072 """
2073 Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2074 """
2075
2076 class Support(StripeObject):
2077 class Address(StripeObject):
2078 city: Optional[str]
2079 """
2080 City, district, suburb, town, or village.
2081 """
2082 country: Optional[str]
2083 """
2084 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2085 """
2086 line1: Optional[str]
2087 """
2088 Address line 1 (e.g., street, PO Box, or company name).
2089 """
2090 line2: Optional[str]
2091 """
2092 Address line 2 (e.g., apartment, suite, unit, or building).
2093 """
2094 postal_code: Optional[str]
2095 """
2096 ZIP or postal code.
2097 """
2098 state: Optional[str]
2099 """
2100 State, county, province, or region.
2101 """
2102 town: Optional[str]
2103 """
2104 Town or district.
2105 """
2106
2107 address: Optional[Address]
2108 """
2109 A publicly available mailing address for sending support issues to.
2110 """
2111 email: Optional[str]
2112 """
2113 A publicly available email address for sending support issues to.
2114 """
2115 phone: Optional[str]
2116 """
2117 A publicly available phone number to call with support issues.
2118 """
2119 url: Optional[str]
2120 """
2121 A publicly available website for handling support issues.
2122 """
2123 _inner_class_types = {"address": Address}
2124
2125 applied: bool
2126 """
2127 Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties.
2128 """
2129 bacs_debit_payments: Optional[BacsDebitPayments]
2130 """
2131 Settings for Bacs Direct Debit payments.
2132 """
2133 branding: Optional[Branding]
2134 """
2135 Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
2136 """
2137 capabilities: Optional[Capabilities]
2138 """
2139 Capabilities that have been requested on the Merchant Configuration.
2140 """
2141 card_payments: Optional[CardPayments]
2142 """
2143 Card payments settings.
2144 """
2145 konbini_payments: Optional[KonbiniPayments]
2146 """
2147 Settings specific to Konbini payments on the account.
2148 """
2149 mcc: Optional[str]
2150 """
2151 The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
2152 """
2153 script_statement_descriptor: Optional[ScriptStatementDescriptor]
2154 """
2155 Settings for the default text that appears on statements for language variations.
2156 """
2157 sepa_debit_payments: Optional[SepaDebitPayments]
2158 """
2159 Settings for SEPA Direct Debit payments.
2160 """
2161 statement_descriptor: Optional[StatementDescriptor]
2162 """
2163 Statement descriptor.
2164 """
2165 support: Optional[Support]
2166 """
2167 Publicly available contact information for sending support issues to.
2168 """
2169 _inner_class_types = {
2170 "bacs_debit_payments": BacsDebitPayments,
2171 "branding": Branding,
2172 "capabilities": Capabilities,
2173 "card_payments": CardPayments,
2174 "konbini_payments": KonbiniPayments,
2175 "script_statement_descriptor": ScriptStatementDescriptor,
2176 "sepa_debit_payments": SepaDebitPayments,
2177 "statement_descriptor": StatementDescriptor,
2178 "support": Support,
2179 }
2180
2181 class Recipient(StripeObject):
2182 class Capabilities(StripeObject):
2183 class StripeBalance(StripeObject):
2184 class Payouts(StripeObject):
2185 class StatusDetail(StripeObject):
2186 code: Literal[
2187 "determining_status",
2188 "requirements_past_due",
2189 "requirements_pending_verification",
2190 "restricted_other",
2191 "unsupported_business",
2192 "unsupported_country",
2193 "unsupported_entity_type",
2194 ]
2195 """
2196 Machine-readable code explaining the reason for the Capability to be in its current status.
2197 """
2198 resolution: Literal[
2199 "contact_stripe",
2200 "no_resolution",
2201 "provide_info",
2202 ]
2203 """
2204 Machine-readable code explaining how to make the Capability active.
2205 """
2206
2207 status: Literal[
2208 "active", "pending", "restricted", "unsupported"
2209 ]
2210 """
2211 The status of the Capability.
2212 """
2213 status_details: List[StatusDetail]
2214 """
2215 Additional details about the capability's status. This value is empty when `status` is `active`.
2216 """
2217 _inner_class_types = {"status_details": StatusDetail}
2218
2219 class StripeTransfers(StripeObject):
2220 class StatusDetail(StripeObject):
2221 code: Literal[
2222 "determining_status",
2223 "requirements_past_due",
2224 "requirements_pending_verification",
2225 "restricted_other",
2226 "unsupported_business",
2227 "unsupported_country",
2228 "unsupported_entity_type",
2229 ]
2230 """
2231 Machine-readable code explaining the reason for the Capability to be in its current status.
2232 """
2233 resolution: Literal[
2234 "contact_stripe",
2235 "no_resolution",
2236 "provide_info",
2237 ]
2238 """
2239 Machine-readable code explaining how to make the Capability active.
2240 """
2241
2242 status: Literal[
2243 "active", "pending", "restricted", "unsupported"
2244 ]
2245 """
2246 The status of the Capability.
2247 """
2248 status_details: List[StatusDetail]
2249 """
2250 Additional details about the capability's status. This value is empty when `status` is `active`.
2251 """
2252 _inner_class_types = {"status_details": StatusDetail}
2253
2254 payouts: Optional[Payouts]
2255 """
2256 Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2257 """
2258 stripe_transfers: Optional[StripeTransfers]
2259 """
2260 Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2261 """
2262 _inner_class_types = {
2263 "payouts": Payouts,
2264 "stripe_transfers": StripeTransfers,
2265 }
2266
2267 stripe_balance: Optional[StripeBalance]
2268 """
2269 Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2270 """
2271 _inner_class_types = {"stripe_balance": StripeBalance}
2272
2273 applied: bool
2274 """
2275 Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
2276 """
2277 capabilities: Optional[Capabilities]
2278 """
2279 Capabilities that have been requested on the Recipient Configuration.
2280 """
2281 _inner_class_types = {"capabilities": Capabilities}
2282
2283 customer: Optional[Customer]
2284 """
2285 The Customer Configuration allows the Account to be used in inbound payment flows.
2286 """
2287 merchant: Optional[Merchant]
2288 """
2289 Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
2290 """
2291 recipient: Optional[Recipient]
2292 """
2293 The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
2294 """
2295 _inner_class_types = {
2296 "customer": Customer,
2297 "merchant": Merchant,
2298 "recipient": Recipient,
2299 }
2300
2301 class Defaults(StripeObject):
2302 class Profile(StripeObject):
2303 business_url: Optional[str]
2304 """
2305 The business's publicly-available website.
2306 """
2307 doing_business_as: Optional[str]
2308 """
2309 The customer-facing business name.
2310 """
2311 product_description: Optional[str]
2312 """
2313 Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2314 """
2315
2316 class Responsibilities(StripeObject):
2317 fees_collector: Optional[
2318 Literal[
2319 "application",
2320 "application_custom",
2321 "application_express",
2322 "stripe",
2323 ]
2324 ]
2325 """
2326 Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
2327 """
2328 losses_collector: Optional[Literal["application", "stripe"]]
2329 """
2330 A value indicating responsibility for collecting requirements on this account.
2331 """
2332 requirements_collector: Literal["application", "stripe"]
2333 """
2334 A value indicating responsibility for collecting requirements on this account.
2335 """
2336
2337 currency: Optional[str]
2338 """
2339 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).
2340 """
2341 locales: Optional[
2342 List[
2343 Literal[
2344 "ar-SA",
2345 "bg",
2346 "bg-BG",
2347 "cs",
2348 "cs-CZ",
2349 "da",
2350 "da-DK",
2351 "de",
2352 "de-DE",
2353 "el",
2354 "el-GR",
2355 "en",
2356 "en-AU",
2357 "en-CA",
2358 "en-GB",
2359 "en-IE",
2360 "en-IN",
2361 "en-NZ",
2362 "en-SG",
2363 "en-US",
2364 "es",
2365 "es-419",
2366 "es-ES",
2367 "et",
2368 "et-EE",
2369 "fi",
2370 "fil",
2371 "fil-PH",
2372 "fi-FI",
2373 "fr",
2374 "fr-CA",
2375 "fr-FR",
2376 "he-IL",
2377 "hr",
2378 "hr-HR",
2379 "hu",
2380 "hu-HU",
2381 "id",
2382 "id-ID",
2383 "it",
2384 "it-IT",
2385 "ja",
2386 "ja-JP",
2387 "ko",
2388 "ko-KR",
2389 "lt",
2390 "lt-LT",
2391 "lv",
2392 "lv-LV",
2393 "ms",
2394 "ms-MY",
2395 "mt",
2396 "mt-MT",
2397 "nb",
2398 "nb-NO",
2399 "nl",
2400 "nl-NL",
2401 "pl",
2402 "pl-PL",
2403 "pt",
2404 "pt-BR",
2405 "pt-PT",
2406 "ro",
2407 "ro-RO",
2408 "ru",
2409 "ru-RU",
2410 "sk",
2411 "sk-SK",
2412 "sl",
2413 "sl-SI",
2414 "sv",
2415 "sv-SE",
2416 "th",
2417 "th-TH",
2418 "tr",
2419 "tr-TR",
2420 "vi",
2421 "vi-VN",
2422 "zh",
2423 "zh-Hans",
2424 "zh-Hant-HK",
2425 "zh-Hant-TW",
2426 "zh-HK",
2427 "zh-TW",
2428 ]
2429 ]
2430 ]
2431 """
2432 The Account's preferred locales (languages), ordered by preference.
2433 """
2434 profile: Optional[Profile]
2435 """
2436 Account profile information.
2437 """
2438 responsibilities: Responsibilities
2439 """
2440 Default responsibilities held by either Stripe or the platform.
2441 """
2442 _inner_class_types = {
2443 "profile": Profile,
2444 "responsibilities": Responsibilities,
2445 }
2446
2447 class FutureRequirements(StripeObject):
2448 class Entry(StripeObject):
2449 class Error(StripeObject):
2450 code: Literal[
2451 "invalid_address_city_state_postal_code",
2452 "invalid_address_highway_contract_box",
2453 "invalid_address_private_mailbox",
2454 "invalid_business_profile_name",
2455 "invalid_business_profile_name_denylisted",
2456 "invalid_company_name_denylisted",
2457 "invalid_dob_age_over_maximum",
2458 "invalid_dob_age_under_18",
2459 "invalid_dob_age_under_minimum",
2460 "invalid_product_description_length",
2461 "invalid_product_description_url_match",
2462 "invalid_representative_country",
2463 "invalid_statement_descriptor_business_mismatch",
2464 "invalid_statement_descriptor_denylisted",
2465 "invalid_statement_descriptor_length",
2466 "invalid_statement_descriptor_prefix_denylisted",
2467 "invalid_statement_descriptor_prefix_mismatch",
2468 "invalid_street_address",
2469 "invalid_tax_id",
2470 "invalid_tax_id_format",
2471 "invalid_tos_acceptance",
2472 "invalid_url_denylisted",
2473 "invalid_url_format",
2474 "invalid_url_website_business_information_mismatch",
2475 "invalid_url_website_empty",
2476 "invalid_url_website_inaccessible",
2477 "invalid_url_website_inaccessible_geoblocked",
2478 "invalid_url_website_inaccessible_password_protected",
2479 "invalid_url_website_incomplete",
2480 "invalid_url_website_incomplete_cancellation_policy",
2481 "invalid_url_website_incomplete_customer_service_details",
2482 "invalid_url_website_incomplete_legal_restrictions",
2483 "invalid_url_website_incomplete_refund_policy",
2484 "invalid_url_website_incomplete_return_policy",
2485 "invalid_url_website_incomplete_terms_and_conditions",
2486 "invalid_url_website_incomplete_under_construction",
2487 "invalid_url_website_other",
2488 "invalid_url_web_presence_detected",
2489 "invalid_value_other",
2490 "unresolvable_ip_address",
2491 "unresolvable_postal_code",
2492 "verification_directors_mismatch",
2493 "verification_document_address_mismatch",
2494 "verification_document_address_missing",
2495 "verification_document_corrupt",
2496 "verification_document_country_not_supported",
2497 "verification_document_directors_mismatch",
2498 "verification_document_dob_mismatch",
2499 "verification_document_duplicate_type",
2500 "verification_document_expired",
2501 "verification_document_failed_copy",
2502 "verification_document_failed_greyscale",
2503 "verification_document_failed_other",
2504 "verification_document_failed_test_mode",
2505 "verification_document_fraudulent",
2506 "verification_document_id_number_mismatch",
2507 "verification_document_id_number_missing",
2508 "verification_document_incomplete",
2509 "verification_document_invalid",
2510 "verification_document_issue_or_expiry_date_missing",
2511 "verification_document_manipulated",
2512 "verification_document_missing_back",
2513 "verification_document_missing_front",
2514 "verification_document_name_mismatch",
2515 "verification_document_name_missing",
2516 "verification_document_nationality_mismatch",
2517 "verification_document_not_readable",
2518 "verification_document_not_signed",
2519 "verification_document_not_uploaded",
2520 "verification_document_photo_mismatch",
2521 "verification_document_too_large",
2522 "verification_document_type_not_supported",
2523 "verification_extraneous_directors",
2524 "verification_failed_address_match",
2525 "verification_failed_business_iec_number",
2526 "verification_failed_document_match",
2527 "verification_failed_id_number_match",
2528 "verification_failed_keyed_identity",
2529 "verification_failed_keyed_match",
2530 "verification_failed_name_match",
2531 "verification_failed_other",
2532 "verification_failed_representative_authority",
2533 "verification_failed_residential_address",
2534 "verification_failed_tax_id_match",
2535 "verification_failed_tax_id_not_issued",
2536 "verification_missing_directors",
2537 "verification_missing_executives",
2538 "verification_missing_owners",
2539 "verification_requires_additional_memorandum_of_associations",
2540 "verification_requires_additional_proof_of_registration",
2541 "verification_selfie_document_missing_photo",
2542 "verification_selfie_face_mismatch",
2543 "verification_selfie_manipulated",
2544 "verification_selfie_unverified_other",
2545 "verification_supportability",
2546 "verification_token_stale",
2547 ]
2548 """
2549 Machine-readable code describing the error.
2550 """
2551 description: str
2552 """
2553 Human-readable description of the error.
2554 """
2555
2556 class Impact(StripeObject):
2557 class RestrictsCapability(StripeObject):
2558 class Deadline(StripeObject):
2559 status: Literal[
2560 "currently_due", "eventually_due", "past_due"
2561 ]
2562 """
2563 The current status of the requirement's impact.
2564 """
2565
2566 capability: Literal[
2567 "ach_debit_payments",
2568 "acss_debit_payments",
2569 "affirm_payments",
2570 "afterpay_clearpay_payments",
2571 "alma_payments",
2572 "amazon_pay_payments",
2573 "automatic_indirect_tax",
2574 "au_becs_debit_payments",
2575 "bacs_debit_payments",
2576 "bancontact_payments",
2577 "bank_accounts.local",
2578 "bank_accounts.wire",
2579 "blik_payments",
2580 "boleto_payments",
2581 "cards",
2582 "card_payments",
2583 "cartes_bancaires_payments",
2584 "cashapp_payments",
2585 "eps_payments",
2586 "fpx_payments",
2587 "gb_bank_transfer_payments",
2588 "grabpay_payments",
2589 "ideal_payments",
2590 "jcb_payments",
2591 "jp_bank_transfer_payments",
2592 "kakao_pay_payments",
2593 "klarna_payments",
2594 "konbini_payments",
2595 "kr_card_payments",
2596 "link_payments",
2597 "mobilepay_payments",
2598 "multibanco_payments",
2599 "mx_bank_transfer_payments",
2600 "naver_pay_payments",
2601 "oxxo_payments",
2602 "p24_payments",
2603 "payco_payments",
2604 "paynow_payments",
2605 "pay_by_bank_payments",
2606 "promptpay_payments",
2607 "revolut_pay_payments",
2608 "samsung_pay_payments",
2609 "sepa_bank_transfer_payments",
2610 "sepa_debit_payments",
2611 "stripe_balance.payouts",
2612 "stripe_balance.stripe_transfers",
2613 "swish_payments",
2614 "twint_payments",
2615 "us_bank_transfer_payments",
2616 "zip_payments",
2617 ]
2618 """
2619 The name of the Capability which will be restricted.
2620 """
2621 configuration: Literal["customer", "merchant", "recipient"]
2622 """
2623 The configuration which specifies the Capability which will be restricted.
2624 """
2625 deadline: Deadline
2626 """
2627 Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
2628 """
2629 _inner_class_types = {"deadline": Deadline}
2630
2631 restricts_capabilities: Optional[List[RestrictsCapability]]
2632 """
2633 The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
2634 """
2635 _inner_class_types = {
2636 "restricts_capabilities": RestrictsCapability,
2637 }
2638
2639 class MinimumDeadline(StripeObject):
2640 status: Literal["currently_due", "eventually_due", "past_due"]
2641 """
2642 The current status of the requirement's impact.
2643 """
2644
2645 class Reference(StripeObject):
2646 inquiry: Optional[str]
2647 """
2648 If `inquiry` is the type, the inquiry token.
2649 """
2650 resource: Optional[str]
2651 """
2652 If `resource` is the type, the resource token.
2653 """
2654 type: Literal["inquiry", "payment_method", "person"]
2655 """
2656 The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field.
2657 Otherwise the type is an API resource, the token for which can be found in the "resource" field.
2658 """
2659
2660 class RequestedReason(StripeObject):
2661 code: Literal["routine_onboarding", "routine_verification"]
2662 """
2663 Machine-readable description of Stripe's reason for collecting the requirement.
2664 """
2665
2666 awaiting_action_from: Literal["stripe", "user"]
2667 """
2668 Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
2669 """
2670 description: str
2671 """
2672 Machine-readable string describing the requirement.
2673 """
2674 errors: List[Error]
2675 """
2676 Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
2677 """
2678 impact: Impact
2679 """
2680 A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
2681 """
2682 minimum_deadline: MinimumDeadline
2683 """
2684 The soonest point when the account will be impacted by not providing the requirement.
2685 """
2686 reference: Optional[Reference]
2687 """
2688 A reference to the location of the requirement.
2689 """
2690 requested_reasons: List[RequestedReason]
2691 """
2692 A list of reasons why Stripe is collecting the requirement.
2693 """
2694 _inner_class_types = {
2695 "errors": Error,
2696 "impact": Impact,
2697 "minimum_deadline": MinimumDeadline,
2698 "reference": Reference,
2699 "requested_reasons": RequestedReason,
2700 }
2701
2702 class Summary(StripeObject):
2703 class MinimumDeadline(StripeObject):
2704 status: Literal["currently_due", "eventually_due", "past_due"]
2705 """
2706 The current strictest status of all requirements on the Account.
2707 """
2708 time: Optional[str]
2709 """
2710 The soonest RFC3339 date & time UTC value a requirement can impact the Account.
2711 """
2712
2713 minimum_deadline: Optional[MinimumDeadline]
2714 """
2715 The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
2716 """
2717 _inner_class_types = {"minimum_deadline": MinimumDeadline}
2718
2719 entries: Optional[List[Entry]]
2720 """
2721 A list of requirements for the Account.
2722 """
2723 minimum_transition_date: Optional[str]
2724 """
2725 The time at which the future requirements become effective.
2726 """
2727 summary: Optional[Summary]
2728 """
2729 An object containing an overview of requirements for the Account.
2730 """
2731 _inner_class_types = {"entries": Entry, "summary": Summary}
2732
2733 class Identity(StripeObject):
2734 class Attestations(StripeObject):
2735 class DirectorshipDeclaration(StripeObject):
2736 date: Optional[str]
2737 """
2738 The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2739 """
2740 ip: Optional[str]
2741 """
2742 The IP address from which the director attestation was made.
2743 """
2744 user_agent: Optional[str]
2745 """
2746 The user agent of the browser from which the director attestation was made.
2747 """
2748
2749 class OwnershipDeclaration(StripeObject):
2750 date: Optional[str]
2751 """
2752 The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2753 """
2754 ip: Optional[str]
2755 """
2756 The IP address from which the beneficial owner attestation was made.
2757 """
2758 user_agent: Optional[str]
2759 """
2760 The user agent of the browser from which the beneficial owner attestation was made.
2761 """
2762
2763 class PersonsProvided(StripeObject):
2764 directors: Optional[bool]
2765 """
2766 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).
2767 """
2768 executives: Optional[bool]
2769 """
2770 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).
2771 """
2772 owners: Optional[bool]
2773 """
2774 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).
2775 """
2776 ownership_exemption_reason: Optional[
2777 Literal[
2778 "qualified_entity_exceeds_ownership_threshold",
2779 "qualifies_as_financial_institution",
2780 ]
2781 ]
2782 """
2783 Reason for why the company is exempt from providing ownership information.
2784 """
2785
2786 class RepresentativeDeclaration(StripeObject):
2787 date: Optional[str]
2788 """
2789 The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2790 """
2791 ip: Optional[str]
2792 """
2793 The IP address from which the representative attestation was made.
2794 """
2795 user_agent: Optional[str]
2796 """
2797 The user agent of the browser from which the representative attestation was made.
2798 """
2799
2800 class TermsOfService(StripeObject):
2801 class Account(StripeObject):
2802 date: Optional[str]
2803 """
2804 The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2805 """
2806 ip: Optional[str]
2807 """
2808 The IP address from which the Account's representative accepted the terms of service.
2809 """
2810 user_agent: Optional[str]
2811 """
2812 The user agent of the browser from which the Account's representative accepted the terms of service.
2813 """
2814
2815 account: Optional[Account]
2816 """
2817 Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2818 """
2819 _inner_class_types = {"account": Account}
2820
2821 directorship_declaration: Optional[DirectorshipDeclaration]
2822 """
2823 This hash is used to attest that the directors information provided to Stripe is both current and correct.
2824 """
2825 ownership_declaration: Optional[OwnershipDeclaration]
2826 """
2827 This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
2828 """
2829 persons_provided: Optional[PersonsProvided]
2830 """
2831 Attestation that all Persons with a specific Relationship value have been provided.
2832 """
2833 representative_declaration: Optional[RepresentativeDeclaration]
2834 """
2835 This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
2836 """
2837 terms_of_service: Optional[TermsOfService]
2838 """
2839 Attestations of accepted terms of service agreements.
2840 """
2841 _inner_class_types = {
2842 "directorship_declaration": DirectorshipDeclaration,
2843 "ownership_declaration": OwnershipDeclaration,
2844 "persons_provided": PersonsProvided,
2845 "representative_declaration": RepresentativeDeclaration,
2846 "terms_of_service": TermsOfService,
2847 }
2848
2849 class BusinessDetails(StripeObject):
2850 class Address(StripeObject):
2851 city: Optional[str]
2852 """
2853 City, district, suburb, town, or village.
2854 """
2855 country: Optional[str]
2856 """
2857 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2858 """
2859 line1: Optional[str]
2860 """
2861 Address line 1 (e.g., street, PO Box, or company name).
2862 """
2863 line2: Optional[str]
2864 """
2865 Address line 2 (e.g., apartment, suite, unit, or building).
2866 """
2867 postal_code: Optional[str]
2868 """
2869 ZIP or postal code.
2870 """
2871 state: Optional[str]
2872 """
2873 State, county, province, or region.
2874 """
2875 town: Optional[str]
2876 """
2877 Town or district.
2878 """
2879
2880 class AnnualRevenue(StripeObject):
2881 class Amount(StripeObject):
2882 currency: Optional[str]
2883 """
2884 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).
2885 """
2886 value: Optional[int]
2887 """
2888 A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
2889 """
2890
2891 amount: Optional[Amount]
2892 """
2893 Annual revenue amount in minor currency units (for example, '123' for 1.23 USD).
2894 """
2895 fiscal_year_end: Optional[str]
2896 """
2897 The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2898 """
2899 _inner_class_types = {"amount": Amount}
2900
2901 class Documents(StripeObject):
2902 class BankAccountOwnershipVerification(StripeObject):
2903 files: List[str]
2904 """
2905 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`.
2906 """
2907 type: Literal["files"]
2908 """
2909 The format of the document. Currently supports `files` only.
2910 """
2911
2912 class CompanyLicense(StripeObject):
2913 files: List[str]
2914 """
2915 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`.
2916 """
2917 type: Literal["files"]
2918 """
2919 The format of the document. Currently supports `files` only.
2920 """
2921
2922 class CompanyMemorandumOfAssociation(StripeObject):
2923 files: List[str]
2924 """
2925 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`.
2926 """
2927 type: Literal["files"]
2928 """
2929 The format of the document. Currently supports `files` only.
2930 """
2931
2932 class CompanyMinisterialDecree(StripeObject):
2933 files: List[str]
2934 """
2935 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`.
2936 """
2937 type: Literal["files"]
2938 """
2939 The format of the document. Currently supports `files` only.
2940 """
2941
2942 class CompanyRegistrationVerification(StripeObject):
2943 files: List[str]
2944 """
2945 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`.
2946 """
2947 type: Literal["files"]
2948 """
2949 The format of the document. Currently supports `files` only.
2950 """
2951
2952 class CompanyTaxIdVerification(StripeObject):
2953 files: List[str]
2954 """
2955 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`.
2956 """
2957 type: Literal["files"]
2958 """
2959 The format of the document. Currently supports `files` only.
2960 """
2961
2962 class PrimaryVerification(StripeObject):
2963 class FrontBack(StripeObject):
2964 back: Optional[str]
2965 """
2966 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.
2967 """
2968 front: str
2969 """
2970 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.
2971 """
2972
2973 front_back: FrontBack
2974 """
2975 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
2976 """
2977 type: Literal["front_back"]
2978 """
2979 The format of the verification document. Currently supports `front_back` only.
2980 """
2981 _inner_class_types = {"front_back": FrontBack}
2982
2983 class ProofOfAddress(StripeObject):
2984 files: List[str]
2985 """
2986 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`.
2987 """
2988 type: Literal["files"]
2989 """
2990 The format of the document. Currently supports `files` only.
2991 """
2992
2993 class ProofOfRegistration(StripeObject):
2994 files: List[str]
2995 """
2996 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`.
2997 """
2998 type: Literal["files"]
2999 """
3000 The format of the document. Currently supports `files` only.
3001 """
3002
3003 class ProofOfUltimateBeneficialOwnership(StripeObject):
3004 files: List[str]
3005 """
3006 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`.
3007 """
3008 type: Literal["files"]
3009 """
3010 The format of the document. Currently supports `files` only.
3011 """
3012
3013 bank_account_ownership_verification: Optional[
3014 BankAccountOwnershipVerification
3015 ]
3016 """
3017 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.
3018 """
3019 company_license: Optional[CompanyLicense]
3020 """
3021 One or more documents that demonstrate proof of a company's license to operate.
3022 """
3023 company_memorandum_of_association: Optional[
3024 CompanyMemorandumOfAssociation
3025 ]
3026 """
3027 One or more documents showing the company's Memorandum of Association.
3028 """
3029 company_ministerial_decree: Optional[CompanyMinisterialDecree]
3030 """
3031 Certain countries only: One or more documents showing the ministerial decree legalizing the company's establishment.
3032 """
3033 company_registration_verification: Optional[
3034 CompanyRegistrationVerification
3035 ]
3036 """
3037 One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
3038 """
3039 company_tax_id_verification: Optional[CompanyTaxIdVerification]
3040 """
3041 One or more documents that demonstrate proof of a company's tax ID.
3042 """
3043 primary_verification: Optional[PrimaryVerification]
3044 """
3045 A document verifying the business.
3046 """
3047 proof_of_address: Optional[ProofOfAddress]
3048 """
3049 One or more documents that demonstrate proof of address.
3050 """
3051 proof_of_registration: Optional[ProofOfRegistration]
3052 """
3053 One or more documents showing the company's proof of registration with the national business registry.
3054 """
3055 proof_of_ultimate_beneficial_ownership: Optional[
3056 ProofOfUltimateBeneficialOwnership
3057 ]
3058 """
3059 One or more documents that demonstrate proof of ultimate beneficial ownership.
3060 """
3061 _inner_class_types = {
3062 "bank_account_ownership_verification": BankAccountOwnershipVerification,
3063 "company_license": CompanyLicense,
3064 "company_memorandum_of_association": CompanyMemorandumOfAssociation,
3065 "company_ministerial_decree": CompanyMinisterialDecree,
3066 "company_registration_verification": CompanyRegistrationVerification,
3067 "company_tax_id_verification": CompanyTaxIdVerification,
3068 "primary_verification": PrimaryVerification,
3069 "proof_of_address": ProofOfAddress,
3070 "proof_of_registration": ProofOfRegistration,
3071 "proof_of_ultimate_beneficial_ownership": ProofOfUltimateBeneficialOwnership,
3072 }
3073
3074 class IdNumber(StripeObject):
3075 registrar: Optional[str]
3076 """
3077 The registrar of the ID number (Only valid for DE ID number types).
3078 """
3079 type: Literal[
3080 "ae_crn",
3081 "ae_vat",
3082 "ao_nif",
3083 "ar_cuit",
3084 "at_fn",
3085 "at_stn",
3086 "at_vat",
3087 "au_abn",
3088 "au_acn",
3089 "au_in",
3090 "az_tin",
3091 "bd_etin",
3092 "be_cbe",
3093 "be_vat",
3094 "bg_uic",
3095 "bg_vat",
3096 "br_cnpj",
3097 "ca_cn",
3098 "ca_crarr",
3099 "ca_gst_hst",
3100 "ca_neq",
3101 "ca_rid",
3102 "ch_chid",
3103 "ch_uid",
3104 "cr_cpj",
3105 "cr_nite",
3106 "cy_he",
3107 "cy_tic",
3108 "cy_vat",
3109 "cz_ico",
3110 "cz_vat",
3111 "de_hrn",
3112 "de_stn",
3113 "de_vat",
3114 "dk_cvr",
3115 "dk_vat",
3116 "do_rcn",
3117 "ee_rk",
3118 "ee_vat",
3119 "es_cif",
3120 "es_vat",
3121 "fi_vat",
3122 "fi_yt",
3123 "fr_rna",
3124 "fr_siren",
3125 "fr_vat",
3126 "gb_crn",
3127 "gb_vat",
3128 "gi_crn",
3129 "gr_afm",
3130 "gr_gemi",
3131 "gr_vat",
3132 "gt_nit",
3133 "hk_br",
3134 "hk_cr",
3135 "hr_mbs",
3136 "hr_oib",
3137 "hr_vat",
3138 "hu_cjs",
3139 "hu_tin",
3140 "hu_vat",
3141 "ie_crn",
3142 "ie_trn",
3143 "ie_vat",
3144 "it_rea",
3145 "it_vat",
3146 "jp_cn",
3147 "kz_bin",
3148 "li_uid",
3149 "lt_ccrn",
3150 "lt_vat",
3151 "lu_nif",
3152 "lu_rcs",
3153 "lu_vat",
3154 "lv_urn",
3155 "lv_vat",
3156 "mt_crn",
3157 "mt_tin",
3158 "mt_vat",
3159 "mx_rfc",
3160 "my_brn",
3161 "my_coid",
3162 "my_itn",
3163 "my_sst",
3164 "mz_nuit",
3165 "nl_kvk",
3166 "nl_rsin",
3167 "nl_vat",
3168 "no_orgnr",
3169 "nz_bn",
3170 "nz_ird",
3171 "pe_ruc",
3172 "pk_ntn",
3173 "pl_nip",
3174 "pl_regon",
3175 "pl_vat",
3176 "pt_vat",
3177 "ro_cui",
3178 "ro_orc",
3179 "ro_vat",
3180 "sa_crn",
3181 "sa_tin",
3182 "se_orgnr",
3183 "se_vat",
3184 "sg_uen",
3185 "si_msp",
3186 "si_tin",
3187 "si_vat",
3188 "sk_dic",
3189 "sk_ico",
3190 "sk_vat",
3191 "th_crn",
3192 "th_prn",
3193 "th_tin",
3194 "us_ein",
3195 ]
3196 """
3197 Open Enum. The ID number type of a business entity.
3198 """
3199
3200 class MonthlyEstimatedRevenue(StripeObject):
3201 class Amount(StripeObject):
3202 currency: Optional[str]
3203 """
3204 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).
3205 """
3206 value: Optional[int]
3207 """
3208 A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
3209 """
3210
3211 amount: Optional[Amount]
3212 """
3213 Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD).
3214 """
3215 _inner_class_types = {"amount": Amount}
3216
3217 class RegistrationDate(StripeObject):
3218 day: int
3219 """
3220 The day of registration, between 1 and 31.
3221 """
3222 month: int
3223 """
3224 The month of registration, between 1 and 12.
3225 """
3226 year: int
3227 """
3228 The four-digit year of registration.
3229 """
3230
3231 class ScriptAddresses(StripeObject):
3232 class Kana(StripeObject):
3233 city: Optional[str]
3234 """
3235 City, district, suburb, town, or village.
3236 """
3237 country: Optional[str]
3238 """
3239 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3240 """
3241 line1: Optional[str]
3242 """
3243 Address line 1 (e.g., street, PO Box, or company name).
3244 """
3245 line2: Optional[str]
3246 """
3247 Address line 2 (e.g., apartment, suite, unit, or building).
3248 """
3249 postal_code: Optional[str]
3250 """
3251 ZIP or postal code.
3252 """
3253 state: Optional[str]
3254 """
3255 State, county, province, or region.
3256 """
3257 town: Optional[str]
3258 """
3259 Town or district.
3260 """
3261
3262 class Kanji(StripeObject):
3263 city: Optional[str]
3264 """
3265 City, district, suburb, town, or village.
3266 """
3267 country: Optional[str]
3268 """
3269 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3270 """
3271 line1: Optional[str]
3272 """
3273 Address line 1 (e.g., street, PO Box, or company name).
3274 """
3275 line2: Optional[str]
3276 """
3277 Address line 2 (e.g., apartment, suite, unit, or building).
3278 """
3279 postal_code: Optional[str]
3280 """
3281 ZIP or postal code.
3282 """
3283 state: Optional[str]
3284 """
3285 State, county, province, or region.
3286 """
3287 town: Optional[str]
3288 """
3289 Town or district.
3290 """
3291
3292 kana: Optional[Kana]
3293 """
3294 Kana Address.
3295 """
3296 kanji: Optional[Kanji]
3297 """
3298 Kanji Address.
3299 """
3300 _inner_class_types = {"kana": Kana, "kanji": Kanji}
3301
3302 class ScriptNames(StripeObject):
3303 class Kana(StripeObject):
3304 registered_name: Optional[str]
3305 """
3306 Registered name of the business.
3307 """
3308
3309 class Kanji(StripeObject):
3310 registered_name: Optional[str]
3311 """
3312 Registered name of the business.
3313 """
3314
3315 kana: Optional[Kana]
3316 """
3317 Kana name.
3318 """
3319 kanji: Optional[Kanji]
3320 """
3321 Kanji name.
3322 """
3323 _inner_class_types = {"kana": Kana, "kanji": Kanji}
3324
3325 address: Optional[Address]
3326 """
3327 The company's primary address.
3328 """
3329 annual_revenue: Optional[AnnualRevenue]
3330 """
3331 The business gross annual revenue for its preceding fiscal year.
3332 """
3333 documents: Optional[Documents]
3334 """
3335 Documents that may be submitted to satisfy various informational requests.
3336 """
3337 estimated_worker_count: Optional[int]
3338 """
3339 Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
3340 """
3341 id_numbers: Optional[List[IdNumber]]
3342 """
3343 The provided ID numbers of a business entity.
3344 """
3345 monthly_estimated_revenue: Optional[MonthlyEstimatedRevenue]
3346 """
3347 An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
3348 """
3349 phone: Optional[str]
3350 """
3351 The company's phone number (used for verification).
3352 """
3353 registered_name: Optional[str]
3354 """
3355 The business legal name.
3356 """
3357 registration_date: Optional[RegistrationDate]
3358 """
3359 When the business was incorporated or registered.
3360 """
3361 script_addresses: Optional[ScriptAddresses]
3362 """
3363 The business registration address of the business entity in non latin script.
3364 """
3365 script_names: Optional[ScriptNames]
3366 """
3367 The business legal name in non latin script.
3368 """
3369 structure: Optional[
3370 Literal[
3371 "cooperative",
3372 "free_zone_establishment",
3373 "free_zone_llc",
3374 "governmental_unit",
3375 "government_instrumentality",
3376 "incorporated_association",
3377 "incorporated_non_profit",
3378 "incorporated_partnership",
3379 "limited_liability_partnership",
3380 "llc",
3381 "multi_member_llc",
3382 "private_company",
3383 "private_corporation",
3384 "private_partnership",
3385 "public_company",
3386 "public_corporation",
3387 "public_listed_corporation",
3388 "public_partnership",
3389 "registered_charity",
3390 "single_member_llc",
3391 "sole_establishment",
3392 "sole_proprietorship",
3393 "tax_exempt_government_instrumentality",
3394 "trust",
3395 "unincorporated_association",
3396 "unincorporated_non_profit",
3397 "unincorporated_partnership",
3398 ]
3399 ]
3400 """
3401 The category identifying the legal structure of the business.
3402 """
3403 _inner_class_types = {
3404 "address": Address,
3405 "annual_revenue": AnnualRevenue,
3406 "documents": Documents,
3407 "id_numbers": IdNumber,
3408 "monthly_estimated_revenue": MonthlyEstimatedRevenue,
3409 "registration_date": RegistrationDate,
3410 "script_addresses": ScriptAddresses,
3411 "script_names": ScriptNames,
3412 }
3413
3414 class Individual(StripeObject):
3415 class AdditionalAddress(StripeObject):
3416 city: Optional[str]
3417 """
3418 City, district, suburb, town, or village.
3419 """
3420 country: Optional[str]
3421 """
3422 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3423 """
3424 line1: Optional[str]
3425 """
3426 Address line 1 (e.g., street, PO Box, or company name).
3427 """
3428 line2: Optional[str]
3429 """
3430 Address line 2 (e.g., apartment, suite, unit, or building).
3431 """
3432 postal_code: Optional[str]
3433 """
3434 ZIP or postal code.
3435 """
3436 purpose: Literal["registered"]
3437 """
3438 Purpose of additional address.
3439 """
3440 state: Optional[str]
3441 """
3442 State, county, province, or region.
3443 """
3444 town: Optional[str]
3445 """
3446 Town or district.
3447 """
3448
3449 class AdditionalName(StripeObject):
3450 full_name: Optional[str]
3451 """
3452 The individual's full name.
3453 """
3454 given_name: Optional[str]
3455 """
3456 The individual's first or given name.
3457 """
3458 purpose: Literal["alias", "maiden"]
3459 """
3460 The purpose or type of the additional name.
3461 """
3462 surname: Optional[str]
3463 """
3464 The individual's last or family name.
3465 """
3466
3467 class AdditionalTermsOfService(StripeObject):
3468 class Account(StripeObject):
3469 date: Optional[str]
3470 """
3471 The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
3472 """
3473 ip: Optional[str]
3474 """
3475 The IP address from which the Account's representative accepted the terms of service.
3476 """
3477 user_agent: Optional[str]
3478 """
3479 The user agent of the browser from which the Account's representative accepted the terms of service.
3480 """
3481
3482 account: Optional[Account]
3483 """
3484 Stripe terms of service agreement.
3485 """
3486 _inner_class_types = {"account": Account}
3487
3488 class Address(StripeObject):
3489 city: Optional[str]
3490 """
3491 City, district, suburb, town, or village.
3492 """
3493 country: Optional[str]
3494 """
3495 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3496 """
3497 line1: Optional[str]
3498 """
3499 Address line 1 (e.g., street, PO Box, or company name).
3500 """
3501 line2: Optional[str]
3502 """
3503 Address line 2 (e.g., apartment, suite, unit, or building).
3504 """
3505 postal_code: Optional[str]
3506 """
3507 ZIP or postal code.
3508 """
3509 state: Optional[str]
3510 """
3511 State, county, province, or region.
3512 """
3513 town: Optional[str]
3514 """
3515 Town or district.
3516 """
3517
3518 class DateOfBirth(StripeObject):
3519 day: int
3520 """
3521 The day of birth, between 1 and 31.
3522 """
3523 month: int
3524 """
3525 The month of birth, between 1 and 12.
3526 """
3527 year: int
3528 """
3529 The four-digit year of birth.
3530 """
3531
3532 class Documents(StripeObject):
3533 class CompanyAuthorization(StripeObject):
3534 files: List[str]
3535 """
3536 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`.
3537 """
3538 type: Literal["files"]
3539 """
3540 The format of the document. Currently supports `files` only.
3541 """
3542
3543 class Passport(StripeObject):
3544 files: List[str]
3545 """
3546 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`.
3547 """
3548 type: Literal["files"]
3549 """
3550 The format of the document. Currently supports `files` only.
3551 """
3552
3553 class PrimaryVerification(StripeObject):
3554 class FrontBack(StripeObject):
3555 back: Optional[str]
3556 """
3557 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.
3558 """
3559 front: str
3560 """
3561 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.
3562 """
3563
3564 front_back: FrontBack
3565 """
3566 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3567 """
3568 type: Literal["front_back"]
3569 """
3570 The format of the verification document. Currently supports `front_back` only.
3571 """
3572 _inner_class_types = {"front_back": FrontBack}
3573
3574 class SecondaryVerification(StripeObject):
3575 class FrontBack(StripeObject):
3576 back: Optional[str]
3577 """
3578 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.
3579 """
3580 front: str
3581 """
3582 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.
3583 """
3584
3585 front_back: FrontBack
3586 """
3587 The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3588 """
3589 type: Literal["front_back"]
3590 """
3591 The format of the verification document. Currently supports `front_back` only.
3592 """
3593 _inner_class_types = {"front_back": FrontBack}
3594
3595 class Visa(StripeObject):
3596 files: List[str]
3597 """
3598 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`.
3599 """
3600 type: Literal["files"]
3601 """
3602 The format of the document. Currently supports `files` only.
3603 """
3604
3605 company_authorization: Optional[CompanyAuthorization]
3606 """
3607 One or more documents that demonstrate proof that this person is authorized to represent the company.
3608 """
3609 passport: Optional[Passport]
3610 """
3611 One or more documents showing the person's passport page with photo and personal data.
3612 """
3613 primary_verification: Optional[PrimaryVerification]
3614 """
3615 An identifying document showing the person's name, either a passport or local ID card.
3616 """
3617 secondary_verification: Optional[SecondaryVerification]
3618 """
3619 A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
3620 """
3621 visa: Optional[Visa]
3622 """
3623 One or more documents showing the person's visa required for living in the country where they are residing.
3624 """
3625 _inner_class_types = {
3626 "company_authorization": CompanyAuthorization,
3627 "passport": Passport,
3628 "primary_verification": PrimaryVerification,
3629 "secondary_verification": SecondaryVerification,
3630 "visa": Visa,
3631 }
3632
3633 class IdNumber(StripeObject):
3634 type: Literal[
3635 "ae_eid",
3636 "ao_nif",
3637 "ar_cuil",
3638 "ar_dni",
3639 "at_stn",
3640 "az_tin",
3641 "bd_brc",
3642 "bd_etin",
3643 "bd_nid",
3644 "be_nrn",
3645 "bg_ucn",
3646 "bn_nric",
3647 "br_cpf",
3648 "ca_sin",
3649 "ch_oasi",
3650 "cl_rut",
3651 "cn_pp",
3652 "co_nuip",
3653 "cr_ci",
3654 "cr_cpf",
3655 "cr_dimex",
3656 "cr_nite",
3657 "cy_tic",
3658 "cz_rc",
3659 "de_stn",
3660 "dk_cpr",
3661 "do_cie",
3662 "do_rcn",
3663 "ec_ci",
3664 "ee_ik",
3665 "es_nif",
3666 "fi_hetu",
3667 "fr_nir",
3668 "gb_nino",
3669 "gr_afm",
3670 "gt_nit",
3671 "hk_id",
3672 "hr_oib",
3673 "hu_ad",
3674 "id_nik",
3675 "ie_ppsn",
3676 "is_kt",
3677 "it_cf",
3678 "jp_inc",
3679 "ke_pin",
3680 "kz_iin",
3681 "li_peid",
3682 "lt_ak",
3683 "lu_nif",
3684 "lv_pk",
3685 "mx_rfc",
3686 "my_nric",
3687 "mz_nuit",
3688 "ng_nin",
3689 "nl_bsn",
3690 "no_nin",
3691 "nz_ird",
3692 "pe_dni",
3693 "pk_cnic",
3694 "pk_snic",
3695 "pl_pesel",
3696 "pt_nif",
3697 "ro_cnp",
3698 "sa_tin",
3699 "se_pin",
3700 "sg_fin",
3701 "sg_nric",
3702 "sk_dic",
3703 "th_lc",
3704 "th_pin",
3705 "tr_tin",
3706 "us_itin",
3707 "us_itin_last_4",
3708 "us_ssn",
3709 "us_ssn_last_4",
3710 "uy_dni",
3711 "za_id",
3712 ]
3713 """
3714 The ID number type of an individual.
3715 """
3716
3717 class Relationship(StripeObject):
3718 authorizer: Optional[bool]
3719 """
3720 Whether the individual is an authorizer of the Account's identity.
3721 """
3722 director: Optional[bool]
3723 """
3724 Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations.
3725 """
3726 executive: Optional[bool]
3727 """
3728 Whether the individual has significant responsibility to control, manage, or direct the organization.
3729 """
3730 legal_guardian: Optional[bool]
3731 """
3732 Whether the individual is the legal guardian of the Account's representative.
3733 """
3734 owner: Optional[bool]
3735 """
3736 Whether the individual is an owner of the Account's identity.
3737 """
3738 percent_ownership: Optional[str]
3739 """
3740 The percentage of the Account's identity that the individual owns.
3741 """
3742 representative: Optional[bool]
3743 """
3744 Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
3745 """
3746 title: Optional[str]
3747 """
3748 The individual's title (e.g., CEO, Support Engineer).
3749 """
3750
3751 class ScriptAddresses(StripeObject):
3752 class Kana(StripeObject):
3753 city: Optional[str]
3754 """
3755 City, district, suburb, town, or village.
3756 """
3757 country: Optional[str]
3758 """
3759 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3760 """
3761 line1: Optional[str]
3762 """
3763 Address line 1 (e.g., street, PO Box, or company name).
3764 """
3765 line2: Optional[str]
3766 """
3767 Address line 2 (e.g., apartment, suite, unit, or building).
3768 """
3769 postal_code: Optional[str]
3770 """
3771 ZIP or postal code.
3772 """
3773 state: Optional[str]
3774 """
3775 State, county, province, or region.
3776 """
3777 town: Optional[str]
3778 """
3779 Town or district.
3780 """
3781
3782 class Kanji(StripeObject):
3783 city: Optional[str]
3784 """
3785 City, district, suburb, town, or village.
3786 """
3787 country: Optional[str]
3788 """
3789 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3790 """
3791 line1: Optional[str]
3792 """
3793 Address line 1 (e.g., street, PO Box, or company name).
3794 """
3795 line2: Optional[str]
3796 """
3797 Address line 2 (e.g., apartment, suite, unit, or building).
3798 """
3799 postal_code: Optional[str]
3800 """
3801 ZIP or postal code.
3802 """
3803 state: Optional[str]
3804 """
3805 State, county, province, or region.
3806 """
3807 town: Optional[str]
3808 """
3809 Town or district.
3810 """
3811
3812 kana: Optional[Kana]
3813 """
3814 Kana Address.
3815 """
3816 kanji: Optional[Kanji]
3817 """
3818 Kanji Address.
3819 """
3820 _inner_class_types = {"kana": Kana, "kanji": Kanji}
3821
3822 class ScriptNames(StripeObject):
3823 class Kana(StripeObject):
3824 given_name: Optional[str]
3825 """
3826 The person's first or given name.
3827 """
3828 surname: Optional[str]
3829 """
3830 The person's last or family name.
3831 """
3832
3833 class Kanji(StripeObject):
3834 given_name: Optional[str]
3835 """
3836 The person's first or given name.
3837 """
3838 surname: Optional[str]
3839 """
3840 The person's last or family name.
3841 """
3842
3843 kana: Optional[Kana]
3844 """
3845 Persons name in kana script.
3846 """
3847 kanji: Optional[Kanji]
3848 """
3849 Persons name in kanji script.
3850 """
3851 _inner_class_types = {"kana": Kana, "kanji": Kanji}
3852
3853 account: str
3854 """
3855 The account ID which the individual belongs to.
3856 """
3857 additional_addresses: Optional[List[AdditionalAddress]]
3858 """
3859 Additional addresses associated with the individual.
3860 """
3861 additional_names: Optional[List[AdditionalName]]
3862 """
3863 Additional names (e.g. aliases) associated with the individual.
3864 """
3865 additional_terms_of_service: Optional[AdditionalTermsOfService]
3866 """
3867 Terms of service acceptances.
3868 """
3869 address: Optional[Address]
3870 """
3871 The individual's residential address.
3872 """
3873 created: str
3874 """
3875 Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
3876 """
3877 date_of_birth: Optional[DateOfBirth]
3878 """
3879 The individual's date of birth.
3880 """
3881 documents: Optional[Documents]
3882 """
3883 Documents that may be submitted to satisfy various informational requests.
3884 """
3885 email: Optional[str]
3886 """
3887 The individual's email address.
3888 """
3889 given_name: Optional[str]
3890 """
3891 The individual's first name.
3892 """
3893 id: str
3894 """
3895 Unique identifier for the object.
3896 """
3897 id_numbers: Optional[List[IdNumber]]
3898 """
3899 The identification numbers (e.g., SSN) associated with the individual.
3900 """
3901 legal_gender: Optional[Literal["female", "male"]]
3902 """
3903 The individual's gender (International regulations require either "male” or "female").
3904 """
3905 metadata: Optional[Dict[str, str]]
3906 """
3907 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.
3908 """
3909 nationalities: Optional[List[str]]
3910 """
3911 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)).
3912 """
3913 object: str
3914 """
3915 String representing the object's type. Objects of the same type share the same value.
3916 """
3917 phone: Optional[str]
3918 """
3919 The individual's phone number.
3920 """
3921 political_exposure: Optional[Literal["existing", "none"]]
3922 """
3923 Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
3924 """
3925 relationship: Optional[Relationship]
3926 """
3927 The relationship that this individual has with the Account's identity.
3928 """
3929 script_addresses: Optional[ScriptAddresses]
3930 """
3931 The script addresses (e.g., non-Latin characters) associated with the individual.
3932 """
3933 script_names: Optional[ScriptNames]
3934 """
3935 The script names (e.g. non-Latin characters) associated with the individual.
3936 """
3937 surname: Optional[str]
3938 """
3939 The individual's last name.
3940 """
3941 updated: str
3942 """
3943 Time at which the object was last updated.
3944 """
3945 _inner_class_types = {
3946 "additional_addresses": AdditionalAddress,
3947 "additional_names": AdditionalName,
3948 "additional_terms_of_service": AdditionalTermsOfService,
3949 "address": Address,
3950 "date_of_birth": DateOfBirth,
3951 "documents": Documents,
3952 "id_numbers": IdNumber,
3953 "relationship": Relationship,
3954 "script_addresses": ScriptAddresses,
3955 "script_names": ScriptNames,
3956 }
3957
3958 attestations: Optional[Attestations]
3959 """
3960 Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
3961 """
3962 business_details: Optional[BusinessDetails]
3963 """
3964 Information about the company or business.
3965 """
3966 country: Optional[str]
3967 """
3968 The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
3969 """
3970 entity_type: Optional[
3971 Literal["company", "government_entity", "individual", "non_profit"]
3972 ]
3973 """
3974 The entity type.
3975 """
3976 individual: Optional[Individual]
3977 """
3978 Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
3979 """
3980 _inner_class_types = {
3981 "attestations": Attestations,
3982 "business_details": BusinessDetails,
3983 "individual": Individual,
3984 }
3985
3986 class Requirements(StripeObject):
3987 class Entry(StripeObject):
3988 class Error(StripeObject):
3989 code: Literal[
3990 "invalid_address_city_state_postal_code",
3991 "invalid_address_highway_contract_box",
3992 "invalid_address_private_mailbox",
3993 "invalid_business_profile_name",
3994 "invalid_business_profile_name_denylisted",
3995 "invalid_company_name_denylisted",
3996 "invalid_dob_age_over_maximum",
3997 "invalid_dob_age_under_18",
3998 "invalid_dob_age_under_minimum",
3999 "invalid_product_description_length",
4000 "invalid_product_description_url_match",
4001 "invalid_representative_country",
4002 "invalid_statement_descriptor_business_mismatch",
4003 "invalid_statement_descriptor_denylisted",
4004 "invalid_statement_descriptor_length",
4005 "invalid_statement_descriptor_prefix_denylisted",
4006 "invalid_statement_descriptor_prefix_mismatch",
4007 "invalid_street_address",
4008 "invalid_tax_id",
4009 "invalid_tax_id_format",
4010 "invalid_tos_acceptance",
4011 "invalid_url_denylisted",
4012 "invalid_url_format",
4013 "invalid_url_website_business_information_mismatch",
4014 "invalid_url_website_empty",
4015 "invalid_url_website_inaccessible",
4016 "invalid_url_website_inaccessible_geoblocked",
4017 "invalid_url_website_inaccessible_password_protected",
4018 "invalid_url_website_incomplete",
4019 "invalid_url_website_incomplete_cancellation_policy",
4020 "invalid_url_website_incomplete_customer_service_details",
4021 "invalid_url_website_incomplete_legal_restrictions",
4022 "invalid_url_website_incomplete_refund_policy",
4023 "invalid_url_website_incomplete_return_policy",
4024 "invalid_url_website_incomplete_terms_and_conditions",
4025 "invalid_url_website_incomplete_under_construction",
4026 "invalid_url_website_other",
4027 "invalid_url_web_presence_detected",
4028 "invalid_value_other",
4029 "unresolvable_ip_address",
4030 "unresolvable_postal_code",
4031 "verification_directors_mismatch",
4032 "verification_document_address_mismatch",
4033 "verification_document_address_missing",
4034 "verification_document_corrupt",
4035 "verification_document_country_not_supported",
4036 "verification_document_directors_mismatch",
4037 "verification_document_dob_mismatch",
4038 "verification_document_duplicate_type",
4039 "verification_document_expired",
4040 "verification_document_failed_copy",
4041 "verification_document_failed_greyscale",
4042 "verification_document_failed_other",
4043 "verification_document_failed_test_mode",
4044 "verification_document_fraudulent",
4045 "verification_document_id_number_mismatch",
4046 "verification_document_id_number_missing",
4047 "verification_document_incomplete",
4048 "verification_document_invalid",
4049 "verification_document_issue_or_expiry_date_missing",
4050 "verification_document_manipulated",
4051 "verification_document_missing_back",
4052 "verification_document_missing_front",
4053 "verification_document_name_mismatch",
4054 "verification_document_name_missing",
4055 "verification_document_nationality_mismatch",
4056 "verification_document_not_readable",
4057 "verification_document_not_signed",
4058 "verification_document_not_uploaded",
4059 "verification_document_photo_mismatch",
4060 "verification_document_too_large",
4061 "verification_document_type_not_supported",
4062 "verification_extraneous_directors",
4063 "verification_failed_address_match",
4064 "verification_failed_business_iec_number",
4065 "verification_failed_document_match",
4066 "verification_failed_id_number_match",
4067 "verification_failed_keyed_identity",
4068 "verification_failed_keyed_match",
4069 "verification_failed_name_match",
4070 "verification_failed_other",
4071 "verification_failed_representative_authority",
4072 "verification_failed_residential_address",
4073 "verification_failed_tax_id_match",
4074 "verification_failed_tax_id_not_issued",
4075 "verification_missing_directors",
4076 "verification_missing_executives",
4077 "verification_missing_owners",
4078 "verification_requires_additional_memorandum_of_associations",
4079 "verification_requires_additional_proof_of_registration",
4080 "verification_selfie_document_missing_photo",
4081 "verification_selfie_face_mismatch",
4082 "verification_selfie_manipulated",
4083 "verification_selfie_unverified_other",
4084 "verification_supportability",
4085 "verification_token_stale",
4086 ]
4087 """
4088 Machine-readable code describing the error.
4089 """
4090 description: str
4091 """
4092 Human-readable description of the error.
4093 """
4094
4095 class Impact(StripeObject):
4096 class RestrictsCapability(StripeObject):
4097 class Deadline(StripeObject):
4098 status: Literal[
4099 "currently_due", "eventually_due", "past_due"
4100 ]
4101 """
4102 The current status of the requirement's impact.
4103 """
4104
4105 capability: Literal[
4106 "ach_debit_payments",
4107 "acss_debit_payments",
4108 "affirm_payments",
4109 "afterpay_clearpay_payments",
4110 "alma_payments",
4111 "amazon_pay_payments",
4112 "automatic_indirect_tax",
4113 "au_becs_debit_payments",
4114 "bacs_debit_payments",
4115 "bancontact_payments",
4116 "bank_accounts.local",
4117 "bank_accounts.wire",
4118 "blik_payments",
4119 "boleto_payments",
4120 "cards",
4121 "card_payments",
4122 "cartes_bancaires_payments",
4123 "cashapp_payments",
4124 "eps_payments",
4125 "fpx_payments",
4126 "gb_bank_transfer_payments",
4127 "grabpay_payments",
4128 "ideal_payments",
4129 "jcb_payments",
4130 "jp_bank_transfer_payments",
4131 "kakao_pay_payments",
4132 "klarna_payments",
4133 "konbini_payments",
4134 "kr_card_payments",
4135 "link_payments",
4136 "mobilepay_payments",
4137 "multibanco_payments",
4138 "mx_bank_transfer_payments",
4139 "naver_pay_payments",
4140 "oxxo_payments",
4141 "p24_payments",
4142 "payco_payments",
4143 "paynow_payments",
4144 "pay_by_bank_payments",
4145 "promptpay_payments",
4146 "revolut_pay_payments",
4147 "samsung_pay_payments",
4148 "sepa_bank_transfer_payments",
4149 "sepa_debit_payments",
4150 "stripe_balance.payouts",
4151 "stripe_balance.stripe_transfers",
4152 "swish_payments",
4153 "twint_payments",
4154 "us_bank_transfer_payments",
4155 "zip_payments",
4156 ]
4157 """
4158 The name of the Capability which will be restricted.
4159 """
4160 configuration: Literal["customer", "merchant", "recipient"]
4161 """
4162 The configuration which specifies the Capability which will be restricted.
4163 """
4164 deadline: Deadline
4165 """
4166 Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
4167 """
4168 _inner_class_types = {"deadline": Deadline}
4169
4170 restricts_capabilities: Optional[List[RestrictsCapability]]
4171 """
4172 The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
4173 """
4174 _inner_class_types = {
4175 "restricts_capabilities": RestrictsCapability,
4176 }
4177
4178 class MinimumDeadline(StripeObject):
4179 status: Literal["currently_due", "eventually_due", "past_due"]
4180 """
4181 The current status of the requirement's impact.
4182 """
4183
4184 class Reference(StripeObject):
4185 inquiry: Optional[str]
4186 """
4187 If `inquiry` is the type, the inquiry token.
4188 """
4189 resource: Optional[str]
4190 """
4191 If `resource` is the type, the resource token.
4192 """
4193 type: Literal["inquiry", "payment_method", "person"]
4194 """
4195 The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field.
4196 Otherwise the type is an API resource, the token for which can be found in the "resource" field.
4197 """
4198
4199 class RequestedReason(StripeObject):
4200 code: Literal["routine_onboarding", "routine_verification"]
4201 """
4202 Machine-readable description of Stripe's reason for collecting the requirement.
4203 """
4204
4205 awaiting_action_from: Literal["stripe", "user"]
4206 """
4207 Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
4208 """
4209 description: str
4210 """
4211 Machine-readable string describing the requirement.
4212 """
4213 errors: List[Error]
4214 """
4215 Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
4216 """
4217 impact: Impact
4218 """
4219 A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
4220 """
4221 minimum_deadline: MinimumDeadline
4222 """
4223 The soonest point when the account will be impacted by not providing the requirement.
4224 """
4225 reference: Optional[Reference]
4226 """
4227 A reference to the location of the requirement.
4228 """
4229 requested_reasons: List[RequestedReason]
4230 """
4231 A list of reasons why Stripe is collecting the requirement.
4232 """
4233 _inner_class_types = {
4234 "errors": Error,
4235 "impact": Impact,
4236 "minimum_deadline": MinimumDeadline,
4237 "reference": Reference,
4238 "requested_reasons": RequestedReason,
4239 }
4240
4241 class Summary(StripeObject):
4242 class MinimumDeadline(StripeObject):
4243 status: Literal["currently_due", "eventually_due", "past_due"]
4244 """
4245 The current strictest status of all requirements on the Account.
4246 """
4247 time: Optional[str]
4248 """
4249 The soonest RFC3339 date & time UTC value a requirement can impact the Account.
4250 """
4251
4252 minimum_deadline: Optional[MinimumDeadline]
4253 """
4254 The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
4255 """
4256 _inner_class_types = {"minimum_deadline": MinimumDeadline}
4257
4258 entries: Optional[List[Entry]]
4259 """
4260 A list of requirements for the Account.
4261 """
4262 summary: Optional[Summary]
4263 """
4264 An object containing an overview of requirements for the Account.
4265 """
4266 _inner_class_types = {"entries": Entry, "summary": Summary}
4267
4268 applied_configurations: List[Literal["customer", "merchant", "recipient"]]
4269 """
4270 The configurations that have been applied to this account.
4271 """
4272 closed: Optional[bool]
4273 """
4274 Indicates whether the account has been closed.
4275 """
4276 configuration: Optional[Configuration]
4277 """
4278 An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later.
4279 """
4280 contact_email: Optional[str]
4281 """
4282 The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
4283 """
4284 contact_phone: Optional[str]
4285 """
4286 The default contact phone for the Account.
4287 """
4288 created: str
4289 """
4290 Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4291 """
4292 dashboard: Optional[Literal["express", "full", "none"]]
4293 """
4294 A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
4295 """
4296 defaults: Optional[Defaults]
4297 """
4298 Default values for settings shared across Account configurations.
4299 """
4300 display_name: Optional[str]
4301 """
4302 A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
4303 """
4304 future_requirements: Optional[FutureRequirements]
4305 """
4306 Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when.
4307 """
4308 id: str
4309 """
4310 Unique identifier for the Account.
4311 """
4312 identity: Optional[Identity]
4313 """
4314 Information about the company, individual, and business represented by the Account.
4315 """
4316 livemode: bool
4317 """
4318 Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
4319 """
4320 metadata: Optional[Dict[str, str]]
4321 """
4322 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.
4323 """
4324 object: Literal["v2.core.account"]
4325 """
4326 String representing the object's type. Objects of the same type share the same value of the object field.
4327 """
4328 requirements: Optional[Requirements]
4329 """
4330 Information about the active requirements for the Account, including what information needs to be collected, and by when.
4331 """
4332 _inner_class_types = {
4333 "configuration": Configuration,
4334 "defaults": Defaults,
4335 "future_requirements": FutureRequirements,
4336 "identity": Identity,
4337 "requirements": Requirements,
4338 }