
    Chó                        S SK r S SKJr  S SKJrJrJrJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJr  S SKJrJr  S S	KJr  S S
KJrJrJr  S SKJr  S SKJr  S SKJr  S SKJ r J!r!J"r"  S SK#J$r$J%r%  S SK&J'r'  S SK(J)r)  S SK*J+r+J,r,J-r-J.r.J/r/  S SK0J1r1  S SK2J3r3  S SK4J5r5  S SK6J7r7  S SK8J9r9  S SK:J;r;  S SK<J=r=  S SK>J?r?  S SK@JArA  S SKBJCrC  S SKDJErE  S SKFJGrG  S SKHJIrI  S S KJJKrK  S S!KLJMrM  S S"KNJOrO  S S#KPJQrQ  S S$KRJSrS  S S%KTJUrU  S S&KVJWrW  S S'KXJYrY  S S(KZJ[r[  S S)K\J]r]  S S*K^J_r_  S S+K`Jara  S S,KbJcrc  S S-KdJere  S S.KfJgrg  S S/KhJiri  S S0KjJkrk  S S1KlJmrm  S S2KnJoro  S S3KpJqrq  S S4KrJsrs  S S5KtJuru  S S6KvJwrw  S S7KxJyry  S S8KzJ{r{  S S9K|J}r}  S S:K~Jr  S S;KJr  S S<KJr  S S=KJr  S S>KJr  S S?KJr  S S@KJr  S SAKJr  S SBKJr  S SCKJr  S SDKJr  S SEKJr  S SFKJr  S SGKJr  S SHKJr  S SIKJr  S SJKJr  S SKKJr  S SLKJr  S SMKJr  S SNKJr  S SOKJr  S SPKJr  S SQKJr  S SRKJr  S SSKJr  S STKJr  S SUKJr  S SVKJr  S SWKJr  S SXKJr  S SYKJr  S SZKJr   " S[ S\\5      rg)]    N)OrderedDict)DEFAULT_API_BASEDEFAULT_CONNECT_API_BASEDEFAULT_UPLOAD_API_BASEDEFAULT_METER_EVENTS_API_BASE)ApiMode)AuthenticationError)_APIRequestor)extract_options_from_dict)RequestorOptionsBaseAddresses)_ClientOptions)
HTTPClientnew_default_http_clientnew_http_client_async_fallback)_ApiVersion)StripeObject)StripeResponse)_convert_to_stripe_objectget_api_mode
deprecated)WebhookWebhookSignature)Event)	ThinEvent)AnyDictOptionalUnioncast)OAuthService)
V1Services)
V2Services)AccountService)AccountLinkService)AccountSessionService)ApplePayDomainService)ApplicationFeeService)AppsService)BalanceService)BalanceTransactionService)BillingService)BillingPortalService)ChargeService)CheckoutService)ClimateService)ConfirmationTokenService)CountrySpecService)CouponService)CreditNoteService)CustomerService)CustomerSessionService)DisputeService)EntitlementsService)EphemeralKeyService)EventService)ExchangeRateService)FileService)FileLinkService)FinancialConnectionsService)ForwardingService)IdentityService)InvoiceService)InvoiceItemService)InvoicePaymentService)InvoiceRenderingTemplateService)IssuingService)MandateService)PaymentIntentService)PaymentLinkService)PaymentMethodService)!PaymentMethodConfigurationService)PaymentMethodDomainService)PayoutService)PlanService)PriceService)ProductService)PromotionCodeService)QuoteService)RadarService)RefundService)ReportingService)ReviewService)SetupAttemptService)SetupIntentService)ShippingRateService)SigmaService)SourceService)SubscriptionService)SubscriptionItemService)SubscriptionScheduleService)
TaxService)TaxCodeService)TaxIdService)TaxRateService)TerminalService)TestHelpersService)TokenService)TopupService)TransferService)TreasuryService)WebhookEndpointServicec                      \ rS rSrSSS0 SSSSSS.	S\S\\   S\\   S\\   S	\S
\\   S\S\\   S\\   S\\	   4S jjr
\R                  4S\\\\4   S\S\S\S\4
S jjr\R                  4S\\\4   S\S\S\S\4
S jjrS\S\4S jrS\S\4S jr SfS\\\\\4   4   S\\\\4      S\S\4S jjr\S\4S  j5       r\S\4S! j5       r \S\!4S" j5       r"\S\#4S# j5       r$\S\%4S$ j5       r&\S\'4S% j5       r(\S\)4S& j5       r*\S\+4S' j5       r,\S\-4S( j5       r.\S\/4S) j5       r0\S\14S* j5       r2\S\34S+ j5       r4\S\54S, j5       r6\S\74S- j5       r8\S\94S. j5       r:\S\;4S/ j5       r<\S\=4S0 j5       r>\S\?4S1 j5       r@\S\A4S2 j5       rB\S\C4S3 j5       rD\S\E4S4 j5       rF\S\G4S5 j5       rH\S\I4S6 j5       rJ\S\K4S7 j5       rL\S\M4S8 j5       rN\S\O4S9 j5       rP\S\Q4S: j5       rR\S\S4S; j5       rT\S\U4S< j5       rV\S\W4S= j5       rX\S\Y4S> j5       rZ\S\[4S? j5       r\\S\]4S@ j5       r^\S\_4SA j5       r`\S\a4SB j5       rb\S\c4SC j5       rd\S\e4SD j5       rf\S\g4SE j5       rh\S\i4SF j5       rj\S\k4SG j5       rl\S\m4SH j5       rn\S\o4SI j5       rp\S\q4SJ j5       rr\S\s4SK j5       rt\S\u4SL j5       rv\S\w4SM j5       rx\S\y4SN j5       rz\S\{4SO j5       r|\S\}4SP j5       r~\S\4SQ j5       r\S\4SR j5       r\S\4SS j5       r\S\4ST j5       r\S\4SU j5       r\S\4SV j5       r\S\4SW j5       r\S\4SX j5       r\S\4SY j5       r\S\4SZ j5       r\S\4S[ j5       r\S\4S\ j5       r\S\4S] j5       r\S\4S^ j5       r\S\4S_ j5       r\S\4S` j5       r\S\4Sa j5       r\S\4Sb j5       r\S\4Sc j5       r\S\4Sd j5       rSerg)gStripeClientt   NT)	stripe_accountstripe_contextstripe_versionbase_addresses	client_idverify_ssl_certsproxymax_network_retrieshttp_clientapi_keyrl   rm   rn   ro   rp   rq   rr   rs   rt   c       	   	         Uc  [        S5      eU
(       a  U(       d  USLa  [        S5      e[        [        [        [
        S.UEn[        UUUU=(       d    [        R                  UU	S9nU
c  [        [        XS9UUS9n
[        UU
S9U l        [        UUUS	9U l        [        U R                  U R                  5      U l        [#        U R                  5      U l        ['        U R                  5      U l        g )
NzNo API key provided. (HINT: set your API key using "client = stripe.StripeClient(<API-KEY>)"). You can generate API keys from the Stripe web interface. See https://stripe.com/api for details, or email support@stripe.com if you have any questions.TzYou cannot specify `proxy` or `verify_ssl_certs` when passing in a custom `http_client`. Please set these values on your custom `http_client` instead.)apiconnectfilesmeter_events)ru   rl   rm   rn   ro   rs   )rr   rq   )async_fallback_clientrr   rq   )optionsclient)rp   rr   rq   )r	   
ValueErrorr   r   r   r   r   r   CURRENTr   r   r
   
_requestorr   _optionsr!   oauthr"   v1r#   v2)selfru   rl   rm   rn   ro   rp   rq   rr   rs   rt   requestor_optionss               X/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_stripe_client.py__init__StripeClient.__init__u   s    ?%@  E%5T%A0  $/,9	

 
 -)))@[-@-@) 3
 1&D' !1K (%

 '-
 "$//4==A
 T__-T__-    raw
sig_headersecret	tolerancereturnc                     [        US5      (       a,  [        [        [        [        4   U5      R                  S5      O[        [        U5      n[        R                  " XRX45        [        U5      $ )Ndecodeutf-8)
hasattrr    r   bytes	bytearrayr   strr   verify_headerr   )r   r   r   r   r   payloads         r   parse_thin_eventStripeClient.parse_thin_event   s]     sH%% ui'(#.55g>c3 	 	&&wFN!!r   r   c                    [        US5      (       a  [        [        U5      R                  S5      n[        R
                  " XX45        [        R                  " U[        S9n[        R                  " UU R                  SS9nU$ )Nr   r   )object_pairs_hookV1)values	requestorapi_mode)r   r    r   r   r   r   jsonloadsr   r   _construct_fromr   )r   r   r   r   r   dataevents          r   construct_eventStripeClient.construct_event   sl     7H%%5'*11':G&&wFNzz'[A%%oo
 r   method_url_c           
         UR                  5       n[        U5      u  pC[        U5      nUR                  SS5      nUR                  SS 5      nUbE  UR	                  S0 5      US'   [        US   [        5      (       d   eUS   R                  SU05        U R                  R                  UUUUUUS/S9u  pn
U R                  R                  XX5      $ )Nbaserw   rm   headerszStripe-Contextraw_requestparamsr|   base_addressr   usage)copyr   r   popget
isinstancedictupdater   request_raw_interpret_response)r   r   r   r   r|   r   r   rm   rbodyrcoderheaderss              r   r   StripeClient.raw_request   s    3F;%zz&%0$4d; %!(Y!;GIgi0$7777I%%'7&HI!%!<!<% / "= "
h 22(
 	
r   c           
        #    UR                  5       n[        U5      u  pC[        U5      nUR                  SS5      nU R                  R                  UUUUUUS/S9I S h  vN u  pxn	U R                  R                  XxX5      $  N#7f)Nr   rw   r   r   )r   r   r   r   r   request_raw_asyncr   )
r   r   r   r   r|   r   r   r   r   r   s
             r   raw_request_asyncStripeClient.raw_request_async  s     3F;%zz&%0'+'H'H% / (I (
 "
h 22(
 	
"
s   AB B!$Brespr   r   c                .    [        UUU R                  US9$ )N)r   r   r   r   )r   r   )r   r   r   r   s       r   deserializeStripeClient.deserialize  s!     )oo	
 	
r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.accounts will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.accounts.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   accountsr   s    r   r   StripeClient.accounts*       wwr   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.account_links will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.account_links.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   account_linksr   s    r   r   StripeClient.account_links4       ww$$$r   c                 .    U R                   R                  $ )a^  
Deprecation Warning:
  StripeClient.account_sessions will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.account_sessions.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   account_sessionsr   s    r   r   StripeClient.account_sessions>       ww'''r   c                 .    U R                   R                  $ )a`  
Deprecation Warning:
  StripeClient.apple_pay_domains will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.apple_pay_domains.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   apple_pay_domainsr   s    r   r   StripeClient.apple_pay_domainsH       ww(((r   c                 .    U R                   R                  $ )a^  
Deprecation Warning:
  StripeClient.application_fees will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.application_fees.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   application_feesr   s    r   r   StripeClient.application_feesR  r   r   c                 .    U R                   R                  $ )aF  
Deprecation Warning:
  StripeClient.apps will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.apps.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   appsr   s    r   r   StripeClient.apps\  s     ww||r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.balance will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.balance.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   balancer   s    r   r   StripeClient.balancef       wwr   c                 .    U R                   R                  $ )af  
Deprecation Warning:
  StripeClient.balance_transactions will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.balance_transactions.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   balance_transactionsr   s    r   r   !StripeClient.balance_transactionsp  s     ww+++r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.billing will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.billing.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   billingr   s    r   r   StripeClient.billingz  r   r   c                 .    U R                   R                  $ )aZ  
Deprecation Warning:
  StripeClient.billing_portal will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.billing_portal.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   billing_portalr   s    r   r   StripeClient.billing_portal       ww%%%r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.charges will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.charges.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   chargesr   s    r   r   StripeClient.charges  r   r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.checkout will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.checkout.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   checkoutr   s    r   r   StripeClient.checkout  r   r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.climate will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.climate.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   climater   s    r   r   StripeClient.climate  r   r   c                 .    U R                   R                  $ )ad  
Deprecation Warning:
  StripeClient.confirmation_tokens will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.confirmation_tokens.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   confirmation_tokensr   s    r   r    StripeClient.confirmation_tokens  s     ww***r   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.country_specs will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.country_specs.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   country_specsr   s    r   r   StripeClient.country_specs  r   r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.coupons will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.coupons.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   couponsr   s    r   r   StripeClient.coupons  r   r   c                 .    U R                   R                  $ )aV  
Deprecation Warning:
  StripeClient.credit_notes will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.credit_notes.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   credit_notesr   s    r   r   StripeClient.credit_notes       ww###r   c                 .    U R                   R                  $ )aP  
Deprecation Warning:
  StripeClient.customers will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.customers.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   	customersr   s    r   r  StripeClient.customers       ww   r   c                 .    U R                   R                  $ )a`  
Deprecation Warning:
  StripeClient.customer_sessions will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.customer_sessions.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   customer_sessionsr   s    r   r  StripeClient.customer_sessions  r   r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.disputes will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.disputes.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   disputesr   s    r   r	  StripeClient.disputes  r   r   c                 .    U R                   R                  $ )aV  
Deprecation Warning:
  StripeClient.entitlements will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.entitlements.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   entitlementsr   s    r   r  StripeClient.entitlements  r   r   c                 .    U R                   R                  $ )aZ  
Deprecation Warning:
  StripeClient.ephemeral_keys will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.ephemeral_keys.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   ephemeral_keysr   s    r   r  StripeClient.ephemeral_keys  r   r   c                 .    U R                   R                  $ )aJ  
Deprecation Warning:
  StripeClient.events will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.events.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   eventsr   s    r   r  StripeClient.events       ww~~r   c                 .    U R                   R                  $ )aZ  
Deprecation Warning:
  StripeClient.exchange_rates will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.exchange_rates.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   exchange_ratesr   s    r   r  StripeClient.exchange_rates  r   r   c                 .    U R                   R                  $ )aH  
Deprecation Warning:
  StripeClient.files will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.files.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   ry   r   s    r   ry   StripeClient.files       ww}}r   c                 .    U R                   R                  $ )aR  
Deprecation Warning:
  StripeClient.file_links will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.file_links.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   
file_linksr   s    r   r  StripeClient.file_links$       ww!!!r   c                 .    U R                   R                  $ )ah  
Deprecation Warning:
  StripeClient.financial_connections will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.financial_connections.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   financial_connectionsr   s    r   r   "StripeClient.financial_connections.  s     ww,,,r   c                 .    U R                   R                  $ )aR  
Deprecation Warning:
  StripeClient.forwarding will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.forwarding.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   
forwardingr   s    r   r#  StripeClient.forwarding8  r  r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.identity will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.identity.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   identityr   s    r   r&  StripeClient.identityB  r   r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.invoices will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.invoices.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   invoicesr   s    r   r)  StripeClient.invoicesL  r   r   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.invoice_items will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.invoice_items.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   invoice_itemsr   s    r   r,  StripeClient.invoice_itemsV  r   r   c                 .    U R                   R                  $ )a^  
Deprecation Warning:
  StripeClient.invoice_payments will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.invoice_payments.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   invoice_paymentsr   s    r   r/  StripeClient.invoice_payments`  r   r   c                 .    U R                   R                  $ )at  
Deprecation Warning:
  StripeClient.invoice_rendering_templates will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.invoice_rendering_templates.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   invoice_rendering_templatesr   s    r   r2  (StripeClient.invoice_rendering_templatesj  s     ww222r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.issuing will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.issuing.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   issuingr   s    r   r5  StripeClient.issuingt  r   r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.mandates will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.mandates.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   mandatesr   s    r   r8  StripeClient.mandates~  r   r   c                 .    U R                   R                  $ )a\  
Deprecation Warning:
  StripeClient.payment_intents will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payment_intents.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payment_intentsr   s    r   r;  StripeClient.payment_intents       ww&&&r   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.payment_links will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payment_links.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payment_linksr   s    r   r?  StripeClient.payment_links  r   r   c                 .    U R                   R                  $ )a\  
Deprecation Warning:
  StripeClient.payment_methods will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payment_methods.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payment_methodsr   s    r   rB  StripeClient.payment_methods  r=  r   c                 .    U R                   R                  $ )ax  
Deprecation Warning:
  StripeClient.payment_method_configurations will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payment_method_configurations.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payment_method_configurationsr   s    r   rE  *StripeClient.payment_method_configurations  s     ww444r   c                 .    U R                   R                  $ )aj  
Deprecation Warning:
  StripeClient.payment_method_domains will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payment_method_domains.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payment_method_domainsr   s    r   rH  #StripeClient.payment_method_domains       ww---r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.payouts will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.payouts.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   payoutsr   s    r   rL  StripeClient.payouts  r   r   c                 .    U R                   R                  $ )aH  
Deprecation Warning:
  StripeClient.plans will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.plans.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   plansr   s    r   rO  StripeClient.plans  r  r   c                 .    U R                   R                  $ )aJ  
Deprecation Warning:
  StripeClient.prices will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.prices.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   pricesr   s    r   rR  StripeClient.prices  r  r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.products will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.products.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   productsr   s    r   rU  StripeClient.products  r   r   c                 .    U R                   R                  $ )a\  
Deprecation Warning:
  StripeClient.promotion_codes will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.promotion_codes.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   promotion_codesr   s    r   rX  StripeClient.promotion_codes  r=  r   c                 .    U R                   R                  $ )aJ  
Deprecation Warning:
  StripeClient.quotes will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.quotes.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   quotesr   s    r   r[  StripeClient.quotes  r  r   c                 .    U R                   R                  $ )aH  
Deprecation Warning:
  StripeClient.radar will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.radar.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   radarr   s    r   r^  StripeClient.radar  r  r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.refunds will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.refunds.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   refundsr   s    r   ra  StripeClient.refunds  r   r   c                 .    U R                   R                  $ )aP  
Deprecation Warning:
  StripeClient.reporting will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.reporting.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   	reportingr   s    r   rd  StripeClient.reporting  r  r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.reviews will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.reviews.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   reviewsr   s    r   rg  StripeClient.reviews  r   r   c                 .    U R                   R                  $ )aZ  
Deprecation Warning:
  StripeClient.setup_attempts will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.setup_attempts.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   setup_attemptsr   s    r   rj  StripeClient.setup_attempts   r   r   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.setup_intents will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.setup_intents.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   setup_intentsr   s    r   rm  StripeClient.setup_intents*  r   r   c                 .    U R                   R                  $ )aZ  
Deprecation Warning:
  StripeClient.shipping_rates will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.shipping_rates.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   shipping_ratesr   s    r   rp  StripeClient.shipping_rates4  r   r   c                 .    U R                   R                  $ )aH  
Deprecation Warning:
  StripeClient.sigma will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.sigma.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   sigmar   s    r   rs  StripeClient.sigma>  r  r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.sources will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.sources.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   sourcesr   s    r   rv  StripeClient.sourcesH  r   r   c                 .    U R                   R                  $ )aX  
Deprecation Warning:
  StripeClient.subscriptions will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.subscriptions.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   subscriptionsr   s    r   ry  StripeClient.subscriptionsR  r   r   c                 .    U R                   R                  $ )ab  
Deprecation Warning:
  StripeClient.subscription_items will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.subscription_items.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   subscription_itemsr   s    r   r|  StripeClient.subscription_items\  s     ww)))r   c                 .    U R                   R                  $ )aj  
Deprecation Warning:
  StripeClient.subscription_schedules will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.subscription_schedules.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   subscription_schedulesr   s    r   r  #StripeClient.subscription_schedulesf  rJ  r   c                 .    U R                   R                  $ )aD  
Deprecation Warning:
  StripeClient.tax will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.tax.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   taxr   s    r   r  StripeClient.taxp  s     ww{{r   c                 .    U R                   R                  $ )aP  
Deprecation Warning:
  StripeClient.tax_codes will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.tax_codes.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   	tax_codesr   s    r   r  StripeClient.tax_codesz  r  r   c                 .    U R                   R                  $ )aL  
Deprecation Warning:
  StripeClient.tax_ids will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.tax_ids.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   tax_idsr   s    r   r  StripeClient.tax_ids  r   r   c                 .    U R                   R                  $ )aP  
Deprecation Warning:
  StripeClient.tax_rates will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.tax_rates.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   	tax_ratesr   s    r   r  StripeClient.tax_rates  r  r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.terminal will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.terminal.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   terminalr   s    r   r  StripeClient.terminal  r   r   c                 .    U R                   R                  $ )aV  
Deprecation Warning:
  StripeClient.test_helpers will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.test_helpers.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   test_helpersr   s    r   r  StripeClient.test_helpers  r   r   c                 .    U R                   R                  $ )aJ  
Deprecation Warning:
  StripeClient.tokens will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.tokens.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   tokensr   s    r   r  StripeClient.tokens  r  r   c                 .    U R                   R                  $ )aJ  
Deprecation Warning:
  StripeClient.topups will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.topups.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   topupsr   s    r   r  StripeClient.topups  r  r   c                 .    U R                   R                  $ )aP  
Deprecation Warning:
  StripeClient.transfers will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.transfers.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   	transfersr   s    r   r  StripeClient.transfers  r  r   c                 .    U R                   R                  $ )aN  
Deprecation Warning:
  StripeClient.treasury will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.treasury.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   treasuryr   s    r   r  StripeClient.treasury  r   r   c                 .    U R                   R                  $ )a`  
Deprecation Warning:
  StripeClient.webhook_endpoints will be deprecated in the next major release.
  All functionality under it has been copied over to StripeClient.v1.webhook_endpoints.
  See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace.
)r   webhook_endpointsr   s    r   r  StripeClient.webhook_endpoints  r   r   )r   r   r   r   r   )N)__name__
__module____qualname____firstlineno__r   r   r   boolintr   r   r   DEFAULT_TOLERANCEr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   propertyr$   r   r%   r   r&   r   r'   r   r(   r   r)   r   r*   r   r+   r   r,   r   r-   r   r.   r   r/   r   r0   r   r1   r   r2   r   r3   r   r4   r   r5   r  r6   r  r7   r	  r8   r  r9   r  r:   r  r;   r  r<   ry   r=   r  r>   r   r?   r#  r@   r&  rA   r)  rB   r,  rC   r/  rD   r2  rE   r5  rF   r8  rG   r;  rH   r?  rI   rB  rJ   rE  rK   rH  rL   rL  rM   rO  rN   rR  rO   rU  rP   rX  rQ   r[  rR   r^  rS   ra  rT   rd  rU   rg  rV   rj  rW   rm  rX   rp  rY   rs  rZ   rv  r[   ry  r\   r|  r]   r  r^   r  r_   r  r`   r  ra   r  rb   r  rc   r  rd   r  re   r  rf   r  rg   r  rh   r  __static_attributes__ r   r   rj   rj   t   s!	   
 )-(,(,(*#'!%#-1,0J.J. !	J.
 !J. !J. &J. C=J. J. }J. &c]J. j)J.d !22"5#y()" " 	"
 " 
", !22ucz"  	
  
*
3 
c 
>
s 
# 
. ,0
NDcN23
 c3h(

 
 

  .     %1 % % ("7 ( ( )#8 ) ) ("7 ( ( k      ,&? , ,    & 4 & &     /        +%= + + %1 % %    $/ $ $ !? ! ! )#9 ) )  .     $1 $ $ & 3 & &    & 3 & & {   "O " " -'B - - "- " "  /      .     %1 % % ("7 ( ( 3-L 3 3     .     '!5 ' ' %1 % % '!5 ' ' 	5	*	5 	5 .(B . .    {       .     '!5 ' '    |      !+ ! !    & 3 & & %1 % % & 3 & & |      %2 % % *$; * * .(C . . Z   !> ! !    !> ! !  /     $0 $ $       !? ! !  /     )#9 ) )r   rj   )r   collectionsr   striper   r   r   r   stripe._api_moder   stripe._errorr	   stripe._api_requestorr
   stripe._request_optionsr   stripe._requestor_optionsr   r   stripe._client_optionsr   stripe._http_clientr   r   r   stripe._api_versionr   stripe._stripe_objectr   stripe._stripe_responser   stripe._utilr   r   r   stripe._webhookr   r   stripe._eventr   stripe.v2._eventr   typingr   r   r   r   r    stripe._oauth_servicer!   stripe._v1_servicesr"   stripe._v2_servicesr#   stripe._account_servicer$   stripe._account_link_servicer%   stripe._account_session_servicer&    stripe._apple_pay_domain_servicer'   stripe._application_fee_servicer(   stripe._apps_servicer)   stripe._balance_servicer*   #stripe._balance_transaction_servicer+   stripe._billing_servicer,   stripe._billing_portal_servicer-   stripe._charge_servicer.   stripe._checkout_servicer/   stripe._climate_servicer0   "stripe._confirmation_token_servicer1   stripe._country_spec_servicer2   stripe._coupon_servicer3   stripe._credit_note_servicer4   stripe._customer_servicer5    stripe._customer_session_servicer6   stripe._dispute_servicer7   stripe._entitlements_servicer8   stripe._ephemeral_key_servicer9   stripe._event_servicer:   stripe._exchange_rate_servicer;   stripe._file_servicer<   stripe._file_link_servicer=   %stripe._financial_connections_servicer>   stripe._forwarding_servicer?   stripe._identity_servicer@   stripe._invoice_servicerA   stripe._invoice_item_servicerB   stripe._invoice_payment_servicerC   *stripe._invoice_rendering_template_servicerD   stripe._issuing_servicerE   stripe._mandate_servicerF   stripe._payment_intent_servicerG   stripe._payment_link_servicerH   stripe._payment_method_servicerI   ,stripe._payment_method_configuration_servicerJ   %stripe._payment_method_domain_servicerK   stripe._payout_servicerL   stripe._plan_servicerM   stripe._price_servicerN   stripe._product_servicerO   stripe._promotion_code_servicerP   stripe._quote_servicerQ   stripe._radar_servicerR   stripe._refund_servicerS   stripe._reporting_servicerT   stripe._review_servicerU   stripe._setup_attempt_servicerV   stripe._setup_intent_servicerW   stripe._shipping_rate_servicerX   stripe._sigma_servicerY   stripe._source_servicerZ   stripe._subscription_servicer[   !stripe._subscription_item_servicer\   %stripe._subscription_schedule_servicer]   stripe._tax_servicer^   stripe._tax_code_servicer_   stripe._tax_id_servicer`   stripe._tax_rate_servicera   stripe._terminal_servicerb   stripe._test_helpers_servicerc   stripe._token_servicerd   stripe._topup_servicere   stripe._transfer_servicerf   stripe._treasury_servicerg    stripe._webhook_endpoint_servicerh   objectrj   r  r   r   <module>r     sH    #  % - / = E 1 
 , . 2 L L 5  & 3 3 / + * 2 ; A B A , 2 I 2 ? 0 4 2 G ; 0 9 4 C 2 < = . = , 5 M 8 4 2 ; A 3 2 ? ; ? M 0 , . 2 ? . . 0 6 0 = ; = . 0 < E M * 3 / 3 4 ; . . 4 4 Ch)6 h)r   