#nsad_api

1 messages ¡ Page 1 of 1 (latest)

scenic mothBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1237379423146082346

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

south gale
#

hi there!

#

I'm not sure I understand your question, can you clarify?

steel olive
#

Hello, my ideia is create affiliate and each affiliate can receive a comission from subscription

south gale
#

got it. so you need to use Stripe Connect, and each affiliate needs to have a Stripe account. you can learn more about this here: https://docs.stripe.com/connect

steel olive
#

yes, i make this:

    account = stripe.Account.create(type="express")
    account_link = stripe.AccountLink.create(
        account = account.id,
        refresh_url="https://example.com/reauth",
        return_url="https://example.com/return",
        type="account_onboarding",
    )
south gale
#

so what's your question?

steel olive
#

so i created account to affiliate, after affiliate complete the process, after completing the process, you are ready to receive commissions?

#

or can receive same dont finish the process?

south gale
#

I don't understand your quesiton. once the Express account has finished onboarding, then yes then can start to receive money.

steel olive
#

ok, so to transfer data to affiliate i try use stripe.Transfer

#

this is correct way?

#

or have any way to make this?

south gale