o
    Bi^                    @   sj  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 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 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& e&rd dl'm(Z( d dl)m*Z* d dl+m,Z, d dl-m.Z. d dl/m0Z0 d dl1m2Z2 ededededG dd ded ed e	d ed Z3dS )    )CreateableAPIResource)DeletableAPIResource)ExpandableField)
ListObject)ListableAPIResource)nested_resource_class_methods)OAuth)Person)RequestOptions)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarDictListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)BankAccount)
Capability)Card)File)	LoginLink)TaxId
capabilityexternal_account
login_linkpersonc                
       s,  e Zd ZU dZdZeed  ed< G dd deZ	G dd deZ
G dd	 d	eZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZ G d0d1 d1eZ!G d2d3 d3eZ"G d4d5 d5eZ#G d6d7 d7eZ$G d8d9 d9eZ%G d:d; d;eZ&G d<d= d=eZ'G d>d? d?eZ(G d@dA dAeZ)G dBdC dCeZ*G dDdE dEeZ+G dFdG dGeZ,G dHdI dIeZ-G dJdK dKeZ.G dLdM dMeZ/G dNdO dOeZ0G dPdQ dQeZ1G dRdS dSeZ2G dTdU dUeZ3G dVdW dWeZ4G dXdY dYeZ5G dZd[ d[eZ6G d\d] d]eZ7G d^d_ d_eZ8G d`da daeZ9G dbdc dceZ:G ddde deeZ;G dfdg dgeZ<G dhdi dieZ=G djdk dkeZ>G dldm dmeZ?G dndo doeZ@G dpdq dqeZAG drds dseZBG dtdu dueZCG dvdw dweZDG dxdy dyeZEG dzd{ d{eZFG d|d} d}eZGG d~d deZHG dd deZIG dd deZJG dd deZKG dd deZLG dd deZMG dd deZNG dd deZOG dd deZPG dd deZQG dd deZRG dd deZSG dd deZTG dd deZUG dd deZVG dd deZWG dd deZXG dd deZYG dd deZZG dd deZ[G dd deZ\G dd deZ]G dd deZ^G dd deZ_G dd deZ`G dd deZaG dd deZbG dd deZcG dd deZdG dd deZeG dd deZfG dd deZgG dd deZhG dd deZiG ddÄ deZjG ddń deZkG ddǄ deZlG ddɄ deZmG dd˄ deZnG dd̈́ deZoG ddτ deZpG ddф deZqG ddӄ deZrG ddՄ deZsG ddׄ deZtG ddل deZuG ddۄ deZvG dd݄ deZwG dd߄ deZxG dd deZyG dd deZzG dd deZ{G dd deZ|G dd deZ}G dd deZ~G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d deZG dd deZG dd deZG dd deZG dd	 d	eZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZG d4d5 d5eZG d6d7 d7eZG d8d9 d9eZG d:d; d;eZG d<d= d=eZG d>d? d?eZG d@dA dAeZG dBdC dCeZG dDdE dEeZG dFdG dGeZee	 edH< 	 eedI  edJ< 	 ee
 edK< ee edL< 	 ee edM< ee edN< ee edO< 	 ee edP< 	 ee edQ< 	 ee edR< 	 ee edS< 	 eeedT   edU< 	 ee edV< eedW< 	 edX edY< 	 eeeef  edZ< 	 ed ed[< 	 ee ed\< 	 ee ed]< ee ed^< 	 ee ed_< eed`  eda< 	 eedb  edc< 	 eddede dfd fdgdhZeddede dfd fdidjZedkeddedl dfd fdmdnZeedkeddedl dfd fdodpZeddedl dfd fdqdpZedrddedl dfd fdsdpZedkeddedl dfd fdtduZeedkeddedl dfd fdvdwZeddedl dfd fdxdwZedyddedl dfd fdzdwZedded{ dfed  fd|d}Zedded{ dfed  fd~dZededded dfedX fddZeededded dfedX fddZedded dfedX fddZeddded dfedX fddZededded dfedX fddZeededded dfedX fddZedded dfedX fddZeddded dfedX fddZededded dfd fddZeededded dfd fddZedded dfd fddZeddded dfd fddZededded dfd fddZeededded dfd fddZedded dfd fddZeddded dfd fddZeddddZeddddZeddddZeddddZedd Z͐dd Zΐdd Zχ fddZedededded dfdfddZedededded dfdfddZedededded dfdfddZedededded dfdfddZededded dfed fddZededded dfed fddZededded dfedT fddZededded dfedT fdÐdĄZededWedded dfedT fdƐdǄZededWedded dfedT fdȐdɄZededWedded dfedT fdːd̄ZededWedded dfedT fd͐d΄ZededWedded dfedT fdАdфZededWedded dfedT fdҐdӄZededded dfeedT  fdՐdքZededded dfeedT  fdאd؄Zededded dfdfdېd܄Zededded dfdfdݐdބZededded dfdXfddZededded dfdXfddZedededded dfdXfddZedededded dfdXfddZedededded dfdXfddZedededded dfdXfddZedededded dfdXfddZedededded dfdXfddZededded dfedX fddZededded dfedX fddZe	e
eeeeeedZ  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 accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
    is `application`, which includes Custom accounts, the properties below are always
    returned.

    For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
    is `stripe`, which includes Standard and Express accounts, some properties are only returned
    until you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions)
    to start Connect Onboarding. Learn about the [differences between accounts](https://stripe.com/connect/accounts).
    accountOBJECT_NAMEc                   @   s   e Zd ZU G dd deZG dd deZG d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ZdS )zAccount.BusinessProfilec                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )z%Account.BusinessProfile.AnnualRevenueamountcurrencyfiscal_year_endN__name__
__module____qualname__r   int__annotations__str r3   r3   O/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_account.pyAnnualRevenue=      
 r5   c                   @       e Zd ZU eed< 	 eed< dS )z/Account.BusinessProfile.MonthlyEstimatedRevenuer)   r*   Nr-   r.   r/   r0   r1   r2   r3   r3   r3   r4   MonthlyEstimatedRevenueK   
   
 r9   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< dS )z&Account.BusinessProfile.SupportAddresscitycountryline1line2postal_codestateNr-   r.   r/   r   r2   r1   r3   r3   r3   r4   SupportAddressU      
 rC   annual_revenueestimated_worker_countmccmonthly_estimated_revenuenameproduct_descriptionsupport_addresssupport_emailsupport_phonesupport_urlurl)rE   rH   rK   N)r-   r.   r/   r   r5   r9   rC   r   r1   r0   r2   _inner_class_typesr3   r3   r3   r4   BusinessProfile<   s:   
 

rQ   c                   @   sZ  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&< 	 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d0< d1S )2zAccount.Capabilities)activeinactivependingacss_debit_paymentsaffirm_paymentsafterpay_clearpay_paymentsamazon_pay_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gb_bank_transfer_paymentsgiropay_paymentsgrabpay_paymentsideal_paymentsindia_international_paymentsjcb_paymentsjp_bank_transfer_paymentsklarna_paymentskonbini_paymentslegacy_paymentslink_paymentsmobilepay_paymentsmultibanco_paymentsmx_bank_transfer_paymentsoxxo_paymentsp24_paymentspaynow_paymentspromptpay_paymentsrevolut_pay_paymentssepa_bank_transfer_paymentssepa_debit_paymentssofort_paymentsswish_paymentstax_reporting_us_1099_ktax_reporting_us_1099_misc	transferstreasurytwint_paymentsus_bank_account_ach_paymentsus_bank_transfer_paymentszip_paymentsN)r-   r.   r/   r   r   r1   r3   r3   r3   r4   Capabilities   s   
 r   c                   @   sl  e Zd ZU G dd deZG dd deZG dd deZG dd deZG d	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dS ) zAccount.Companyc                   @   r;   )zAccount.Company.Addressr<   r=   r>   r?   r@   rA   NrB   r3   r3   r3   r4   Addressy  rD   r   c                   @   n   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< dS )	zAccount.Company.AddressKanar<   r=   r>   r?   r@   rA   townNrB   r3   r3   r3   r4   AddressKana     
 r   c                   @   r   )	zAccount.Company.AddressKanjir<   r=   r>   r?   r@   rA   r   NrB   r3   r3   r3   r4   AddressKanji  r   r   c                   @   r(   )z$Account.Company.OwnershipDeclarationdateip
user_agentNr,   r3   r3   r3   r4   OwnershipDeclaration  r6   r   c                   @   s.   e Zd ZU G dd deZeed< deiZdS )zAccount.Company.Verificationc                   @   sL   e Zd ZU eed  ed< 	 ee ed< 	 ee ed< 	 eed  ed< dS )z%Account.Company.Verification.Documentr   backdetailsdetails_codefrontNr-   r.   r/   r   r   r1   r2   r3   r3   r3   r4   Document  s   
 r   documentN)r-   r.   r/   r   r   r1   rP   r3   r3   r3   r4   Verification  s   
 r   addressaddress_kanaaddress_kanjidirectors_providedexecutives_providedexport_license_idexport_purpose_coderI   	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registered_charity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)r-   r.   r/   r   r   r   r   r   r   r   r1   boolr2   r   rP   r3   r3   r3   r4   Companyx  sf   
 
r   c                   @   s   e Zd ZU G dd deZG dd deZG dd deZee ed< ee	 ed< 	 ee ed	< ee
d
  ed< 	 ee ed< e
d ed< 	 eeedZdS )zAccount.Controllerc                   @      e Zd ZU ed ed< dS )zAccount.Controller.Fees)r&   applicationapplication_customapplication_expresspayerNr-   r.   r/   r   r1   r3   r3   r3   r4   Fees[  s
   
 r   c                   @   r   )zAccount.Controller.Lossesr   stripepaymentsNr   r3   r3   r3   r4   Lossesf     
 r   c                   @   r   )z"Account.Controller.StripeDashboardexpressfullnonetypeNr   r3   r3   r3   r4   StripeDashboardl  r   r   feesis_controllerlossesr   requirement_collectionstripe_dashboardr&   r   r   )r   r   r   N)r-   r.   r/   r   r   r   r   r   r1   r   r   rP   r3   r3   r3   r4   
ControllerZ  s"   
 
r   c                   @      e Zd ZU G dd deZG d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dS )zAccount.FutureRequirementsc                   @   (   e Zd ZU ee ed< 	 ee ed< dS )z&Account.FutureRequirements.Alternativealternative_fields_dueoriginal_fields_dueNr-   r.   r/   r   r2   r1   r3   r3   r3   r4   Alternative  
   
 r   c                   @   .   e Zd ZU ed ed< 	 eed< 	 eed< dS )z Account.FutureRequirements.ErrorZ&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_representative_authority'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_associations6verification_requires_additional_proof_of_registrationverification_supportabilitycodereasonrequirementNr-   r.   r/   r   r1   r2   r3   r3   r3   r4   Error     
 \rA  alternativescurrent_deadlinecurrently_duedisabled_reasonerrorseventually_duepast_duepending_verificationrC  rG  Nr-   r.   r/   r   r   rA  r   r   r1   r0   r2   rP   r3   r3   r3   r4   FutureRequirements  (   
 
irM  c                   @   r   )zAccount.Requirementsc                   @   r   )z Account.Requirements.Alternativer   r   Nr   r3   r3   r3   r4   r     r   r   c                   @   r   )zAccount.Requirements.Errorr   r=  r>  r?  Nr@  r3   r3   r3   r4   rA  (  rB  rA  rC  rD  rE  rF  rG  rH  rI  rJ  rK  NrL  r3   r3   r3   r4   Requirements  rN  rO  c                   @   s0  e Zd ZU G dd deZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZ	G dd deZ
G dd deZG dd deZG dd deZee ed< eed< ee ed< eed< eed< e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ed
Zd S )!zAccount.Settingsc                   @   r   )z"Account.Settings.BacsDebitPaymentsdisplay_nameservice_user_numberNrB   r3   r3   r3   r4   BacsDebitPayments  r   rR  c                   @   sL   e Zd ZU eed  ed< 	 eed  ed< 	 ee ed< 	 ee ed< dS )zAccount.Settings.Brandingr   iconlogoprimary_colorsecondary_colorNr   r3   r3   r3   r4   Branding  s   
 rW  c                   @   2   e Zd ZU G dd deZee ed< deiZdS )zAccount.Settings.CardIssuingc                   @   r(   )z*Account.Settings.CardIssuing.TosAcceptancer   r   r   Nr,   r3   r3   r3   r4   TosAcceptance  r6   rY  tos_acceptanceNr-   r.   r/   r   rY  r   r1   rP   r3   r3   r3   r4   CardIssuing     
 r\  c                   @   s\   e Zd ZU G dd deZee ed< ee ed< 	 ee ed< 	 ee ed< 	 deiZdS )zAccount.Settings.CardPaymentsc                   @   s    e Zd ZU eed< 	 eed< dS )z'Account.Settings.CardPayments.DeclineOnavs_failurecvc_failureN)r-   r.   r/   r   r1   r3   r3   r3   r4   	DeclineOn  r:   r`  
decline_onstatement_descriptor_prefix statement_descriptor_prefix_kana!statement_descriptor_prefix_kanjiN)	r-   r.   r/   r   r`  r   r1   r2   rP   r3   r3   r3   r4   CardPayments  s   
 
re  c                   @   r   )zAccount.Settings.DashboardrP  timezoneNrB   r3   r3   r3   r4   	Dashboard  r   rg  c                   @   s"   e Zd ZU eeed   ed< dS )zAccount.Settings.Invoicesr    default_account_tax_idsN)r-   r.   r/   r   r   r   r1   r3   r3   r3   r4   Invoices  s   
 ri  c                   @   R   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< dS )zAccount.Settings.Paymentsstatement_descriptorstatement_descriptor_kanastatement_descriptor_kanjirc  rd  NrB   r3   r3   r3   r4   Payments     
 rn  c                   @   sF   e Zd ZU G dd deZeed< 	 eed< ee ed< 	 deiZ	dS )zAccount.Settings.Payoutsc                   @   s<   e Zd ZU eed< 	 eed< 	 ee ed< 	 ee ed< dS )z!Account.Settings.Payouts.Schedule
delay_daysintervalmonthly_anchorweekly_anchorN)r-   r.   r/   r0   r1   r2   r   r3   r3   r3   r4   Schedule#  s   
 rt  debit_negative_balancesschedulerk  N)
r-   r.   r/   r   rt  r   r1   r   r2   rP   r3   r3   r3   r4   Payouts"  s   
 rw  c                   @      e Zd ZU ee ed< dS )z"Account.Settings.SepaDebitPaymentscreditor_idNrB   r3   r3   r3   r4   SepaDebitPayments@  r   rz  c                   @   rX  )zAccount.Settings.Treasuryc                   @   r(   )z'Account.Settings.Treasury.TosAcceptancer   r   r   Nr,   r3   r3   r3   r4   rY  G  r6   rY  rZ  Nr[  r3   r3   r3   r4   TreasuryF  r]  r{  rZ   brandingr_   r`   	dashboardinvoicesr   payoutsry   r   )
rZ   r|  r_   r`   r}  r~  r   r  ry   r   N)r-   r.   r/   r   rR  rW  r\  re  rg  ri  rn  rw  rz  r{  r   r1   rP   r3   r3   r3   r4   Settings  s@   
 


r  c                   @   D   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )zAccount.TosAcceptancer   r   service_agreementr   Nr,   r3   r3   r3   r4   rY  o     
 rY  c                   @   sX   e Zd ZU ee ed< 	 eee  ed< 	 eedddf ed< 	 ee	eef  ed< dS )	#Account.CreateExternalAccountParamsdefault_for_currencyexpand'Account.CreateExternalAccountParamsCard.Account.CreateExternalAccountParamsBankAccount,Account.CreateExternalAccountParamsCardTokenr"   metadataN)
r-   r.   r/   r   r   r1   r   r2   r   r   r3   r3   r3   r4   CreateExternalAccountParams  s   
 r  c                   @   h   e Zd ZU ed ed< ee ed< 	 eed  ed< 	 eed< 	 eed< 	 ee ed< 	 ee ed	< d
S )r  bank_accountobjectaccount_holder_namecompany
individualaccount_holder_typeaccount_numberr=   r*   routing_numberNr-   r.   r/   r   r1   r   r2   r3   r3   r3   r4   &CreateExternalAccountParamsBankAccount     
 r  c                   @   s   e Zd ZU ed 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ed< ee ed< eed< eeeef  ed< dS )r  cardr  address_cityaddress_countryaddress_line1address_line2address_stateaddress_zipr*   cvc	exp_monthexp_yearrI   numberr  N)	r-   r.   r/   r   r1   r   r2   r0   r   r3   r3   r3   r4   CreateExternalAccountParamsCard  s    
 r  c                   @   .   e Zd ZU ed ed< ee ed< eed< dS )r  r  r  r*   tokenNr  r3   r3   r3   r4   $CreateExternalAccountParamsCardToken     
 r  c                   @      e Zd ZU eee  ed< dS )Account.CreateLoginLinkParamsr  Nr-   r.   r/   r   r   r2   r1   r3   r3   r3   r4   CreateLoginLinkParams     
 r  c                   @   s  e Zd ZU ee ed< 	 ed ed< 	 eed  ed< 	 ed ed< 	 ed ed	< 	 ed
 ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 eee  ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 eed  ed< dS )Account.CreateParamsaccount_token#Account.CreateParamsBusinessProfilebusiness_profiler  government_entityr  
non_profitbusiness_type Account.CreateParamsCapabilitiescapabilitiesAccount.CreateParamsCompanyr  Account.CreateParamsController
controllerr=   default_currencyAccount.CreateParamsDocuments	documentsemailr  zZstr|Account.CreateParamsBankAccount|Account.CreateParamsCard|Account.CreateParamsCardTokenr"   Account.CreateParamsIndividualr  Literal['']|Dict[str, str]r  Account.CreateParamsSettingssettings!Account.CreateParamsTosAcceptancerZ  )customr   standardr   N)r-   r.   r/   r   r2   r1   r   r   r3   r3   r3   r4   CreateParams  sN   
 
r  c                   @   r  )zAccount.CreateParamsBankAccountr  r  r  r  r  r  r=   r*   r  Nr  r3   r3   r3   r4   CreateParamsBankAccount$  r  r  c                   @   s   e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed	 ed
< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< dS )r  0Account.CreateParamsBusinessProfileAnnualRevenuerE   rF   rG   :Account.CreateParamsBusinessProfileMonthlyEstimatedRevenuerH   rI   rJ   1Account.CreateParamsBusinessProfileSupportAddressrK   rL   rM   Literal['']|strrN   rO   N)r-   r.   r/   r   r1   r0   r2   r3   r3   r3   r4   CreateParamsBusinessProfile?  s:   
 r  c                   @   s*   e Zd ZU eed< 	 eed< 	 eed< dS )r  r)   r*   r+   Nr8   r3   r3   r3   r4   (CreateParamsBusinessProfileAnnualRevenues     
 r  c                   @   r7   )r  r)   r*   Nr8   r3   r3   r3   r4   2CreateParamsBusinessProfileMonthlyEstimatedRevenue  r:   r  c                   @   r;   )r  r<   r=   r>   r?   r@   rA   Nr-   r.   r/   r   r2   r1   r3   r3   r3   r4   )CreateParamsBusinessProfileSupportAddress  rD   r  c                   @   s  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< 	 edK edL< 	 edM edN< 	 edO edP< 	 edQ edR< 	 edS edT< 	 edU edV< 	 edW edX< 	 edY edZ< 	 ed[ ed\< 	 ed] ed^< d_S )`r  1Account.CreateParamsCapabilitiesAcssDebitPaymentsrU   .Account.CreateParamsCapabilitiesAffirmPaymentsrV   8Account.CreateParamsCapabilitiesAfterpayClearpayPaymentsrW   1Account.CreateParamsCapabilitiesAmazonPayPaymentsrX   3Account.CreateParamsCapabilitiesAuBecsDebitPaymentsrY   1Account.CreateParamsCapabilitiesBacsDebitPaymentsrZ   2Account.CreateParamsCapabilitiesBancontactPaymentsr[   4Account.CreateParamsCapabilitiesBankTransferPaymentsr\   ,Account.CreateParamsCapabilitiesBlikPaymentsr]   .Account.CreateParamsCapabilitiesBoletoPaymentsr^   +Account.CreateParamsCapabilitiesCardIssuingr_   ,Account.CreateParamsCapabilitiesCardPaymentsr`   7Account.CreateParamsCapabilitiesCartesBancairesPaymentsra   /Account.CreateParamsCapabilitiesCashappPaymentsrb   +Account.CreateParamsCapabilitiesEpsPaymentsrc   +Account.CreateParamsCapabilitiesFpxPaymentsrd   6Account.CreateParamsCapabilitiesGbBankTransferPaymentsre   /Account.CreateParamsCapabilitiesGiropayPaymentsrf   /Account.CreateParamsCapabilitiesGrabpayPaymentsrg   -Account.CreateParamsCapabilitiesIdealPaymentsrh   :Account.CreateParamsCapabilitiesIndiaInternationalPaymentsri   +Account.CreateParamsCapabilitiesJcbPaymentsrj   6Account.CreateParamsCapabilitiesJpBankTransferPaymentsrk   .Account.CreateParamsCapabilitiesKlarnaPaymentsrl   /Account.CreateParamsCapabilitiesKonbiniPaymentsrm   .Account.CreateParamsCapabilitiesLegacyPaymentsrn   ,Account.CreateParamsCapabilitiesLinkPaymentsro   1Account.CreateParamsCapabilitiesMobilepayPaymentsrp   2Account.CreateParamsCapabilitiesMultibancoPaymentsrq   6Account.CreateParamsCapabilitiesMxBankTransferPaymentsrr   ,Account.CreateParamsCapabilitiesOxxoPaymentsrs   +Account.CreateParamsCapabilitiesP24Paymentsrt   .Account.CreateParamsCapabilitiesPaynowPaymentsru   1Account.CreateParamsCapabilitiesPromptpayPaymentsrv   2Account.CreateParamsCapabilitiesRevolutPayPaymentsrw   8Account.CreateParamsCapabilitiesSepaBankTransferPaymentsrx   1Account.CreateParamsCapabilitiesSepaDebitPaymentsry   .Account.CreateParamsCapabilitiesSofortPaymentsrz   -Account.CreateParamsCapabilitiesSwishPaymentsr{   3Account.CreateParamsCapabilitiesTaxReportingUs1099Kr|   6Account.CreateParamsCapabilitiesTaxReportingUs1099Miscr}   )Account.CreateParamsCapabilitiesTransfersr~   (Account.CreateParamsCapabilitiesTreasuryr   -Account.CreateParamsCapabilitiesTwintPaymentsr   8Account.CreateParamsCapabilitiesUsBankAccountAchPaymentsr   6Account.CreateParamsCapabilitiesUsBankTransferPaymentsr   +Account.CreateParamsCapabilitiesZipPaymentsr   Nr-   r.   r/   r   r1   r3   r3   r3   r4   CreateParamsCapabilities  sr  
 r  c                   @   rx  )r  	requestedNr-   r.   r/   r   r   r1   r3   r3   r3   r4   )CreateParamsCapabilitiesAcssDebitPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesAffirmPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   0CreateParamsCapabilitiesAfterpayClearpayPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   )CreateParamsCapabilitiesAmazonPayPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   +CreateParamsCapabilitiesAuBecsDebitPayments  r   r	  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   )CreateParamsCapabilitiesBacsDebitPayments  r   r
  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   *CreateParamsCapabilitiesBancontactPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   ,CreateParamsCapabilitiesBankTransferPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   $CreateParamsCapabilitiesBlikPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesBoletoPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesCardIssuing  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   $CreateParamsCapabilitiesCardPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   /CreateParamsCapabilitiesCartesBancairesPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   'CreateParamsCapabilitiesCashappPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesEpsPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesFpxPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   .CreateParamsCapabilitiesGbBankTransferPayments  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   'CreateParamsCapabilitiesGiropayPayments#  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   'CreateParamsCapabilitiesGrabpayPayments)  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   %CreateParamsCapabilitiesIdealPayments/  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   2CreateParamsCapabilitiesIndiaInternationalPayments5  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesJcbPayments;  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   .CreateParamsCapabilitiesJpBankTransferPaymentsA  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesKlarnaPaymentsG  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   'CreateParamsCapabilitiesKonbiniPaymentsM  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesLegacyPaymentsS  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   $CreateParamsCapabilitiesLinkPaymentsY  r   r  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   )CreateParamsCapabilitiesMobilepayPayments_  r   r   c                   @   rx  )r  r  Nr  r3   r3   r3   r4   *CreateParamsCapabilitiesMultibancoPaymentse  r   r!  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   .CreateParamsCapabilitiesMxBankTransferPaymentsk  r   r"  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   $CreateParamsCapabilitiesOxxoPaymentsq  r   r#  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesP24Paymentsw  r   r$  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesPaynowPayments}  r   r%  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   )CreateParamsCapabilitiesPromptpayPayments  r   r&  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   *CreateParamsCapabilitiesRevolutPayPayments  r   r'  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   0CreateParamsCapabilitiesSepaBankTransferPayments  r   r(  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   )CreateParamsCapabilitiesSepaDebitPayments  r   r)  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   &CreateParamsCapabilitiesSofortPayments  r   r*  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   %CreateParamsCapabilitiesSwishPayments  r   r+  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   +CreateParamsCapabilitiesTaxReportingUs1099K  r   r,  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   .CreateParamsCapabilitiesTaxReportingUs1099Misc  r   r-  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   !CreateParamsCapabilitiesTransfers  r   r.  c                   @   rx  )r  r  Nr  r3   r3   r3   r4    CreateParamsCapabilitiesTreasury  r   r/  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   %CreateParamsCapabilitiesTwintPayments  r   r0  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   0CreateParamsCapabilitiesUsBankAccountAchPayments  r   r1  c                   @   rx  )r  r  Nr  r3   r3   r3   r4   .CreateParamsCapabilitiesUsBankTransferPayments  r   r2  c                   @   rx  )r   r  Nr  r3   r3   r3   r4   #CreateParamsCapabilitiesZipPayments  r   r3  c                   @   s   e Zd ZU ed 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ed< ee ed< eed< eeeef  ed< 	 ee	 ed< dS )zAccount.CreateParamsCardr  r  r  r  r  r  r  r  r*   r  r  r  rI   r  r  r  N)
r-   r.   r/   r   r1   r   r2   r0   r   r   r3   r3   r3   r4   CreateParamsCard  s"   
 r4  c                   @   r  )zAccount.CreateParamsCardTokenr  r  r*   r  Nr  r3   r3   r3   r4   CreateParamsCardToken  r  r5  c                   @   s  e Zd ZU ed ed< 	 ed ed< 	 ed 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d ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< dS )r  "Account.CreateParamsCompanyAddressr   &Account.CreateParamsCompanyAddressKanar   'Account.CreateParamsCompanyAddressKanjir   r   r   r   r   rI   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', 'registered_charity', '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   N)r-   r.   r/   r   r1   r   r2   r3   r3   r3   r4   CreateParamsCompany  sV   
 r>  c                   @   r;   )r6  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   CreateParamsCompanyAddressB  rD   r?  c                   @   r   )	r7  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   CreateParamsCompanyAddressKana\  r   r@  c                   @   r   )	r8  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   CreateParamsCompanyAddressKanjiz  r   rA  c                   @   r(   )r9  r   r   r   Nr-   r.   r/   r   r0   r1   r2   r3   r3   r3   r4   'CreateParamsCompanyOwnershipDeclaration  r6   rC  c                   @   r   )r=  /Account.CreateParamsCompanyVerificationDocumentr   Nr  r3   r3   r3   r4   CreateParamsCompanyVerification  
   
 rE  c                   @   r   )rD  r   r   Nr  r3   r3   r3   r4   'CreateParamsCompanyVerificationDocument  r   rG  c                   @   sH   e Zd ZU ed ed< 	 ed ed< 	 eed  ed< 	 ed ed< d	S )
r  "Account.CreateParamsControllerFeesr   $Account.CreateParamsControllerLossesr   r   r   -Account.CreateParamsControllerStripeDashboardr   N)r-   r.   r/   r   r1   r   r3   r3   r3   r4   CreateParamsController  s   
 rK  c                   @      e Zd ZU eed  ed< dS )rH  r   r   Nr-   r.   r/   r   r   r1   r3   r3   r3   r4   CreateParamsControllerFees  r  rN  c                   @   rL  )rI  r   r   NrM  r3   r3   r3   r4   CreateParamsControllerLosses  r  rO  c                   @   rL  )rJ  r   r   NrM  r3   r3   r3   r4   %CreateParamsControllerStripeDashboard  r  rP  c                   @   n   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< dS )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  r3   r3   r3   r4   CreateParamsDocuments  s:   
 r`  c                   @   r  )rR  filesNr  r3   r3   r3   r4   5CreateParamsDocumentsBankAccountOwnershipVerification
	  r  rb  c                   @   r  )rT  ra  Nr  r3   r3   r3   r4   #CreateParamsDocumentsCompanyLicense	  r  rc  c                   @   r  )rV  ra  Nr  r3   r3   r3   r4   3CreateParamsDocumentsCompanyMemorandumOfAssociation	  r  rd  c                   @   r  )rX  ra  Nr  r3   r3   r3   r4   -CreateParamsDocumentsCompanyMinisterialDecree	  r  re  c                   @   r  )rZ  ra  Nr  r3   r3   r3   r4   4CreateParamsDocumentsCompanyRegistrationVerification"	  r  rf  c                   @   r  )r\  ra  Nr  r3   r3   r3   r4   -CreateParamsDocumentsCompanyTaxIdVerification(	  r  rg  c                   @   r  )r^  ra  Nr  r3   r3   r3   r4   (CreateParamsDocumentsProofOfRegistration.	  r  rh  c                   @   sR  e Zd ZU ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ee ed	< 	 ee ed
< 	 ee ed< 	 ee ed< 	 ed 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d ed< 	 ee ed< 	 eed  ed< 	 ed ed< 	 ed ed< 	 ee ed< 	 ed  ed!< d"S )#r  %Account.CreateParamsIndividualAddressr   )Account.CreateParamsIndividualAddressKanar   *Account.CreateParamsIndividualAddressKanjir   z-Literal['']|Account.CreateParamsIndividualDobdobr  
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   )existingr   political_exposure/Account.CreateParamsIndividualRegisteredAddressregistered_address*Account.CreateParamsIndividualRelationshiprelationship
ssn_last_4*Account.CreateParamsIndividualVerificationr   N)r-   r.   r/   r   r1   r2   r   r3   r3   r3   r4   CreateParamsIndividual4	  sf   
 r  c                   @   r;   )ri  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   CreateParamsIndividualAddress	  rD   r  c                   @   r   )	rj  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   !CreateParamsIndividualAddressKana	  r   r  c                   @   r   )	rk  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   "CreateParamsIndividualAddressKanji	  r   r  c                   @   *   e Zd ZU eed< 	 eed< 	 eed< dS )z!Account.CreateParamsIndividualDobdaymonthyearNr-   r.   r/   r0   r1   r3   r3   r3   r4   CreateParamsIndividualDob	  r  r  c                   @   r;   )r{  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   'CreateParamsIndividualRegisteredAddress	  rD   r  c                   @   sR   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< dS )r}  director	executiveownerLiteral['']|floatpercent_ownershiptitleNr-   r.   r/   r   r   r1   r2   r3   r3   r3   r4   "CreateParamsIndividualRelationship
  ro  r  c                   @   (   e Zd ZU ed ed< 	 ed ed< dS )r  <Account.CreateParamsIndividualVerificationAdditionalDocumentadditional_document2Account.CreateParamsIndividualVerificationDocumentr   Nr  r3   r3   r3   r4   "CreateParamsIndividualVerification*
  s   
 r  c                   @   r   )r  r   r   Nr  r3   r3   r3   r4   4CreateParamsIndividualVerificationAdditionalDocument8
  r   r  c                   @   r   )r  r   r   Nr  r3   r3   r3   r4   *CreateParamsIndividualVerificationDocumentB
  r   r  c                   @   rQ  )r  -Account.CreateParamsSettingsBacsDebitPaymentsrZ   $Account.CreateParamsSettingsBrandingr|  'Account.CreateParamsSettingsCardIssuingr_   (Account.CreateParamsSettingsCardPaymentsr`   $Account.CreateParamsSettingsPaymentsr   #Account.CreateParamsSettingsPayoutsr  $Account.CreateParamsSettingsTreasuryr   Nr  r3   r3   r3   r4   CreateParamsSettingsL
  s"   
 r  c                   @   rx  )r  rP  Nr  r3   r3   r3   r4   %CreateParamsSettingsBacsDebitPaymentsl
  r   r  c                   @   D   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )r  rS  rT  rU  rV  Nr  r3   r3   r3   r4   CreateParamsSettingsBrandingr
  r  r  c                   @   r   )r  4Account.CreateParamsSettingsCardIssuingTosAcceptancerZ  Nr  r3   r3   r3   r4   CreateParamsSettingsCardIssuing
  rF  r  c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ed ed< dS )r  r   r   r  r   NrB  r3   r3   r3   r4   ,CreateParamsSettingsCardIssuingTosAcceptance
  r6   r  c                   @   sD   e Zd ZU ed ed< 	 ee ed< 	 ed ed< 	 ed ed< dS )r  1Account.CreateParamsSettingsCardPaymentsDeclineOnra  rb  r  rc  rd  N)r-   r.   r/   r   r1   r2   r3   r3   r3   r4    CreateParamsSettingsCardPayments
  s   
 r  c                   @   r   )r  r^  r_  Nr  r3   r3   r3   r4   )CreateParamsSettingsCardPaymentsDeclineOn
  r   r  c                   @   s6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )r  rk  rl  rm  Nr  r3   r3   r3   r4   CreateParamsSettingsPayments
  r6   r  c                   @   s6   e Zd ZU ee ed< 	 ed ed< 	 ee ed< dS )r  ru  +Account.CreateParamsSettingsPayoutsSchedulerv  rk  Nr  r3   r3   r3   r4   CreateParamsSettingsPayouts
  r6   r  c                   @   sL   e Zd ZU ed ed< 	 eed  ed< 	 ee ed< 	 eed  ed< dS )	r  zLiteral['minimum']|intrp  )dailymanualmonthlyweeklyrq  rr  )fridaymondaysaturdaysundaythursdaytuesday	wednesdayrs  N)r-   r.   r/   r   r1   r   r0   r3   r3   r3   r4   #CreateParamsSettingsPayoutsSchedule
  s   
 r  c                   @   r   )r  1Account.CreateParamsSettingsTreasuryTosAcceptancerZ  Nr  r3   r3   r3   r4   CreateParamsSettingsTreasury
  rF  r  c                   @   r  )r  r   r   r  r   NrB  r3   r3   r3   r4   )CreateParamsSettingsTreasuryTosAcceptance
  r6   r  c                   @   r  )r  r   r   r  r   NrB  r3   r3   r3   r4   CreateParamsTosAcceptance  r  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e ed< 	 eee  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed 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d ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed < 	 ed! ed"< 	 ed# ed$< 	 ee ed%< 	 ed& ed'< d(S ))Account.CreatePersonParams2Account.CreatePersonParamsAdditionalTosAcceptancesadditional_tos_acceptances!Account.CreatePersonParamsAddressr   %Account.CreatePersonParamsAddressKanar   &Account.CreatePersonParamsAddressKanjir   z)Literal['']|Account.CreatePersonParamsDobrl  #Account.CreatePersonParamsDocumentsr  r  r  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  r  r  nationalityperson_tokenr   rz  +Account.CreatePersonParamsRegisteredAddressr|  &Account.CreatePersonParamsRelationshipr~  r  &Account.CreatePersonParamsVerificationr   Nr-   r.   r/   r   r1   r2   r   r3   r3   r3   r4   CreatePersonParams  z   
 r  c                   @   r   )r  9Account.CreatePersonParamsAdditionalTosAcceptancesAccountr&   Nr  r3   r3   r3   r4   *CreatePersonParamsAdditionalTosAcceptances  rF  r  c                   @   r  )r  r   r   r  r   NrB  r3   r3   r3   r4   1CreatePersonParamsAdditionalTosAcceptancesAccount  r6   r  c                   @   r;   )r  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   CreatePersonParamsAddress  rD   r  c                   @   r   )	r  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   CreatePersonParamsAddressKana  r   r  c                   @   r   )	r  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   CreatePersonParamsAddressKanji  r   r  c                   @   r  )zAccount.CreatePersonParamsDobr  r  r  Nr  r3   r3   r3   r4   CreatePersonParamsDob  r  r  c                   @   6   e Zd ZU ed ed< 	 ed ed< 	 ed ed< dS )r  7Account.CreatePersonParamsDocumentsCompanyAuthorizationcompany_authorization+Account.CreatePersonParamsDocumentsPassportpassport'Account.CreatePersonParamsDocumentsVisavisaNr  r3   r3   r3   r4   CreatePersonParamsDocuments     
 r  c                   @   r  )r  ra  Nr  r3   r3   r3   r4   /CreatePersonParamsDocumentsCompanyAuthorization  r  r  c                   @   r  )r  ra  Nr  r3   r3   r3   r4   #CreatePersonParamsDocumentsPassport  r  r  c                   @   r  )r  ra  Nr  r3   r3   r3   r4   CreatePersonParamsDocumentsVisa$  r  r  c                   @   r;   )r  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   #CreatePersonParamsRegisteredAddress*  rD   r  c                   @   n   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< d	S )
r  r  r  legal_guardianr  r  r  representativer  Nr  r3   r3   r3   r4   CreatePersonParamsRelationshipD  r   r  c                   @   r  )r  8Account.CreatePersonParamsVerificationAdditionalDocumentr  .Account.CreatePersonParamsVerificationDocumentr   Nr  r3   r3   r3   r4   CreatePersonParamsVerificationb     
 r  c                   @   r   )r  r   r   Nr  r3   r3   r3   r4   0CreatePersonParamsVerificationAdditionalDocumentn  r   r  c                   @   r   )r  r   r   Nr  r3   r3   r3   r4   &CreatePersonParamsVerificationDocumentx  r   r  c                   @      e Zd ZdS )#Account.DeleteExternalAccountParamsNr-   r.   r/   r3   r3   r3   r4   DeleteExternalAccountParams      r  c                   @   r  )Account.DeleteParamsNr  r3   r3   r3   r4   DeleteParams  r  r  c                   @   r  )Account.DeletePersonParamsNr  r3   r3   r3   r4   DeletePersonParams  r  r  c                   @   r  )Account.ListCapabilitiesParamsr  Nr  r3   r3   r3   r4   ListCapabilitiesParams  r  r  c                   @   sZ   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 eed  ed< 	 ee ed< dS )"Account.ListExternalAccountsParamsending_beforer  limit)r  r  r  starting_afterN)	r-   r.   r/   r   r2   r1   r   r0   r   r3   r3   r3   r4   ListExternalAccountsParams  s   
 r  c                   @   sV   e Zd ZU ed ed< 	 ee ed< 	 eee  ed< 	 ee ed< 	 ee ed< dS )Account.ListParamszAccount.ListParamsCreated|intcreatedr  r  r  r  N)r-   r.   r/   r   r1   r2   r   r0   r3   r3   r3   r4   
ListParams  s   
 r   c                   @   r  )zAccount.ListParamsCreatedgtgteltlteN)r-   r.   r/   r   r0   r1   r3   r3   r3   r4   ListParamsCreated  r  r  c                   @   V   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 ed ed< 	 ee ed< dS )Account.ListPersonsParamsr  r  r  %Account.ListPersonsParamsRelationshipr~  r  Nr-   r.   r/   r   r2   r1   r   r0   r3   r3   r3   r4   ListPersonsParams     
 r
  c                   @   rj  )r  r  r  r  r  r  Nr  r3   r3   r3   r4   ListPersonsParamsRelationship  ro  r  c                   @   s,   e Zd ZU eee  ed< 	 ee ed< dS )Account.ModifyCapabilityParamsr  r  N)r-   r.   r/   r   r   r2   r1   r   r3   r3   r3   r4   ModifyCapabilityParams  s
   
 r  c                   @   s   e Zd ZU ee ed< 	 ed 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d
< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 eee  ed< 	 ed ed< 	 ee ed< dS )#Account.ModifyExternalAccountParamsr  z,Literal['']|Literal['company', 'individual']r  )checkingfutsusavingstozaaccount_typer  r  r  r  r  r  r  ,Account.ModifyExternalAccountParamsDocumentsr  r  r  r  r  r  rI   N)	r-   r.   r/   r   r2   r1   r   r   r   r3   r3   r3   r4   ModifyExternalAccountParams  sJ   
 r  c                   @   r   )r  LAccount.ModifyExternalAccountParamsDocumentsBankAccountOwnershipVerificationrS  Nr  r3   r3   r3   r4   $ModifyExternalAccountParamsDocumentsM  rF  r  c                   @   r  )r  ra  Nr  r3   r3   r3   r4   DModifyExternalAccountParamsDocumentsBankAccountOwnershipVerificationU  s   
 r  c                   @   r  ))Account.ModifyPersonParams2Account.ModifyPersonParamsAdditionalTosAcceptancesr  !Account.ModifyPersonParamsAddressr   %Account.ModifyPersonParamsAddressKanar   &Account.ModifyPersonParamsAddressKanjir   z)Literal['']|Account.ModifyPersonParamsDobrl  #Account.ModifyPersonParamsDocumentsr  r  r  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  r  r  r  r  r   rz  +Account.ModifyPersonParamsRegisteredAddressr|  &Account.ModifyPersonParamsRelationshipr~  r  &Account.ModifyPersonParamsVerificationr   Nr  r3   r3   r3   r4   ModifyPersonParams]  r  r#  c                   @   r   )r  9Account.ModifyPersonParamsAdditionalTosAcceptancesAccountr&   Nr  r3   r3   r3   r4   *ModifyPersonParamsAdditionalTosAcceptances  rF  r%  c                   @   r  )r$  r   r   r  r   NrB  r3   r3   r3   r4   1ModifyPersonParamsAdditionalTosAcceptancesAccount  r6   r&  c                   @   r;   )r  r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   ModifyPersonParamsAddress  rD   r'  c                   @   r   )	r  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   ModifyPersonParamsAddressKana  r   r(  c                   @   r   )	r  r<   r=   r>   r?   r@   rA   r   Nr  r3   r3   r3   r4   ModifyPersonParamsAddressKanji!  r   r)  c                   @   r  )zAccount.ModifyPersonParamsDobr  r  r  Nr  r3   r3   r3   r4   ModifyPersonParamsDob?  r  r*  c                   @   r  )r  7Account.ModifyPersonParamsDocumentsCompanyAuthorizationr  +Account.ModifyPersonParamsDocumentsPassportr  'Account.ModifyPersonParamsDocumentsVisar  Nr  r3   r3   r3   r4   ModifyPersonParamsDocumentsM  r  r.  c                   @   r  )r+  ra  Nr  r3   r3   r3   r4   /ModifyPersonParamsDocumentsCompanyAuthorization]  r  r/  c                   @   r  )r,  ra  Nr  r3   r3   r3   r4   #ModifyPersonParamsDocumentsPassportc  r  r0  c                   @   r  )r-  ra  Nr  r3   r3   r3   r4   ModifyPersonParamsDocumentsVisai  r  r1  c                   @   r;   )r   r<   r=   r>   r?   r@   rA   Nr  r3   r3   r3   r4   #ModifyPersonParamsRegisteredAddresso  rD   r2  c                   @   r  )
r!  r  r  r  r  r  r  r  r  Nr  r3   r3   r3   r4   ModifyPersonParamsRelationship  r   r3  c                   @   r  )r"  8Account.ModifyPersonParamsVerificationAdditionalDocumentr  .Account.ModifyPersonParamsVerificationDocumentr   Nr  r3   r3   r3   r4   ModifyPersonParamsVerification  r  r6  c                   @   r   )r4  r   r   Nr  r3   r3   r3   r4   0ModifyPersonParamsVerificationAdditionalDocument  r   r7  c                   @   r   )r5  r   r   Nr  r3   r3   r3   r4   &ModifyPersonParamsVerificationDocument  r   r8  c                   @   r  )Account.PersonsParamsr  r  r  !Account.PersonsParamsRelationshipr~  r  Nr	  r3   r3   r3   r4   PersonsParams  r  r;  c                   @   rj  )r:  r  r  r  r  r  Nr  r3   r3   r3   r4   PersonsParamsRelationship  ro  r<  c                   @   s(   e Zd ZU eee  ed< 	 eed< dS )Account.RejectParamsr  r>  Nr  r3   r3   r3   r4   RejectParams  s
   
 r>  c                   @   r  ) Account.RetrieveCapabilityParamsr  Nr  r3   r3   r3   r4   RetrieveCapabilityParams  r  r@  c                   @   r  )%Account.RetrieveExternalAccountParamsr  Nr  r3   r3   r3   r4   RetrieveExternalAccountParams  r  rB  c                   @   r  )Account.RetrievePersonParamsr  Nr  r3   r3   r3   r4   RetrievePersonParams	  r  rD  r  r  r  r  charges_enabledr  r  r=   r  r  details_submittedr  r   r   external_accountsfuture_requirementsidr	   r  r  r  payouts_enabledrequirementsr  rZ  )r  r   r   r  r   Tdeletedparamsr  returnc                 K   s   t d| jd|  |dS )M  
        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rN  )r   _static_request	class_urlclsrN  r3   r3   r4   create`  s   
zAccount.createc                    s"   t d| jd|  |dI dH S )rP  r%   rQ  rR  N)r   _static_request_asyncrT  rU  r3   r3   r4   create_asyncs  s   
zAccount.create_asyncsidr  c                 K   s*   d|   t|f }td| jd||dS )  
        With [Connect](https://stripe.com/connect), you can delete accounts you manage.

        Test-mode accounts can be deleted at any time.

        Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) 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.
        %s/%sr%   deleterR  )rT  r   r   rS  rV  rZ  rN  rO   r3   r3   r4   _cls_delete  s   zAccount._cls_deletec                 K      dS r[  Nr3   rZ  rN  r3   r3   r4   r]    s   zAccount.deletec                 K   r`  ra  r3   selfrN  r3   r3   r4   r]    s   r_  c                 K   s   | j d|  |dS )r[  r]  rR  )_request_and_refreshinstance_urlrc  r3   r3   r4   r]    s
   c                    s2   d|   t|f }td| jd||dI dH S )r[  r\  r%   r]  rR  N)rT  r   r   rX  r^  r3   r3   r4   _cls_delete_async  s   
zAccount._cls_delete_asyncc                       dS ra  r3   rb  r3   r3   r4   delete_async  s   zAccount.delete_asyncc                    rh  ra  r3   rc  r3   r3   r4   ri    s   rg  c                    s   | j d|  |dI dH S )r[  r]  rR  N)_request_and_refresh_asyncrf  rc  r3   r3   r4   ri    s   r  c                 K   s4   | j d|  |d}t|tstdt|j |S )
        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.
        getrR  %Expected list object from API, got %s)rS  rT  
isinstancer   	TypeErrorr   r-   rV  rN  resultr3   r3   r4   list  s   
zAccount.listc                    s<   | j d|  |dI dH }t|tstdt|j |S )rk  rl  rR  Nrm  )rX  rT  rn  r   ro  r   r-   rp  r3   r3   r4   
list_async,  s   
zAccount.list_asyncr9  c                 K   &   t td | jddjt|d|d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	   rl  /v1/accounts/{account}/personsr&   rR  r   r   rS  formatr   rV  r&   rN  r3   r3   r4   _cls_persons@     zAccount._cls_personsc                 K   r`  rv  Nr3   r&   rN  r3   r3   r4   personsR  s   zAccount.personsc                 K   r`  r~  r3   rc  r3   r3   r4   r  \     r|  c              	   K   s,   t td | jddjt| dd|dS )rv  r	   rl  rw  rJ  rx  rR  )r   r   _requestrz  r   rl  rc  r3   r3   r4   r  e  s   c                    .   t td | jddjt|d|dI dH S rv  r	   rl  rw  rx  rR  Nr   r   rX  rz  r   r{  r3   r3   r4   _cls_persons_asyncw     
zAccount._cls_persons_asyncc                    rh  r~  r3   r  r3   r3   r4   persons_async  s   zAccount.persons_asyncc                    rh  r~  r3   rc  r3   r3   r4   r    s   r  c              	      s4   t td | jddjt| dd|dI dH S )rv  r	   rl  rw  rJ  rx  rR  N)r   r   _request_asyncrz  r   rl  rc  r3   r3   r4   r    s   
r=  c                 K   "   t d| jddjt|d|dS )  
        With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.

        Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
        r%   rQ  /v1/accounts/{account}/rejectrx  rR  r   rS  rz  r   r{  r3   r3   r4   _cls_reject     	zAccount._cls_rejectc                 K   r`  r  Nr3   r  r3   r3   r4   reject  s   
zAccount.rejectc                 K   r`  r  r3   rc  r3   r3   r4   r    r  r  c              	   K   s(   t d| jddjt| dd|dS )r  r%   rQ  r  rJ  rx  rR  )r   r  rz  r   rl  rc  r3   r3   r4   r    s   	c                    *   t d| jddjt|d|dI dH S )r  r%   rQ  r  rx  rR  Nr   rX  rz  r   r{  r3   r3   r4   _cls_reject_async     	
zAccount._cls_reject_asyncc                    rh  r  r3   r  r3   r3   r4   reject_async  s   
zAccount.reject_asyncc                    rh  r  r3   rc  r3   r3   r4   r    s   	r  c              	      s0   t d| jddjt| dd|dI dH S )r  r%   rQ  r  rJ  rx  rR  N)r   r  rz  r   rl  rc  r3   r3   r4   r    s   	
Nc                 K   s   | |fi |}|   |S N)refreshrV  rJ  rN  instancer3   r3   r4   retrieve*  s   zAccount.retrievec                    s$   | |fi |}|  I d H  |S r  )refresh_asyncr  r3   r3   r4   retrieve_async0  s   zAccount.retrieve_asyncc                 K   s    |  |}td| jd||dS Nr%   rQ  rR  )_build_instance_urlr   rS  rV  rJ  rN  rO   r3   r3   r4   modify6  s   
zAccount.modifyc                    s(   |  |}td| jd||dI d H S r  )r  r   rX  r  r3   r3   r4   modify_async;  s   
zAccount.modify_asyncc                 C   s$   |sdS |   }t|}d||f S )Nz/v1/accountr\  )rT  r   )rV  rZ  baseextnr3   r3   r4   r  C  s
   zAccount._build_instance_urlc                 C   s   |  | dS )NrJ  )r  rl  )rd  r3   r3   r4   rf  K  s   zAccount.instance_urlc                 K   s   | j |d< tjdi |S )Nstripe_user_idr3   )rJ  r   deauthorizerc  r3   r3   r4   r  N  s   
zAccount.deauthorizec                    sh   t t| |}|p| jpi }t|  D ]\}}|dkr1t|tr1||vr1|||d ||< q|S )Nr  )	superr%   	serialize	_previousiteritemsrn  r	   rl  )rd  previousrN  kv	__class__r3   r4   r  R  s   zAccount.serializer!   r?  r   c                 K   (   t d| jddjt|t|d|dS )O
        Retrieves information about the specified Account Capability.
        r   rl  0/v1/accounts/{account}/capabilities/{capability}r&   r!   rR  r  rV  r&   r!   rN  r3   r3   r4   retrieve_capability\     
zAccount.retrieve_capabilityc                    0   t d| jddjt|t|d|dI dH S )r  r   rl  r  r  rR  Nr  r  r3   r3   r4   retrieve_capability_asyncr     

z!Account.retrieve_capability_asyncr  c                 K   r  )}
        Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.
        r   rQ  r  r  rR  r  r  r3   r3   r4   modify_capability  r  zAccount.modify_capabilityc                    r  )r  r   rQ  r  r  rR  Nr  r  r3   r3   r4   modify_capability_async  r  zAccount.modify_capability_asyncr  c                 K   rt  )
        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   rl  #/v1/accounts/{account}/capabilitiesrx  rR  ry  r{  r3   r3   r4   list_capabilities  r}  zAccount.list_capabilitiesc                    r  )r  r   rl  r  rx  rR  Nr  r{  r3   r3   r4   list_capabilities_async  r  zAccount.list_capabilities_asyncr  c                 K   rt  )A
        Create an external account for a given account.
        rG  rQ  (/v1/accounts/{account}/external_accountsrx  rR  r   r   rS  rz  r   r{  r3   r3   r4   create_external_account  s   	zAccount.create_external_accountc                    r  )r  rG  rQ  r  rx  rR  Nr   r   rX  rz  r   r{  r3   r3   r4   create_external_account_async  s   	
z%Account.create_external_account_asyncrA  c                 K   ,   t td | jddjt|t|d|dS )L
        Retrieve a specified external account for a given account.
        rG  rl  -/v1/accounts/{account}/external_accounts/{id}r&   rJ  rR  r  rV  r&   rJ  rN  r3   r3   r4   retrieve_external_account      
z!Account.retrieve_external_accountc                    4   t td | jddjt|t|d|dI dH S )r  rG  rl  r  r  rR  Nr  r  r3   r3   r4   retrieve_external_account_async     

z'Account.retrieve_external_account_asyncr  c                 K   r  )  
        Updates the metadata, account holder name, account holder type of a bank account belonging to
        a connected account and optionally sets it as the default for its currency. Other bank account
        details are not editable by design.

        You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection).

        You can re-enable a disabled bank account by performing an update call without providing any
        arguments or changes.
        rG  rQ  r  r  rR  r  r  r3   r3   r4   modify_external_account*  s   zAccount.modify_external_accountc                    r  )r  rG  rQ  r  r  rR  Nr  r  r3   r3   r4   modify_external_account_asyncF  s   
z%Account.modify_external_account_asyncr  c                 K   r  )J
        Delete a specified external account for a given account.
        rG  r]  r  r  rR  r  r  r3   r3   r4   delete_external_accountb  r  zAccount.delete_external_accountc                    r  )r  rG  r]  r  r  rR  Nr  r  r3   r3   r4   delete_external_account_asyncw  r  z%Account.delete_external_account_asyncr  c                 K   s*   t ttd  | jddjt|d|dS )8
        List external accounts for an account.
        rG  rl  r  rx  rR  )r   r   r   rS  rz  r   r{  r3   r3   r4   list_external_accounts  s   	
zAccount.list_external_accountsc                    s2   t ttd  | jddjt|d|dI dH S )r  rG  rl  r  rx  rR  N)r   r   r   rX  rz  r   r{  r3   r3   r4   list_external_accounts_async  s   	

z$Account.list_external_accounts_asyncr  r   c                 K   r  )  
        Creates a single-use login link for a connected account to access the Express Dashboard.

        You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
        r   rQ  "/v1/accounts/{account}/login_linksrx  rR  r  r{  r3   r3   r4   create_login_link  r  zAccount.create_login_linkc                    r  )r  r   rQ  r  rx  rR  Nr  r{  r3   r3   r4   create_login_link_async  r  zAccount.create_login_link_asyncr  c                 K   r  )'
        Creates a new person.
        r	   rQ  rw  rx  rR  r  r{  r3   r3   r4   create_person  s   zAccount.create_personc                    r  )r  r	   rQ  rw  rx  rR  Nr  r{  r3   r3   r4   create_person_async  s   
zAccount.create_person_asyncr$   rC  c                 K   r  )/
        Retrieves an existing person.
        r	   rl  '/v1/accounts/{account}/persons/{person}r&   r$   rR  r  rV  r&   r$   rN  r3   r3   r4   retrieve_person      
zAccount.retrieve_personc                    r  )r  r	   rl  r  r  rR  Nr  r  r3   r3   r4   retrieve_person_async     

zAccount.retrieve_person_asyncr  c                 K   r  )-
        Updates an existing person.
        r	   rQ  r  r  rR  r  r  r3   r3   r4   modify_person*  r  zAccount.modify_personc                    r  )r  r	   rQ  r  r  rR  Nr  r  r3   r3   r4   modify_person_async?  r  zAccount.modify_person_asyncr  c                 K   r  )A  
        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  rR  r  r  r3   r3   r4   delete_personT  r  zAccount.delete_personc                    r  )r  r	   r]  r  r  rR  Nr  r  r3   r3   r4   delete_person_asynci  r  zAccount.delete_person_asyncr  c                 K   rt  ru  ry  r{  r3   r3   r4   list_persons~  r}  zAccount.list_personsc                    r  r  r  r{  r3   r3   r4   list_persons_async  r  zAccount.list_persons_async)r  r  r  r  rI  rL  r  rZ  r  )rO  r%   )r-   r.   r/   __doc__r'   r   r   r1   r   rQ   r   r   r   rM  rO  r  rY  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*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r>  r?  r@  rA  rC  rE  rG  rK  rN  rO  rP  r`  rb  rc  rd  re  rf  rg  rh  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  r#  r%  r&  r'  r(  r)  r*  r.  r/  r0  r1  r2  r3  r6  r7  r8  r;  r<  r>  r@  rB  rD  r   r   r2   r0   r   r   r   classmethodr   rW  rY  r_  r   staticmethodr]  r   rg  ri  rr  rs  r|  r  r  r  r  r  r  r  r  r  r  r  r  rf  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  rP   __classcell__r3   r3   r  r4   r%   !   sP  
 
b [ c-   =S4
  R
,b

 
v

Fv




""
"


r%   N)4stripe._createable_api_resourcer   stripe._deletable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   %stripe._nested_resource_class_methodsr   stripe._oauthr   stripe._personr	   stripe._request_optionsr
   stripe._stripe_objectr   stripe._updateable_api_resourcer   stripe._utilr   r   typingr   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   stripe._bank_accountr   stripe._capabilityr   stripe._cardr   stripe._filer   stripe._login_linkr   stripe._tax_idr    r%   r3   r3   r3   r4   <module>   s>   $
