
    kh                     j    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
 e
rd dlmZ  G d de      Zy	)
    )AccountLink)RequestOptions)StripeService)Optionalcast)TYPE_CHECKING)AccountLinkCreateParamsc                   H    e Zd Z	 ddddee   defdZ	 ddddee   defdZy)	AccountLinkServiceNparamsr	   optionsreturnc           
      J    t        t        | j                  ddd||            S )
        Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.
        post/v1/account_linksapibase_addressr   r   )r   r   _requestselfr   r   s      \/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/stripe/_account_link_service.pycreatezAccountLinkService.create   s4     MM#"  	
 		
    c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r   r   r   r   r   N)r   r   _request_asyncr   s      r   create_asynczAccountLinkService.create_async#   sD      %%#" &  	
 		
s   $1/
	1)N)__name__
__module____qualname__r   r   r   r   r    r   r   r   r      sX     -1
)
 .)
 
	
, -1
)
 .)
 
	
r   r   N)stripe._account_linkr   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   )stripe.params._account_link_create_paramsr	   r   r"   r   r   <module>r)      s*    - 2 0 ! +
%
 %
r   