Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 734 Bytes

File metadata and controls

27 lines (18 loc) · 734 Bytes

create

Create an account link

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.

API Endpoint: POST /v1/account_links

Synchronous Client

from os import getenv
from sideko_stripe import Stripe

client = Stripe(token=getenv("API_TOKEN"))
res = client.account_link.create(account="string", type_="account_onboarding")

Asynchronous Client

from os import getenv
from sideko_stripe import AsyncStripe

client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.account_link.create(account="string", type_="account_onboarding")