
    +h                       d dl mZmZmZ d dlmZmZmZmZm	Z	 d dl
mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZmZmZmZmZmZmZ d d	lmZmZmZm Z m!Z! d d
l"m#Z# e!r$d dl$m%Z% d dl&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z- d dl.m/Z/  e	d       e	d       e	d       e	d       G d ded   ed   ed   ed                                     Z0y)    )api_resourcesoauthutil)CreateableAPIResourceDeletableAPIResourceListableAPIResourceUpdateableAPIResourcenested_resource_class_methods)ExpandableField)
ListObject)RequestOptions)StripeObject)class_method_variant)ClassVarDictListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)
quote_plus)BankAccount)
Capability)Card)File)	LoginLink)Person
capabilityexternal_account
login_linkpersonc                   J    e Zd ZU dZdZeed      ed<    G d de      Z	 G d de      Z
 G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Zer G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z  G d. d/e      Z! G d0 d1e      Z" G d2 d3e      Z# G d4 d5e      Z$ G d6 d7e      Z% G d8 d9e      Z& G d: d;e      Z' G d< d=e      Z( G d> d?e      Z) G d@ dAe      Z* G dB dCe      Z+ G dD dEe      Z, G dF dGe      Z- G dH dIe      Z. G dJ dKe      Z/ G dL dMe      Z0 G dN dOe      Z1 G dP dQe      Z2 G dR dSe      Z3 G dT dUe      Z4 G dV dWe      Z5 G dX dYe      Z6 G dZ d[e      Z7 G d\ d]e      Z8 G d^ d_e      Z9 G d` dae      Z: G db dce      Z; G dd dee      Z< G df dge      Z= G dh die      Z> G dj dke      Z? G dl dme      Z@ G dn doe      ZA G dp dqe      ZB G dr dse      ZC G dt due      ZD G dv dwe      ZE G dx dye      ZF G dz d{e      ZG G d| d}e      ZH G d~ de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G d de      Zb G d de      Zc G d de      Zd G d de      Ze G d de      Zf G d de      Zg G d de      Zh G d de      Zi G d de      Zj G d de      Zk G dĄ de      Zl G dƄ de      Zm G dȄ de      Zn G dʄ de      Zo G d̄ de      Zp G d΄ de      Zq G dЄ de      Zr G d҄ de      Zs G dԄ de      Zt G dք de      Zu G d؄ de      Zv G dڄ de      Zw G d܄ de      Zx G dބ de      Zy G d de      Zz G d de      Z{ G d de      Z| G d de      Z} G d de      Z~ G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  de      Z G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Zee	   ed<   	 eed      ed<   	 ee
   ed<   ee   ed<   	 ee   ed<   ee   ed <   ee   ed!<   	 ee   ed"<   	 ee   ed#<   	 ee   ed$<   	 ee   ed%<   	 eeed&         ed'<   	 ee   ed(<   eed)<   	 ed*   ed+<   	 eeeef      ed,<   	 ed   ed-<   	 ee   ed.<   	 ee   ed/<   ee   ed0<   	 ee   ed1<   eed2      ed3<   	 eed4      ed5<   	 e	 	 	 	 dzd6ee   d7ee   d8ee   d9ee   d:ed;   d<d fd=       Zed>ed:ed?   d<d fd@       Zeed>ed:ed?   d<d fdA              Zed:ed?   d<d fdB       Z edC      d:ed?   d<d fdD       Ze	 	 	 d{d6ee   d8ee   d9ee   d:edE   d<ed    f
dF       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edG   d<ed*   fdH       Zee	 	 	 d{ded6ee   d8ee   d9ee   d:edG   d<ed*   fdI              Ze	 d|d7ee   d:edG   d<ed*   fdJ       Z edK      	 d|d7ee   d:edG   d<ed*   fdL       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edM   d<d fdN       Zee	 	 	 d{ded6ee   d8ee   d9ee   d:edM   d<d fdO              Ze	 d|d7ee   d:edM   d<d fdP       Z edQ      	 d|d7ee   d:edM   d<d fdR       Zed}dS       Zed|dT       ZedU        ZdV ZdW Z fdXZe	 	 	 d{dedYed6ee   d8ee   d9ee   d:edZ   d<d[fd\       Ze	 	 	 d{dedYed6ee   d8ee   d9ee   d:ed]   d<d[fd^       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:ed_   d<ed[   fd`       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:eda   d<ed&   fdb       Ze	 	 	 d{ded)ed6ee   d8ee   d9ee   d:edc   d<ed&   fdd       Ze	 	 	 d{ded)ed6ee   d8ee   d9ee   d:ede   d<ed&   fdf       Ze	 	 	 d{ded)ed6ee   d8ee   d9ee   d:edg   d<ed&   fdh       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edi   d<eed&      fdj       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edk   d<dlfdm       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edn   d<d*fdo       Ze	 	 	 d{dedped6ee   d8ee   d9ee   d:edq   d<d*fdr       Ze	 	 	 d{dedped6ee   d8ee   d9ee   d:eds   d<d*fdt       Ze	 	 	 d{dedped6ee   d8ee   d9ee   d:edu   d<d*fdv       Ze	 	 	 d{ded6ee   d8ee   d9ee   d:edw   d<ed*   fdx       Ze	e
eeeeeedyZ xZS (~  Accounta  
    This is an object representing a Stripe account. You can retrieve it to see
    properties on the account like its current requirements or if the account is
    enabled to make live charges or receive payouts.

    For Custom accounts, the properties below are always returned. For other accounts, some properties are returned until that
    account has started to go through Connect Onboarding. Once you create an [Account Link](https://stripe.com/docs/api/account_links)
    for a Standard or Express account, some parameters are no longer returned. These are marked as **Custom Only** or **Custom and Express**
    below. Learn about the differences [between accounts](https://stripe.com/docs/connect/accounts).
    accountOBJECT_NAMEc                       e Zd ZU  G d de      Z G d de      Zee   ed<   	 ee   ed<   ee   ed<   	 ee   ed<   	 ee   ed	<   	 ee   ed
<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eedZ	y)Account.BusinessProfilec                   $    e Zd ZU eed<   	 eed<   y)/Account.BusinessProfile.MonthlyEstimatedRevenueamountcurrencyN__name__
__module____qualname__int__annotations__str     O/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/account.pyMonthlyEstimatedRevenuer.   ;       K Mr9   r;   c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)&Account.BusinessProfile.SupportAddresscitycountryline1line2postal_codestateNr2   r3   r4   r   r7   r6   r8   r9   r:   SupportAddressr>   E   f    3- c]" C=  C=  "#& C= r9   rF   mccmonthly_estimated_revenuenameproduct_descriptionsupport_addresssupport_emailsupport_phonesupport_urlurl)rI   rL   N)
r2   r3   r4   r   r;   rF   r   r7   r6   _inner_class_typesr8   r9   r:   BusinessProfiler,   :   s    	l 		\ 	4 c]	 $,,C#DDsm	 &c]*	 ".11	  }$	  }$	 c]"	 c]	 *A-
r9   rR   c                      e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed	<   	 eed      ed
<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed<   	 eed      ed <   	 eed      ed!<   	 eed      ed"<   	 eed      ed#<   	 eed      ed$<   	 eed      ed%<   	 eed      ed&<   y')(Account.Capabilities)activeinactivependingacss_debit_paymentsaffirm_paymentsafterpay_clearpay_paymentsau_becs_debit_paymentsbacs_debit_paymentsbancontact_paymentsbank_transfer_paymentsblik_paymentsboleto_paymentscard_issuingcard_paymentscartes_bancaires_paymentscashapp_paymentseps_paymentsfpx_paymentsgiropay_paymentsgrabpay_paymentsideal_paymentsindia_international_paymentsjcb_paymentsklarna_paymentskonbini_paymentslegacy_paymentslink_paymentsoxxo_paymentsp24_paymentspaynow_paymentspromptpay_paymentsrevolut_pay_paymentssepa_debit_paymentssofort_paymentstax_reporting_us_1099_ktax_reporting_us_1099_misc	transferstreasuryus_bank_account_ach_paymentszip_paymentsN)r2   r3   r4   r   r   r6   r8   r9   r:   CapabilitiesrT      s   %g.M&NOO	 "'*I"JKK	 %-34%
 	
	 !)34!
 	
	 &g.M&NOO	 &g.M&NOO	 !)34!
 	
	  (G HII	 "'*I"JKK	 w'FGHH	  (G HII	 $,34$
 	
	 #7+J#KLL	 w'FGHH	 w'FGHH	 #7+J#KLL	 #7+J#KLL	 !)H!IJJ	 '/34'
 	
	 w'FGHH	 "'*I"JKK	 #7+J#KLL	 "'*I"JKK	  (G HII	  (G HII	 w'FGHH	 "'*I"JKK	 %W-L%MNN	 '34
 	
	 &g.M&NOO	 "'*I"JKK	 "*34"
 	
	 %-34%
 	
	 G$CDEE	 7#BCDD	 '/34'
 	
	 w'FGHH	r9   r}   c                      e Zd ZU  G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Ze	e   e
d<   e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	ed      e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 e	e   e
d<   	 eeeeedZy) Account.Companyc                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Account.Company.Addressr?   r@   rA   rB   rC   rD   NrE   r8   r9   r:   Addressr   .  rG   r9   r   c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)	Account.Company.AddressKanar?   r@   rA   rB   rC   rD   townNrE   r8   r9   r:   AddressKanar   H  w    3- c]" C=  C=  "#& C=  3-r9   r   c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)	Account.Company.AddressKanjir?   r@   rA   rB   rC   rD   r   NrE   r8   r9   r:   AddressKanjir   f  r   r9   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)$Account.Company.OwnershipDeclarationdateip
user_agentNr2   r3   r4   r   r5   r6   r7   r8   r9   r:   OwnershipDeclarationr     s3    3-  !%r9   r   c                   6    e Zd ZU  G d de      Zeed<   deiZy)Account.Company.Verificationc                   `    e Zd ZU eed      ed<   	 ee   ed<   	 ee   ed<   	 eed      ed<   y)%Account.Company.Verification.Documentr    backdetailsdetails_codefrontNr2   r3   r4   r   r   r6   r7   r8   r9   r:   Documentr     sP    v677 "#& 'sm+   788r9   r   documentN)r2   r3   r4   r   r   r6   rQ   r8   r9   r:   Verificationr     s!    < $ ",h!7r9   r   addressaddress_kanaaddress_kanjidirectors_providedexecutives_providedexport_license_idexport_purpose_coderJ   	name_kana
name_kanjiowners_providedownership_declarationphone)free_zone_establishmentfree_zone_llcgovernment_instrumentalitygovernmental_unitincorporated_non_profitincorporated_partnershiplimited_liability_partnershipllcmulti_member_llcprivate_companyprivate_corporationprivate_partnershippublic_companypublic_corporationpublic_partnershipsingle_member_llcsole_establishmentsole_proprietorship%tax_exempt_government_instrumentalityunincorporated_associationunincorporated_non_profitunincorporated_partnership	structuretax_id_providedtax_id_registrarvat_id_providedverification)r   r   r   r   r   N)r2   r3   r4   r   r   r   r   r   r   r   r6   boolr7   r   rQ   r8   r9   r:   Companyr   -  s   	l 	4	, 	<	< 	<	< 		8< 	8, '""{++	  --	 %TN*	 &d^+	 $C=(	 &c]*	 sm	 C= 	 SM!	 "$'	  ((<==	 }	 .
 	
4	 "$'	 #3-'	 "$'	 |,,	 ')%9(
r9   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)Account.Controlleris_controller)r)   applicationtypeN)r2   r3   r4   r   r   r6   r   r8   r9   r:   
Controllerr     s$    ~%	 .//	r9   r   c                       e Zd ZU  G d de      Z G d de      Zeee      ed<   	 ee	   ed<   	 eee
      ed<   	 ee
   ed<   	 eee      ed	<   	 eee
      ed
<   	 eee
      ed<   	 eee
      ed<   	 eedZy)Account.FutureRequirementsc                   0    e Zd ZU ee   ed<   	 ee   ed<   y)&Account.FutureRequirements.Alternativealternative_fields_dueoriginal_fields_dueNr2   r3   r4   r   r7   r6   r8   r9   r:   Alternativer     "    $(I- "&c*r9   r   c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y) Account.FutureRequirements.ErrorW&invalid_address_city_state_postal_code$invalid_address_highway_contract_boxinvalid_address_private_mailboxinvalid_business_profile_name(invalid_business_profile_name_denylistedinvalid_company_name_denylistedinvalid_dob_age_over_maximuminvalid_dob_age_under_18invalid_dob_age_under_minimum"invalid_product_description_length%invalid_product_description_url_matchinvalid_representative_country.invalid_statement_descriptor_business_mismatch'invalid_statement_descriptor_denylisted#invalid_statement_descriptor_length.invalid_statement_descriptor_prefix_denylisted,invalid_statement_descriptor_prefix_mismatchinvalid_street_addressinvalid_tax_idinvalid_tax_id_formatinvalid_tos_acceptanceinvalid_url_denylistedinvalid_url_formatinvalid_url_length!invalid_url_web_presence_detected1invalid_url_website_business_information_mismatchinvalid_url_website_empty invalid_url_website_inaccessible+invalid_url_website_inaccessible_geoblocked3invalid_url_website_inaccessible_password_protectedinvalid_url_website_incomplete2invalid_url_website_incomplete_cancellation_policy7invalid_url_website_incomplete_customer_service_details1invalid_url_website_incomplete_legal_restrictions,invalid_url_website_incomplete_refund_policy,invalid_url_website_incomplete_return_policy3invalid_url_website_incomplete_terms_and_conditions1invalid_url_website_incomplete_under_constructioninvalid_url_website_otherinvalid_value_otherverification_directors_mismatch&verification_document_address_mismatch%verification_document_address_missingverification_document_corrupt+verification_document_country_not_supported(verification_document_directors_mismatch"verification_document_dob_mismatch$verification_document_duplicate_typeverification_document_expired!verification_document_failed_copy&verification_document_failed_greyscale"verification_document_failed_other&verification_document_failed_test_mode verification_document_fraudulent(verification_document_id_number_mismatch'verification_document_id_number_missing verification_document_incompleteverification_document_invalid2verification_document_issue_or_expiry_date_missing!verification_document_manipulated"verification_document_missing_back#verification_document_missing_front#verification_document_name_mismatch"verification_document_name_missing*verification_document_nationality_mismatch"verification_document_not_readable verification_document_not_signed"verification_document_not_uploaded$verification_document_photo_mismatchverification_document_too_large(verification_document_type_not_supported!verification_extraneous_directors!verification_failed_address_match'verification_failed_business_iec_number"verification_failed_document_match#verification_failed_id_number_match"verification_failed_keyed_identityverification_failed_keyed_matchverification_failed_name_matchverification_failed_other'verification_failed_residential_address verification_failed_tax_id_match%verification_failed_tax_id_not_issuedverification_missing_directorsverification_missing_executivesverification_missing_owners;verification_requires_additional_memorandum_of_associationscodereasonrequirementNr2   r3   r4   r   r6   r7   r8   r9   r:   Errorr   #  7    VOX Xr K r9   r4  alternativescurrent_deadlinecurrently_duedisabled_reasonerrorseventually_duepast_duepending_verificationr6  r:  Nr2   r3   r4   r   r   r4  r   r   r6   r5   r7   rQ   r8   r9   r:   FutureRequirementsr         	, 	d	L d	L tK011	 #3-'	  S	**	 "#&	 e%%	 !c++	 49%%	 'tCy11	 /:UKr9   r@  c                       e Zd ZU  G d de      Z G d de      Zeee      ed<   	 ee	   ed<   	 eee
      ed<   	 ee
   ed<   	 eee      ed	<   	 eee
      ed
<   	 eee
      ed<   	 eee
      ed<   	 eedZy)Account.Requirementsc                   0    e Zd ZU ee   ed<   	 ee   ed<   y) Account.Requirements.Alternativer   r   Nr   r8   r9   r:   r   rE    r   r9   r   c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y)Account.Requirements.Errorr   r0  r1  r2  Nr3  r8   r9   r:   r4  rG    r5  r9   r4  r6  r7  r8  r9  r:  r;  r<  r=  r>  Nr?  r8   r9   r:   RequirementsrC    rA  r9   rH  c            
       d   e Zd ZU  G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Zee   ed<   eed<   ee   ed<   eed<   eed<   e	ed<   ee
   ed<   ee   ed<   ee   ed<   eeeeee	e
eed	Zy)Account.Settingsc                       e Zd ZU ee   ed<   y)"Account.Settings.BacsDebitPaymentsdisplay_nameNrE   r8   r9   r:   BacsDebitPaymentsrL  ?  s    "3-'r9   rN  c                   `    e Zd ZU eed      ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)Account.Settings.Brandingr    iconlogoprimary_colorsecondary_colorNr   r8   r9   r:   BrandingrP  E  sP    ?6233 ?6233 $C=( &c]*r9   rU  c                   <    e Zd ZU  G d de      Zee   ed<   deiZy)Account.Settings.CardIssuingc                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)*Account.Settings.CardIssuing.TosAcceptancer   r   r   Nr   r8   r9   r:   TosAcceptancerY  X  3    sm# SM! %SM)r9   rZ  tos_acceptanceNr2   r3   r4   r   rZ  r   r6   rQ   r8   r9   r:   CardIssuingrW  W  &      %]33"2M!Br9   r^  c                   r    e Zd ZU  G d de      Zee   ed<   ee   ed<   	 ee   ed<   	 ee   ed<   	 deiZy)Account.Settings.CardPaymentsc                   $    e Zd ZU eed<   	 eed<   y)'Account.Settings.CardPayments.DeclineOnavs_failurecvc_failureN)r2   r3   r4   r   r6   r8   r9   r:   	DeclineOnrc  j  s    !! "!r9   rf  
decline_onstatement_descriptor_prefix statement_descriptor_prefix_kana!statement_descriptor_prefix_kanjiN)	r2   r3   r4   r   rf  r   r6   r7   rQ   r8   r9   r:   CardPaymentsra  i  sY    L  !++)1#6 /7sm; 08}< #/	!:r9   rk  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)Account.Settings.DashboardrM  timezoneNrE   r8   r9   r:   	Dashboardrm    s"    "3-' sm#r9   ro  c                   f    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Account.Settings.Paymentsstatement_descriptorstatement_descriptor_kanastatement_descriptor_kanjiri  rj  NrE   r8   r9   r:   Paymentsrq    sU    "*3-/ (0}4 )15 /7sm; 08}<r9   ru  c                   T    e Zd ZU  G d de      Zeed<   	 eed<   ee   ed<   	 deiZ	y)Account.Settings.Payoutsc                   H    e Zd ZU eed<   	 eed<   	 ee   ed<   	 ee   ed<   y)!Account.Settings.Payouts.Schedule
delay_daysintervalmonthly_anchorweekly_anchorN)r2   r3   r4   r5   r6   r7   r   r8   r9   r:   Schedulery    s:      !)-  (},r9   r~  debit_negative_balancesschedulerr  N)
r2   r3   r4   r   r~  r   r6   r   r7   rQ   r8   r9   r:   Payoutsrw    s?    < $ &*) "*3-/ #-h!7r9   r  c                       e Zd ZU ee   ed<   y)"Account.Settings.SepaDebitPaymentscreditor_idNrE   r8   r9   r:   SepaDebitPaymentsr    s    !#&r9   r  c                   <    e Zd ZU  G d de      Zee   ed<   deiZy)Account.Settings.Treasuryc                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)'Account.Settings.Treasury.TosAcceptancer   r   r   Nr   r8   r9   r:   rZ  r    r[  r9   rZ  r\  Nr]  r8   r9   r:   Treasuryr    r_  r9   r  r\   brandingra   rb   	dashboardpaymentspayoutsru   rz   )	r\   r  ra   rb   r  r  r  ru   rz   N)r2   r3   r4   r   rN  rU  r^  rk  ro  ru  r  r  r  r   r6   rQ   r8   r9   r:   SettingsrJ  >  s    	 		| 	$	C, 	C$	;< 	;4	 		| 	,	8l 	8<	 		C| 	C$ &&788{++##'""%&7888$$#4 ')" #4 

r9   r  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Account.TosAcceptancer   r   service_agreementr   Nr   r8   r9   r:   rZ  r    sD    sm	 SM	 $C=(	 SM!	r9   rZ  c                   ,   e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)Account.CreateParamsr7   account_token#Account.CreateParamsBusinessProfilebusiness_profilezCLiteral['company', 'government_entity', 'individual', 'non_profit']business_type Account.CreateParamsCapabilitiescapabilitiesAccount.CreateParamsCompanycompanyr@   default_currencyAccount.CreateParamsDocuments	documentsemail	List[str]expandr$   Account.CreateParamsIndividual
individualLiteral['']|Dict[str, str]metadataAccount.CreateParamsSettingssettings!Account.CreateParamsTosAcceptancer\  z(Literal['custom', 'express', 'standard']r   Nr2   r3   r4   r   r6   r8   r9   r:   CreateParamsr    s2   &u-- *5  'U  &&HII !!>?? !'' *%00 ##BCC u%%  ,, *%00
 $$DEE "">?? ""@AA ((KLL HIIr9   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r5   r   r7   r   r  r   Nr  r8   r9   r:   CreateParamsTosAcceptancez!Account.CreateParamsTosAcceptanceJ  sH    e$$ E""  +511 $E**r9   r  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   y)r  $Account.CreateParamsSettingsBrandingr  'Account.CreateParamsSettingsCardIssuingra   (Account.CreateParamsSettingsCardPaymentsrb   $Account.CreateParamsSettingsPaymentsr  #Account.CreateParamsSettingsPayoutsr  $Account.CreateParamsSettingsTreasuryrz   Nr  r8   r9   r:   CreateParamsSettingszAccount.CreateParamsSettings\  sz    !"HII &9  ':  ""HII !!FGG ""HIIr9   r  c                       e Zd ZU ed   ed<   y)r  1Account.CreateParamsSettingsTreasuryTosAcceptancer\  Nr  r8   r9   r:   CreateParamsSettingsTreasuryz$Account.CreateParamsSettingsTreasuryz  s    'C r9   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r5   r   r7   r   Literal['']|strr   Nr  r8   r9   r:   )CreateParamsSettingsTreasuryTosAcceptancez1Account.CreateParamsSettingsTreasuryTosAcceptance  7    e$$ E"" $$566r9   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r   r  +Account.CreateParamsSettingsPayoutsScheduler  r7   rr  Nr  r8   r9   r:   CreateParamsSettingsPayoutsz#Account.CreateParamsSettingsPayouts  s;    %0%88 "=  #.e"44r9   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  zLiteral['minimum']|intrz  z/Literal['daily', 'manual', 'monthly', 'weekly']r{  r5   r|  zULiteral['friday', 'monday', 'saturday', 'sunday', 'thursday', 'tuesday', 'wednesday']r}  Nr  r8   r9   r:   #CreateParamsSettingsPayoutsSchedulez+Account.CreateParamsSettingsPayoutsSchedule  sS    #$<== "A  (.. 'g r9   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r7   rr  rs  rt  Nr  r8   r9   r:   CreateParamsSettingsPaymentsz$Account.CreateParamsSettingsPayments  s6    "-e"44 (35'99 )4E(::r9   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  1Account.CreateParamsSettingsCardPaymentsDeclineOnrg  r7   rh  r  ri  rj  Nr  r8   r9   r:    CreateParamsSettingsCardPaymentsz(Account.CreateParamsSettingsCardPayments  sO    #C  *5U);; /::K.LL 0;;L/MMr9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r   rd  re  Nr  r8   r9   r:   )CreateParamsSettingsCardPaymentsDeclineOnz1Account.CreateParamsSettingsCardPaymentsDeclineOn  s$    $V,, %V,,r9   r  c                       e Zd ZU ed   ed<   y)r  4Account.CreateParamsSettingsCardIssuingTosAcceptancer\  Nr  r8   r9   r:   CreateParamsSettingsCardIssuingz'Account.CreateParamsSettingsCardIssuing  s    'F r9   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r5   r   r7   r   r  r   Nr  r8   r9   r:   ,CreateParamsSettingsCardIssuingTosAcceptancez4Account.CreateParamsSettingsCardIssuingTosAcceptance  r  r9   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r7   rQ  rR  rS  rT  Nr  r8   r9   r:   CreateParamsSettingsBrandingz$Account.CreateParamsSettingsBranding  sH    e$$ e$$ 'u-- )//r9   r  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed   ed<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed	   ed<   	 ed   ed<   	 ed	   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed<   	 ed   ed <   y!)"r  %Account.CreateParamsIndividualAddressr   )Account.CreateParamsIndividualAddressKanar   *Account.CreateParamsIndividualAddressKanjir   z-Literal['']|Account.CreateParamsIndividualDobdobr7   r  
first_namefirst_name_kanafirst_name_kanjiLiteral['']|List[str]full_name_aliasesgender	id_numberid_number_secondary	last_namelast_name_kanalast_name_kanjimaiden_namer  r  r   zLiteral['existing', 'none']political_exposure/Account.CreateParamsIndividualRegisteredAddressregistered_address
ssn_last_4*Account.CreateParamsIndividualVerificationr   Nr  r8   r9   r:   CreateParamsIndividualzAccount.CreateParamsIndividual
  s    !HII &;  '<  LMM u%% $E** )// *%00  ++BCC  && #5)) "-U!33 #5)) (.. )// %U++ "">?? u%% !,,I JJ !,A!  $E** &< r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  <Account.CreateParamsIndividualVerificationAdditionalDocumentadditional_document2Account.CreateParamsIndividualVerificationDocumentr   Nr  r8   r9   r:   "CreateParamsIndividualVerificationz*Account.CreateParamsIndividualVerificationl  s.    !,N"  "D r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r7   r   r   Nr  r8   r9   r:   *CreateParamsIndividualVerificationDocumentz2Account.CreateParamsIndividualVerificationDocumentz  $    e$$ u%%r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r7   r   r   Nr  r8   r9   r:   4CreateParamsIndividualVerificationAdditionalDocumentz<Account.CreateParamsIndividualVerificationAdditionalDocument  r  r9   r  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   'CreateParamsIndividualRegisteredAddressz/Account.CreateParamsIndividualRegisteredAddress  l    e$$ !'' u%% u%% %U++ u%%r9   r  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)!Account.CreateParamsIndividualDobdaymonthyearNr2   r3   r4   r5   r6   r8   r9   r:   CreateParamsIndividualDobr    $    H J Ir9   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   "CreateParamsIndividualAddressKanjiz*Account.CreateParamsIndividualAddressKanji  ~    e$$ !'' u%% u%% %U++ u%% e$$r9   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   !CreateParamsIndividualAddressKanaz)Account.CreateParamsIndividualAddressKana  r  r9   r   c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   CreateParamsIndividualAddressz%Account.CreateParamsIndividualAddress  r  r9   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r  =Account.CreateParamsDocumentsBankAccountOwnershipVerification#bank_account_ownership_verification+Account.CreateParamsDocumentsCompanyLicensecompany_license;Account.CreateParamsDocumentsCompanyMemorandumOfAssociation!company_memorandum_of_association5Account.CreateParamsDocumentsCompanyMinisterialDecreecompany_ministerial_decree<Account.CreateParamsDocumentsCompanyRegistrationVerification!company_registration_verification5Account.CreateParamsDocumentsCompanyTaxIdVerificationcompany_tax_id_verification0Account.CreateParamsDocumentsProofOfRegistrationproof_of_registrationNr  r8   r9   r:   CreateParamsDocumentszAccount.CreateParamsDocuments  s    1<O2  )=  0;M0  )4G)  0;N0  *5G*  $/B$ r9   r  c                       e Zd ZU ed   ed<   y)r  r  filesNr  r8   r9   r:   (CreateParamsDocumentsProofOfRegistrationz0Account.CreateParamsDocumentsProofOfRegistration8      {++r9   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   -CreateParamsDocumentsCompanyTaxIdVerificationz5Account.CreateParamsDocumentsCompanyTaxIdVerification>  r  r9   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   4CreateParamsDocumentsCompanyRegistrationVerificationz<Account.CreateParamsDocumentsCompanyRegistrationVerificationD  r  r9   r  c                       e Zd ZU ed   ed<   y)r
  r  r  Nr  r8   r9   r:   -CreateParamsDocumentsCompanyMinisterialDecreez5Account.CreateParamsDocumentsCompanyMinisterialDecreeJ  r  r9   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   3CreateParamsDocumentsCompanyMemorandumOfAssociationz;Account.CreateParamsDocumentsCompanyMemorandumOfAssociationP  r  r9   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   #CreateParamsDocumentsCompanyLicensez+Account.CreateParamsDocumentsCompanyLicenseV  r  r9   r   c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   5CreateParamsDocumentsBankAccountOwnershipVerificationz=Account.CreateParamsDocumentsBankAccountOwnershipVerification\  r  r9   r"  c                   b   e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   	 ed
   ed<   	 ed
   ed<   	 ed
   ed<   	 ed
   ed<   	 ed
   ed<   	 ed   ed<   	 ed   ed<   	 ed
   ed<   	 ed
   ed<   	 ed   ed<   	 ed
   ed<   	 ed
   ed<   	 ed
   ed<   	 ed   ed<   y)r  "Account.CreateParamsCompanyAddressr   &Account.CreateParamsCompanyAddressKanar   'Account.CreateParamsCompanyAddressKanjir   r   r   r   r7   r   r   rJ   r   r   r   /Account.CreateParamsCompanyOwnershipDeclarationr   r   registration_numbera(  Literal['']|Literal['free_zone_establishment', 'free_zone_llc', 'government_instrumentality', 'governmental_unit', 'incorporated_non_profit', 'incorporated_partnership', 'limited_liability_partnership', 'llc', 'multi_member_llc', 'private_company', 'private_corporation', 'private_partnership', 'public_company', 'public_corporation', 'public_partnership', 'single_member_llc', 'sole_establishment', 'sole_proprietorship', 'tax_exempt_government_instrumentality', 'unincorporated_association', 'unincorporated_non_profit', 'unincorporated_partnership']r   tax_idr   vat_id'Account.CreateParamsCompanyVerificationr   Nr  r8   r9   r:   CreateParamsCompanyzAccount.CreateParamsCompanyb  so    !EFF &&NOO '9  !,F 33 "-V!44  +511 "-U!33 e$$ #5)) $E** )00 $/A$  u%% "-U!33 # {   && *%00  && &9 r9   r,  c                       e Zd ZU ed   ed<   y)r+  /Account.CreateParamsCompanyVerificationDocumentr   Nr  r8   r9   r:   CreateParamsCompanyVerificationz'Account.CreateParamsCompanyVerification  s    !A r9   r/  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r.  r7   r   r   Nr  r8   r9   r:   'CreateParamsCompanyVerificationDocumentz/Account.CreateParamsCompanyVerificationDocument  r  r9   r1  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r'  r5   r   r7   r   r   Nr  r8   r9   r:   'CreateParamsCompanyOwnershipDeclarationz/Account.CreateParamsCompanyOwnershipDeclaration  s6    e$$ E"" $E**r9   r3  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r&  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   CreateParamsCompanyAddressKanjiz'Account.CreateParamsCompanyAddressKanji  r  r9   r5  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r%  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   CreateParamsCompanyAddressKanaz&Account.CreateParamsCompanyAddressKana  r  r9   r7  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r$  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   CreateParamsCompanyAddressz"Account.CreateParamsCompanyAddress  r  r9   r9  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed <   	 ed!   ed"<   	 ed#   ed$<   	 ed%   ed&<   	 ed'   ed(<   	 ed)   ed*<   	 ed+   ed,<   	 ed-   ed.<   	 ed/   ed0<   	 ed1   ed2<   	 ed3   ed4<   	 ed5   ed6<   	 ed7   ed8<   	 ed9   ed:<   	 ed;   ed<<   	 ed=   ed><   	 ed?   ed@<   	 edA   edB<   	 edC   edD<   	 edE   edF<   	 edG   edH<   	 edI   edJ<   yK)Lr  1Account.CreateParamsCapabilitiesAcssDebitPaymentsrX   .Account.CreateParamsCapabilitiesAffirmPaymentsrY   8Account.CreateParamsCapabilitiesAfterpayClearpayPaymentsrZ   3Account.CreateParamsCapabilitiesAuBecsDebitPaymentsr[   1Account.CreateParamsCapabilitiesBacsDebitPaymentsr\   2Account.CreateParamsCapabilitiesBancontactPaymentsr]   4Account.CreateParamsCapabilitiesBankTransferPaymentsr^   ,Account.CreateParamsCapabilitiesBlikPaymentsr_   .Account.CreateParamsCapabilitiesBoletoPaymentsr`   +Account.CreateParamsCapabilitiesCardIssuingra   ,Account.CreateParamsCapabilitiesCardPaymentsrb   7Account.CreateParamsCapabilitiesCartesBancairesPaymentsrc   /Account.CreateParamsCapabilitiesCashappPaymentsrd   +Account.CreateParamsCapabilitiesEpsPaymentsre   +Account.CreateParamsCapabilitiesFpxPaymentsrf   /Account.CreateParamsCapabilitiesGiropayPaymentsrg   /Account.CreateParamsCapabilitiesGrabpayPaymentsrh   -Account.CreateParamsCapabilitiesIdealPaymentsri   :Account.CreateParamsCapabilitiesIndiaInternationalPaymentsrj   +Account.CreateParamsCapabilitiesJcbPaymentsrk   .Account.CreateParamsCapabilitiesKlarnaPaymentsrl   /Account.CreateParamsCapabilitiesKonbiniPaymentsrm   .Account.CreateParamsCapabilitiesLegacyPaymentsrn   ,Account.CreateParamsCapabilitiesLinkPaymentsro   ,Account.CreateParamsCapabilitiesOxxoPaymentsrp   +Account.CreateParamsCapabilitiesP24Paymentsrq   .Account.CreateParamsCapabilitiesPaynowPaymentsrr   1Account.CreateParamsCapabilitiesPromptpayPaymentsrs   2Account.CreateParamsCapabilitiesRevolutPayPaymentsrt   1Account.CreateParamsCapabilitiesSepaDebitPaymentsru   .Account.CreateParamsCapabilitiesSofortPaymentsrv   3Account.CreateParamsCapabilitiesTaxReportingUs1099Krw   6Account.CreateParamsCapabilitiesTaxReportingUs1099Miscrx   )Account.CreateParamsCapabilitiesTransfersry   (Account.CreateParamsCapabilitiesTreasuryrz   8Account.CreateParamsCapabilitiesUsBankAccountAchPaymentsr{   +Account.CreateParamsCapabilitiesZipPaymentsr|   Nr  r8   r9   r:   CreateParamsCapabilitiesz Account.CreateParamsCapabilities.  sK   !,C"  )@  )4J)  %0E%  "-C"  "-D"  %0F%  '>  )@  &=  '>  (3I(  *A  &=  &=  *A  *A  (?  +6L+  &=  )@  *A  )@  '>  '>  &=  )@  !,C!  #.D#  "-C"  )@  &1E&  )4H)  ##NOO ""LMM +6J+  &= r9   r`  c                       e Zd ZU ed   ed<   y)r_  r   	requestedNr  r8   r9   r:   #CreateParamsCapabilitiesZipPaymentsz+Account.CreateParamsCapabilitiesZipPayments
      "6**r9   rc  c                       e Zd ZU ed   ed<   y)r^  r   rb  Nr  r8   r9   r:   0CreateParamsCapabilitiesUsBankAccountAchPaymentsz8Account.CreateParamsCapabilitiesUsBankAccountAchPayments  rd  r9   rf  c                       e Zd ZU ed   ed<   y)r]  r   rb  Nr  r8   r9   r:    CreateParamsCapabilitiesTreasuryz(Account.CreateParamsCapabilitiesTreasury  rd  r9   rh  c                       e Zd ZU ed   ed<   y)r\  r   rb  Nr  r8   r9   r:   !CreateParamsCapabilitiesTransfersz)Account.CreateParamsCapabilitiesTransfers  rd  r9   rj  c                       e Zd ZU ed   ed<   y)r[  r   rb  Nr  r8   r9   r:   .CreateParamsCapabilitiesTaxReportingUs1099Miscz6Account.CreateParamsCapabilitiesTaxReportingUs1099Misc"  rd  r9   rl  c                       e Zd ZU ed   ed<   y)rZ  r   rb  Nr  r8   r9   r:   +CreateParamsCapabilitiesTaxReportingUs1099Kz3Account.CreateParamsCapabilitiesTaxReportingUs1099K(  rd  r9   rn  c                       e Zd ZU ed   ed<   y)rY  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesSofortPaymentsz.Account.CreateParamsCapabilitiesSofortPayments.  rd  r9   rp  c                       e Zd ZU ed   ed<   y)rX  r   rb  Nr  r8   r9   r:   )CreateParamsCapabilitiesSepaDebitPaymentsz1Account.CreateParamsCapabilitiesSepaDebitPayments4  rd  r9   rr  c                       e Zd ZU ed   ed<   y)rW  r   rb  Nr  r8   r9   r:   *CreateParamsCapabilitiesRevolutPayPaymentsz2Account.CreateParamsCapabilitiesRevolutPayPayments:  rd  r9   rt  c                       e Zd ZU ed   ed<   y)rV  r   rb  Nr  r8   r9   r:   )CreateParamsCapabilitiesPromptpayPaymentsz1Account.CreateParamsCapabilitiesPromptpayPayments@  rd  r9   rv  c                       e Zd ZU ed   ed<   y)rU  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesPaynowPaymentsz.Account.CreateParamsCapabilitiesPaynowPaymentsF  rd  r9   rx  c                       e Zd ZU ed   ed<   y)rT  r   rb  Nr  r8   r9   r:   #CreateParamsCapabilitiesP24Paymentsz+Account.CreateParamsCapabilitiesP24PaymentsL  rd  r9   rz  c                       e Zd ZU ed   ed<   y)rS  r   rb  Nr  r8   r9   r:   $CreateParamsCapabilitiesOxxoPaymentsz,Account.CreateParamsCapabilitiesOxxoPaymentsR  rd  r9   r|  c                       e Zd ZU ed   ed<   y)rR  r   rb  Nr  r8   r9   r:   $CreateParamsCapabilitiesLinkPaymentsz,Account.CreateParamsCapabilitiesLinkPaymentsX  rd  r9   r~  c                       e Zd ZU ed   ed<   y)rQ  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesLegacyPaymentsz.Account.CreateParamsCapabilitiesLegacyPayments^  rd  r9   r  c                       e Zd ZU ed   ed<   y)rP  r   rb  Nr  r8   r9   r:   'CreateParamsCapabilitiesKonbiniPaymentsz/Account.CreateParamsCapabilitiesKonbiniPaymentsd  rd  r9   r  c                       e Zd ZU ed   ed<   y)rO  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesKlarnaPaymentsz.Account.CreateParamsCapabilitiesKlarnaPaymentsj  rd  r9   r  c                       e Zd ZU ed   ed<   y)rN  r   rb  Nr  r8   r9   r:   #CreateParamsCapabilitiesJcbPaymentsz+Account.CreateParamsCapabilitiesJcbPaymentsp  rd  r9   r  c                       e Zd ZU ed   ed<   y)rM  r   rb  Nr  r8   r9   r:   2CreateParamsCapabilitiesIndiaInternationalPaymentsz:Account.CreateParamsCapabilitiesIndiaInternationalPaymentsv  rd  r9   r  c                       e Zd ZU ed   ed<   y)rL  r   rb  Nr  r8   r9   r:   %CreateParamsCapabilitiesIdealPaymentsz-Account.CreateParamsCapabilitiesIdealPayments|  rd  r9   r  c                       e Zd ZU ed   ed<   y)rK  r   rb  Nr  r8   r9   r:   'CreateParamsCapabilitiesGrabpayPaymentsz/Account.CreateParamsCapabilitiesGrabpayPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rJ  r   rb  Nr  r8   r9   r:   'CreateParamsCapabilitiesGiropayPaymentsz/Account.CreateParamsCapabilitiesGiropayPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rI  r   rb  Nr  r8   r9   r:   #CreateParamsCapabilitiesFpxPaymentsz+Account.CreateParamsCapabilitiesFpxPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rH  r   rb  Nr  r8   r9   r:   #CreateParamsCapabilitiesEpsPaymentsz+Account.CreateParamsCapabilitiesEpsPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rG  r   rb  Nr  r8   r9   r:   'CreateParamsCapabilitiesCashappPaymentsz/Account.CreateParamsCapabilitiesCashappPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rF  r   rb  Nr  r8   r9   r:   /CreateParamsCapabilitiesCartesBancairesPaymentsz7Account.CreateParamsCapabilitiesCartesBancairesPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rE  r   rb  Nr  r8   r9   r:   $CreateParamsCapabilitiesCardPaymentsz,Account.CreateParamsCapabilitiesCardPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rD  r   rb  Nr  r8   r9   r:   #CreateParamsCapabilitiesCardIssuingz+Account.CreateParamsCapabilitiesCardIssuing  rd  r9   r  c                       e Zd ZU ed   ed<   y)rC  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesBoletoPaymentsz.Account.CreateParamsCapabilitiesBoletoPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rB  r   rb  Nr  r8   r9   r:   $CreateParamsCapabilitiesBlikPaymentsz,Account.CreateParamsCapabilitiesBlikPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)rA  r   rb  Nr  r8   r9   r:   ,CreateParamsCapabilitiesBankTransferPaymentsz4Account.CreateParamsCapabilitiesBankTransferPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r@  r   rb  Nr  r8   r9   r:   *CreateParamsCapabilitiesBancontactPaymentsz2Account.CreateParamsCapabilitiesBancontactPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r?  r   rb  Nr  r8   r9   r:   )CreateParamsCapabilitiesBacsDebitPaymentsz1Account.CreateParamsCapabilitiesBacsDebitPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r>  r   rb  Nr  r8   r9   r:   +CreateParamsCapabilitiesAuBecsDebitPaymentsz3Account.CreateParamsCapabilitiesAuBecsDebitPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r=  r   rb  Nr  r8   r9   r:   0CreateParamsCapabilitiesAfterpayClearpayPaymentsz8Account.CreateParamsCapabilitiesAfterpayClearpayPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r<  r   rb  Nr  r8   r9   r:   &CreateParamsCapabilitiesAffirmPaymentsz.Account.CreateParamsCapabilitiesAffirmPayments  rd  r9   r  c                       e Zd ZU ed   ed<   y)r;  r   rb  Nr  r8   r9   r:   )CreateParamsCapabilitiesAcssDebitPaymentsz1Account.CreateParamsCapabilitiesAcssDebitPayments  rd  r9   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   	 ed   ed
<   	 ed   ed<   	 ed   ed<   y)r  r7   rH   :Account.CreateParamsBusinessProfileMonthlyEstimatedRevenuerI   rJ   rK   1Account.CreateParamsBusinessProfileSupportAddressrL   rM   rN   r  rO   rP   Nr  r8   r9   r:   CreateParamsBusinessProfilez#Account.CreateParamsBusinessProfile  s    U## (3L(  e$$ "-U!33 )C  'u-- 'u-- %%677 U##r9   r  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   )CreateParamsBusinessProfileSupportAddressz1Account.CreateParamsBusinessProfileSupportAddress	  r  r9   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r/   r0   Nr1   r8   r9   r:   2CreateParamsBusinessProfileMonthlyEstimatedRevenuez:Account.CreateParamsBusinessProfileMonthlyEstimatedRevenue,	  r<   r9   r  c                       e Zd Zy)Account.DeleteParamsNr2   r3   r4   r8   r9   r:   DeleteParamsr  6	      r9   r  c                   d    e Zd ZU ed   ed<   ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   y
)Account.ListParamszAccount.ListParamsCreated|intcreatedr7   ending_beforer  r  r5   limitstarting_afterNr  r8   r9   r:   
ListParamsr  9	  sT     !@AA&u--  ,, u%% (..r9   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)Account.ListParamsCreatedr5   gtgteltlteNr  r8   r9   r:   ListParamsCreatedr  L	  sH    E"" U## E"" U##r9   r  c                   f    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   y
)Account.PersonsParamsr7   r  r  r  r5   r  !Account.PersonsParamsRelationshiprelationshipr  Nr  r8   r9   r:   PersonsParamsr  ^	  s[    &u--  ,, u%% &&IJJ (..r9   r  c                   f    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r   director	executivelegal_guardianownerrepresentativeNr  r8   r9   r:   PersonsParamsRelationshipz!Account.PersonsParamsRelationshipt	  Z    !&)) #6** (// v&& (//r9   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)Account.RejectParamsr  r  r1  Nr2   r3   r4   r   r6   r7   r8   r9   r:   RejectParamsr  	  s    ,, Kr9   r  c                       e Zd ZU ed   ed<   y) Account.RetrieveCapabilityParamsr  r  Nr  r8   r9   r:   RetrieveCapabilityParamsr  	      ,,r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)Account.ModifyCapabilityParamsr  r  r   rb  Nr  r8   r9   r:   ModifyCapabilityParamsr  	  s$    ,, #6**r9   r  c                       e Zd ZU ed   ed<   y)Account.ListCapabilitiesParamsr  r  Nr  r8   r9   r:   ListCapabilitiesParamsr  	  r  r9   r  c                   N    e Zd ZU ed   ed<   	 ed   ed<   	 eed<   	 ed   ed<   y)	#Account.CreateExternalAccountParamsr   default_for_currencyr  r  r$   zDict[str, str]r  Nr  r8   r9   r:   CreateExternalAccountParamsr  	  sD    "-f"55  ,, "! ""233r9   r  c                       e Zd ZU ed   ed<   y)%Account.RetrieveExternalAccountParamsr  r  Nr  r8   r9   r:   RetrieveExternalAccountParamsr  	  r  r9   r  c                   ,   e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   	 ed   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)#Account.ModifyExternalAccountParamsr7   account_holder_namez,Literal['']|Literal['company', 'individual']account_holder_typez/Literal['checking', 'futsu', 'savings', 'toza']account_typeaddress_cityaddress_countryaddress_line1address_line2address_stateaddress_zipr   r  ,Account.ModifyExternalAccountParamsDocumentsr  	exp_monthexp_yearr  r  r  r  rJ   Nr  r8   r9   r:   ModifyExternalAccountParamsr  	  s0   !,U!33 "->"  &A  &e,, )// 'u-- 'u-- 'u-- %U++ #.f"55 #>  #5)) "%((  ,, "">?? e$$r9   r  c                       e Zd ZU ed   ed<   y)r  LAccount.ModifyExternalAccountParamsDocumentsBankAccountOwnershipVerificationr  Nr  r8   r9   r:   $ModifyExternalAccountParamsDocumentsz,Account.ModifyExternalAccountParamsDocuments
  s    1<^2 r9   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r8   r9   r:   DModifyExternalAccountParamsDocumentsBankAccountOwnershipVerificationzLAccount.ModifyExternalAccountParamsDocumentsBankAccountOwnershipVerification
  s     {++r9   r  c                       e Zd Zy)#Account.DeleteExternalAccountParamsNr  r8   r9   r:   DeleteExternalAccountParamsr  
  r  r9   r   c                   f    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   y
)"Account.ListExternalAccountsParamsr7   r  r  r  r5   r  zLiteral['bank_account', 'card']objectr  Nr  r8   r9   r:   ListExternalAccountsParamsr  
  s[    &u--  ,, u%%   ABB (..r9   r  c                       e Zd ZU ed   ed<   y)Account.CreateLoginLinkParamsr  r  Nr  r8   r9   r:   CreateLoginLinkParamsr  5
  r  r9   r  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed <   	 ed   ed!<   	 ed   ed"<   	 ed#   ed$<   	 ed%   ed&<   	 ed   ed'<   	 ed(   ed)<   y*)+Account.CreatePersonParams2Account.CreatePersonParamsAdditionalTosAcceptancesadditional_tos_acceptances!Account.CreatePersonParamsAddressr   %Account.CreatePersonParamsAddressKanar   &Account.CreatePersonParamsAddressKanjir   z)Literal['']|Account.CreatePersonParamsDobr  #Account.CreatePersonParamsDocumentsr  r7   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  nationalityperson_tokenr   r  +Account.CreatePersonParamsRegisteredAddressr  &Account.CreatePersonParamsRelationshipr  r  &Account.CreatePersonParamsVerificationr   Nr  r8   r9   r:   CreatePersonParamsr	  ;
     (3D)  !!DEE &&MNN '8  HII ##HII u%%  ,, $E** )// *%00  ++BCC  && #5)) "-U!33 #5)) (.. )// %U++ "">?? %U++ &e,, u%% !,E 22 !,=!  &&NOO $E** &&NOOr9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  8Account.CreatePersonParamsVerificationAdditionalDocumentr  .Account.CreatePersonParamsVerificationDocumentr   Nr  r8   r9   r:   CreatePersonParamsVerificationz&Account.CreatePersonParamsVerification
  .    !,J"  "@ r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r7   r   r   Nr  r8   r9   r:   &CreatePersonParamsVerificationDocumentz.Account.CreatePersonParamsVerificationDocument
  r  r9   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r7   r   r   Nr  r8   r9   r:   0CreatePersonParamsVerificationAdditionalDocumentz8Account.CreatePersonParamsVerificationAdditionalDocument
  r  r9   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   y)r  r   r  r  r  r  Literal['']|floatpercent_ownershipr  r7   titleNr  r8   r9   r:   CreatePersonParamsRelationshipz&Account.CreatePersonParamsRelationship
      !&)) #6** (// v&&  ++>?? (// u%%r9   r$  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   #CreatePersonParamsRegisteredAddressz+Account.CreatePersonParamsRegisteredAddress
  r  r9   r'  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  7Account.CreatePersonParamsDocumentsCompanyAuthorizationcompany_authorization+Account.CreatePersonParamsDocumentsPassportpassport'Account.CreatePersonParamsDocumentsVisavisaNr  r8   r9   r:   CreatePersonParamsDocumentsz#Account.CreatePersonParamsDocuments  A    #.I$  "=  GHHr9   r/  c                       e Zd ZU ed   ed<   y)r-  r  r  Nr  r8   r9   r:   CreatePersonParamsDocumentsVisaz'Account.CreatePersonParamsDocumentsVisa  r  r9   r2  c                       e Zd ZU ed   ed<   y)r+  r  r  Nr  r8   r9   r:   #CreatePersonParamsDocumentsPassportz+Account.CreatePersonParamsDocumentsPassport%  r  r9   r4  c                       e Zd ZU ed   ed<   y)r)  r  r  Nr  r8   r9   r:   /CreatePersonParamsDocumentsCompanyAuthorizationz7Account.CreatePersonParamsDocumentsCompanyAuthorization+  r  r9   r6  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)Account.CreatePersonParamsDobr  r  r  Nr  r8   r9   r:   CreatePersonParamsDobr8  1  r  r9   r9  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   CreatePersonParamsAddressKanjiz&Account.CreatePersonParamsAddressKanji?  r  r9   r;  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   CreatePersonParamsAddressKanaz%Account.CreatePersonParamsAddressKana]  r  r9   r=  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	r  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   CreatePersonParamsAddressz!Account.CreatePersonParamsAddress{  r  r9   r?  c                       e Zd ZU ed   ed<   y)r
  9Account.CreatePersonParamsAdditionalTosAcceptancesAccountr)   Nr  r8   r9   r:   *CreatePersonParamsAdditionalTosAcceptancesz2Account.CreatePersonParamsAdditionalTosAcceptances       K r9   rB  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)rA  r5   r   r7   r   r  r   Nr  r8   r9   r:   1CreatePersonParamsAdditionalTosAcceptancesAccountz9Account.CreatePersonParamsAdditionalTosAcceptancesAccount  r  r9   rE  c                       e Zd ZU ed   ed<   y)Account.RetrievePersonParamsr  r  Nr  r8   r9   r:   RetrievePersonParamsrG    r  r9   rH  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed <   	 ed   ed!<   	 ed   ed"<   	 ed#   ed$<   	 ed%   ed&<   	 ed   ed'<   	 ed(   ed)<   y*)+Account.ModifyPersonParams2Account.ModifyPersonParamsAdditionalTosAcceptancesr  !Account.ModifyPersonParamsAddressr   %Account.ModifyPersonParamsAddressKanar   &Account.ModifyPersonParamsAddressKanjir   z)Literal['']|Account.ModifyPersonParamsDobr  #Account.ModifyPersonParamsDocumentsr  r7   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  +Account.ModifyPersonParamsRegisteredAddressr  &Account.ModifyPersonParamsRelationshipr  r  &Account.ModifyPersonParamsVerificationr   Nr  r8   r9   r:   ModifyPersonParamsrJ    r  r9   rS  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rR  8Account.ModifyPersonParamsVerificationAdditionalDocumentr  .Account.ModifyPersonParamsVerificationDocumentr   Nr  r8   r9   r:   ModifyPersonParamsVerificationz&Account.ModifyPersonParamsVerification)  r  r9   rW  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rV  r7   r   r   Nr  r8   r9   r:   &ModifyPersonParamsVerificationDocumentz.Account.ModifyPersonParamsVerificationDocument7  r  r9   rY  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rU  r7   r   r   Nr  r8   r9   r:   0ModifyPersonParamsVerificationAdditionalDocumentz8Account.ModifyPersonParamsVerificationAdditionalDocumentA  r  r9   r[  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   y)rQ  r   r  r  r  r  r!  r"  r  r7   r#  Nr  r8   r9   r:   ModifyPersonParamsRelationshipz&Account.ModifyPersonParamsRelationshipK  r%  r9   r]  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	rP  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   #ModifyPersonParamsRegisteredAddressz+Account.ModifyPersonParamsRegisteredAddressi  r  r9   r_  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)rO  7Account.ModifyPersonParamsDocumentsCompanyAuthorizationr*  +Account.ModifyPersonParamsDocumentsPassportr,  'Account.ModifyPersonParamsDocumentsVisar.  Nr  r8   r9   r:   ModifyPersonParamsDocumentsz#Account.ModifyPersonParamsDocuments  r0  r9   rd  c                       e Zd ZU ed   ed<   y)rc  r  r  Nr  r8   r9   r:   ModifyPersonParamsDocumentsVisaz'Account.ModifyPersonParamsDocumentsVisa  r  r9   rf  c                       e Zd ZU ed   ed<   y)rb  r  r  Nr  r8   r9   r:   #ModifyPersonParamsDocumentsPassportz+Account.ModifyPersonParamsDocumentsPassport  r  r9   rh  c                       e Zd ZU ed   ed<   y)ra  r  r  Nr  r8   r9   r:   /ModifyPersonParamsDocumentsCompanyAuthorizationz7Account.ModifyPersonParamsDocumentsCompanyAuthorization  r  r9   rj  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)Account.ModifyPersonParamsDobr  r  r  Nr  r8   r9   r:   ModifyPersonParamsDobrl    r  r9   rm  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
rN  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   ModifyPersonParamsAddressKanjiz&Account.ModifyPersonParamsAddressKanji  r  r9   ro  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
rM  r7   r?   r@   rA   rB   rC   rD   r   Nr  r8   r9   r:   ModifyPersonParamsAddressKanaz%Account.ModifyPersonParamsAddressKana  r  r9   rq  c                   x    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	rL  r7   r?   r@   rA   rB   rC   rD   Nr  r8   r9   r:   ModifyPersonParamsAddressz!Account.ModifyPersonParamsAddress  r  r9   rs  c                       e Zd ZU ed   ed<   y)rK  9Account.ModifyPersonParamsAdditionalTosAcceptancesAccountr)   Nr  r8   r9   r:   *ModifyPersonParamsAdditionalTosAcceptancesz2Account.ModifyPersonParamsAdditionalTosAcceptances  rC  r9   rv  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)ru  r5   r   r7   r   r  r   Nr  r8   r9   r:   1ModifyPersonParamsAdditionalTosAcceptancesAccountz9Account.ModifyPersonParamsAdditionalTosAcceptancesAccount  r  r9   rx  c                       e Zd Zy)Account.DeletePersonParamsNr  r8   r9   r:   DeletePersonParamsrz  !  r  r9   r{  c                   f    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   y
)Account.ListPersonsParamsr7   r  r  r  r5   r  %Account.ListPersonsParamsRelationshipr  r  Nr  r8   r9   r:   ListPersonsParamsr}  $  s[    &u--  ,, u%% &&MNN (..r9   r  c                   f    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r~  r   r  r  r  r  r  Nr  r8   r9   r:   ListPersonsParamsRelationshipz%Account.ListPersonsParamsRelationship:  r  r9   r  r  )r  government_entityr  
non_profitr  r  charges_enabledr  
controllerr@   r  r  details_submittedr  r   r   external_accountsfuture_requirementsidr"   r  r  r  payouts_enabledrequirementsr  r\  )customexpressstandardr   Tdeletedapi_keyidempotency_keystripe_versionstripe_accountparamsr  returnc                 `    t        d| j                  d| j                         |||||            S )aM  
        With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
        To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).

        If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
        creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
        You can prefill any information on the account.
        r(   post)r   _static_request	class_url)clsr  r  r  r  r  s         r:   createzAccount.create  s=    " 
 	
r9   sidr  c                 z    | j                         dt        |      }t        d| j                  d||            S )  
        With [Connect](https://stripe.com/docs/connect), you can delete accounts you manage.

        Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.

        If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
        /r(   deleter  )r  r   r   r  )r  r  r  rP   s       r:   _cls_deletezAccount._cls_delete  s=     *S/:#f=
 	
r9   c                      yr  Nr8   )r  r  s     r:   r  zAccount.delete       	r9   c                      yr  r8   selfr  s     r:   r  zAccount.delete       	r9   r  c                 F    | j                  d| j                         |      S )r  r  r  )_request_and_refreshinstance_urlr  s     r:   r  zAccount.delete  s.     (( ) 
 	
r9   r  c                     | j                  d| j                         ||||      }t        |t              s!t	        dt        |      j                  z        |S )z
        Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
        getr  r  r  r  z%Expected list object from API, got %s)r  r  
isinstancer   	TypeErrorr   r2   )r  r  r  r  r  results         r:   listzAccount.list  sf     $$MMO)) % 
 &*-7<((* 
 r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S 
        Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
        r"   r  /v1/accounts/{account}/personsr)   r  r   r   r  formatr   sanitize_idr  r)   r  r  r  r  s         r:   _cls_personszAccount._cls_persons  ^     x 077 ,,W5 8   --   	
 	
r9   c                      yr  Nr8   r)   r  r  r  r  s        r:   personszAccount.persons1  r  r9   c                      yr  r8   r  r  r  s      r:   r  zAccount.persons?  r  r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  | j                  d                  ||            S )r  r"   r  r  r  r  r  r  )r   r   _requestr  r   r  r  r  s      r:   r  zAccount.personsJ  s^     x MM077 ,,TXXd^< 8  !0  

 
	
r9   r  c                     t        d| j                  ddj                  t        j                  |            ||||            S )
  
        With [Connect](https://stripe.com/docs/connect), you may flag accounts as suspicious.

        Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
        r(   r  /v1/accounts/{account}/rejectr  r  r   r  r  r   r  r  s         r:   _cls_rejectzAccount._cls_reject_  sY     /66 ,,W5 7   --   	
 	
r9   c                      yr  Nr8   r  s        r:   rejectzAccount.reject{  s     	r9   c                      yr  r8   r  s      r:   r  zAccount.reject  s     	r9   r  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )r  r(   r  r  r  r  r  )r   r  r  r   r  r  r  s      r:   r  zAccount.reject  sY     MM/66 ,,TXXd^< 7  !0  

 
	
r9   c                 :     | ||fi |}|j                          |S N)refresh)r  r  r  r  instances        r:   retrievezAccount.retrieve  s$    r7-f-r9   c                 L    | j                  |      }| j                  d||      S )Nr  r  )_build_instance_urlr  )r  r  r  rP   s       r:   modifyzAccount.modify  s*    %%b)""63v">>r9   c                 L    |sy| j                         }t        |      }|d|S )Nz/v1/accountr  )r  r   )r  r  baseextns       r:   r  zAccount._build_instance_url  s'     }}#%%r9   c                 B    | j                  | j                  d            S )Nr  )r  r  )r  s    r:   r  zAccount.instance_url  s    ''77r9   c                 ^    | j                   |d<   t        j                  j                  di |S )Nstripe_user_idr8   )r  r   OAuthdeauthorizer  s     r:   r  zAccount.deauthorize  s)    #'77 {{&&000r9   c                 ,   t         t        |   |      }|xs | j                  xs i }t	        | j                               D ]O  \  }}|dk(  st        |t        j                        s'||vs,|j                  |j                  |d             ||<   Q |S )Nr  )
superr(   	serialize	_previousiteritemsr  r   r"   r  )r  previousr  kv	__class__s        r:   r  zAccount.serialize  s    w/93t~~3& 	?DAq\!q-"6"67VOKKQ(=>q		? r9   r#   r  r   c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )zO
        Retrieves information about the specified Account Capability.
        r   r  0/v1/accounts/{account}/capabilities/{capability}r)   r#   r  r  r  r)   r#   r  r  r  r  s          r:   retrieve_capabilityzAccount.retrieve_capability  sh     BII ,,W5#//
; J   --   

 	
r9   r  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z}
        Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.
        r   r  r  r  r  r  r  s          r:   modify_capabilityzAccount.modify_capability  sh     BII ,,W5#//
; J   --   

 	
r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )z
        Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
        r   r  z#/v1/accounts/{account}/capabilitiesr  r  r  r  s         r:   list_capabilitieszAccount.list_capabilities  s^     |$5<< ,,W5 =   --   	
 	
r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )zA
        Create an external account for a given account.
        r  r  (/v1/accounts/{account}/external_accountsr  r  r   r   r  r  r   r  r  s         r:   create_external_accountzAccount.create_external_account,  s`     '(:AA ,,W5 B   --   	
 	
r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )zL
        Retrieve a specified external account for a given account.
        r  r  -/v1/accounts/{account}/external_accounts/{id}r)   r  r  r  r  r)   r  r  r  r  r  s          r:   retrieve_external_accountz!Account.retrieve_external_accountF  sm     '(?FF ,,W5$:J:J2:N G   --   	
 	
r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )a  
        Updates the metadata, account holder name, account holder type of a bank account belonging to a [Custom account](https://stripe.com/docs/connect/custom-accounts), and optionally sets it as the default for its currency. Other bank account details are not editable by design.

        You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
        r  r  r  r  r  r  r  s          r:   modify_external_accountzAccount.modify_external_accounta  sm     '(?FF ,,W5$:J:J2:N G   --   	
 	
r9   r  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )zJ
        Delete a specified external account for a given account.
        r  r  r  r  r  r  r  s          r:   delete_external_accountzAccount.delete_external_account~  sm     '(?FF ,,W5$:J:J2:N G   --   	
 	
r9   r  c                     t        t        t        d      | j                  ddj	                  t        j                  |            ||||            S )z8
        List external accounts for an account.
        r  r  r  r  r  )r   r   r   r  r  r   r  r  s         r:   list_external_accountszAccount.list_external_accounts  se     u234:AA ,,W5 B   --   	
 	
r9   r  r!   c                     t        d| j                  ddj                  t        j                  |            ||||            S )z
        Creates a single-use login link for an Express account to access their Stripe dashboard.

        You may only create login links for [Express accounts](https://stripe.com/docs/connect/express-accounts) connected to your platform.
        r!   r  z"/v1/accounts/{account}/login_linksr  r  r  r  s         r:   create_login_linkzAccount.create_login_link  sY     4;; ,,W5 <   --   	
 	
r9   r	  c                     t        d| j                  ddj                  t        j                  |            ||||            S )z'
        Creates a new person.
        r"   r  r  r  r  r  r  s         r:   create_personzAccount.create_person  sY     077 ,,W5 8   --   	
 	
r9   r&   rG  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z/
        Retrieves an existing person.
        r"   r  '/v1/accounts/{account}/persons/{person}r)   r&   r  r  r  r)   r&   r  r  r  r  s          r:   retrieve_personzAccount.retrieve_person  sh     9@@ ,,W5++F3 A   --   

 	
r9   rJ  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z-
        Updates an existing person.
        r"   r  r
  r  r  r  r  s          r:   modify_personzAccount.modify_person  sh     9@@ ,,W5++F3 A   --   

 	
r9   rz  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )aA  
        Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
        r"   r  r
  r  r  r  r  s          r:   delete_personzAccount.delete_person!  sh     9@@ ,,W5++F3 A   --   

 	
r9   r}  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S r  r  r  s         r:   list_personszAccount.list_persons=  r  r9   )r  r  r  r  r  r  r  r\  )NNNN)NNNr  )NN)r2   r3   r4   __doc__r*   r   r   r6   r   rR   r}   r   r   r@  rH  r  rZ  r   r   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r   r"  r,  r/  r1  r3  r5  r7  r9  r`  rc  rf  rh  rj  rl  rn  rp  rr  rt  rv  rx  rz  r|  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r$  r'  r/  r2  r4  r6  r9  r;  r=  r?  rB  rE  rH  rS  rW  rY  r[  r]  r_  rd  rf  rh  rj  rm  ro  rq  rs  rv  rx  r{  r  r  r   r   r7   r5   r   r   r   classmethodr   r  r  r   staticmethodr  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  rQ   __classcell__)r  s   @r:   r(   r(   #   s   	 1:K'),-9I
, I
Vf| fP_
, _
B\ QL\ QLfQL| QLfn
< n
` $ F	> F	P		 	$	9 	<	9 			 		) 	 	) 	,	9 		y 	(		 		i 		9 		9 	$`	Y `	D	 		 		9 		i 	4		 		 	<		 	<	I 	4*	I *	X	y 		I 		9 		I 		) 		) 		I 	T	) T	l	i 		i 		i 		i 	<	Y 	<	 	4Z	y Z	x	) 		y 		y 			 		Y 		) 		Y 			 		 			 		Y 		) 		9 		9 		Y 		i 		Y 		) 		 		I 		i 		i 		) 		) 		i 		i 		9 		) 		Y 		9 		9 		 			 		) 		y 		Y 			 	(	) (	T		 	4	 		> 		 	&		 	$	N 	,		 	,	> 		~ 	
	^ 
		^ 		. 	$	N 	F	. F	P	9 				. 		 	,	N 	v	 v	p	Y 		Y 		y 		Y 	<	) 	4	) 	$	i 		) 		i 		I 		Y 	<	I 	<		 	4	 			 		> 	v	 v	p	Y 		Y 		y 		Y 	<	) 	4	) 	$	i 		) 		i 		I 		Y 	<	I 	<		 	4	 			 		 		 	,	I 	, // JK  <((d^# g$$c] c] sm#  ~% C=  
51F+G HII ""455G "" tCH~&& I d^# <((x   ]++
7:;
<< gdm$$  "&)-(,(,
#
 "#
 !	

 !
 /0
 

 
: 

!'(>!?
	
 
  

"#9:
	
  
 v&<= )   -(
56
	
 )
   "&(,(,	# ! !	
 -. 
I	 6  "&(,(,

 #
 !	

 !
 01
 
H	
 
2  "&(,(,	

#
 !
 !	

 01
 
H	
  
  *.!# 01 
H		  .) *.
!#
 01
 
H		
 *
(  "&(,(,

 #
 !	

 !
 /0
 

 
6  "&(,(,	# ! !	
 /0 
    *.
!#
 /0
 
	
 
 -( *.
!#
 /0
 
	
 )
2  
 ? ? & &81 
 "&(,(,

 
 #	

 !
 !
 ;<
 

 
6 
 "&(,(,

 
 #	

 !
 !
 9:
 

 
6  "&(,(,

 #
 !	

 !
 9:
 
L	!
 
2  "&(,(,

 #
 !	

 !
 >?
 
$	%
 
2 
 "&(,(,

 
 #	

 !
 !
 @A
 
$	%
 
4 
 "&(,(,

 
 #	

 !
 !
 >?
 
$	%
 
8 
 "&(,(,

 
 #	

 !
 !
 >?
 
$	%
 
4  "&(,(,

 #
 !	

 !
 =>
 
E/0	1
 
2  "&(,(,

 #
 !	

 !
 89
 

 
6  "&(,(,

 #
 !	

 !
 56
 

 
2 
 "&(,(,

 
 #	

 !
 !
 78
 

 
6 
 "&(,(,

 
 #	

 !
 !
 56
 

 
6 
 "&(,(,

 
 #	

 !
 !
 56
 

 
6  "&(,(,

 #
 !	

 !
 45
 
H	
 
4 ,$ 1$'	r9   r(   N)1striper   r   r   stripe.api_resources.abstractr   r   r   r	   r
   %stripe.api_resources.expandable_fieldr    stripe.api_resources.list_objectr   stripe.request_optionsr   stripe.stripe_objectr   stripe.utilr   typingr   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   urllib.parser   !stripe.api_resources.bank_accountr   stripe.api_resources.capabilityr   stripe.api_resources.cardr   stripe.api_resources.filer    stripe.api_resources.login_linkr!   stripe.api_resources.personr"   r(   r8   r9   r:   <module>r(     s    . -  B 7 1 - , H H H  $=:..92 |,12|,x(y@)$#	")$	y@ ) - 3 -y@r9   