
    kh                     `    d dl mZ d dlmZmZ d dlmZmZmZ erd dl	m
Z
  G d ded         Zy)    )CreateableAPIResource)ClassVarcast)LiteralUnpackTYPE_CHECKING)AccountLinkCreateParamsc                       e Zd ZU dZdZeed      ed<   eed<   	 eed<   	 ed   ed<   	 e	ed<   	 e
ded	   d
d fd       Ze
ded	   d
d fd       Zy)AccountLinka  
    Account Links are the means by which a Connect platform grants a connected account permission to access
    Stripe-hosted applications, such as Connect Onboarding.

    Related guide: [Connect Onboarding](https://stripe.com/docs/connect/custom/hosted-onboarding)
    account_linkOBJECT_NAMEcreated
expires_atobjecturlparamsr	   returnc                 Z    t        d| j                  d| j                         |            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.
        r   postr   )r   _static_request	class_urlclsr   s     T/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/stripe/_account_link.pycreatezAccountLink.create'   s6        
 	
    c                 v   K   t        d| j                  d| j                         |       d{         S 7 w)r   r   r   r   N)r   _static_request_asyncr   r   s     r   create_asynczAccountLink.create_async7   sD      ++ ,  
 	
s   ,97
	9N)__name__
__module____qualname____doc__r   r   r   __annotations__intstrclassmethodr   r   r!    r   r   r   r      s     6DK'.12CL O N## 
H 
78
	
 
 
78
	
 
r   r   N)stripe._createable_api_resourcer   typingr   r   typing_extensionsr   r   r   )stripe.params._account_link_create_paramsr	   r   r*   r   r   <module>r/      s.    B ! < <
8
'6 8
r   