#nsad_api
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nsad_api-account-support, 5 days ago, 8 messages
- nsad_api, 5 days ago, 16 messages
- nsad_api, 6 days ago, 16 messages
๐ 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/1239584450229047356
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hello
Can you provide a bit more information?
What does "i don't know if really are working" mean?
Of course, i am try to split payments in subscription
after create subscription, i create this:
stripe.Transfer.create(
amount=transfer_amount,
currency="brl",
destination="acct_1PFnznQ0MPA1mEEs",
source_transaction=charge_id,
)
but how i can verify if transfer the about correct in dashboard?
You can either look at your requests in the Dashboard or you can set a variable to the response for that method and log that variable afterward to inspect it.
You can then look up the Transfer ID in the Dashboard
Basically i enter in my connect account
was the 10% for value correct
but in my principal account just show the transfer_group
dont show transfer_amout inside payments page?
Do you have an example Transfer ID?
Based on what you are saying above it sounds like an issue with your transfer_amount variable in that case?
No, sorry, I don't understand
I need you to provide a specific example
Or a screenshot
Or more information
But just saying "it's not working" doesn't tell me anything really
Can you share the ID for that PaymentIntent?
It looks like pi_xxxx
In the top right
You are saying you expect there to be a Transfer shown directly associated with that PaymentIntent?
And you are confused why there is not one?
yes
Uhum...
That would only happen if you are creating a destination charge (see: https://stripe.com/docs/connect/destination-charges)
how i can do that inside subscription
You would use transfer_data: https://docs.stripe.com/api/subscriptions/create#create_subscription-transfer_data
but for example, stripe subscription create automatic
i need change something inside the checkout?
or i need modify subscription?
Oh you are using Stripe Checkout?
Ah yes you are
subscription_data.transfer_data when you create your Checkout Session
๐
Subscriptions are recurring
You can use test clocks to test that out: https://docs.stripe.com/billing/testing/test-clocks
Oh you mean the transfer?
yes
The transfers will be recurring as well
Change what?
for example, i wanna split in 3 first payments
after that dont transfer to connected account
need modify subscription?
remove transfer_data or something?
Ah then you would want a Subscription schedule: https://docs.stripe.com/billing/subscriptions/subscription-schedules
Or you would need to update the Subscription to remove transfer_data after first 3 payments
ok
last thing, how a account connected can access your account in stripe, because dont have password, when i use stripe.AccountLink
What type of Connected Account?
ok
i am create a affiliate system right?
after affiliate register in my software create this:
def create_affiliate(request):
account = stripe.Account.create(type="express", country="BR")
account_link = stripe.AccountLink.create(
account = account.id,
refresh_url="https://example.com/reauth",
return_url="https://example.com/return",
type="account_onboarding",
)
return redirect(account_link['url'])
Okay so it is an Express account
So they can login to their Express Dashboard via https://dashboard.stripe.com/login or you can send them to the Dashboard via a login link
Either works
If they have an Express account then they should have set up an email/password
ok i forgot this.
before the account are restrict
because my account needed confirm data, but now are working
๐
Is there any type of restriction for the affiliate after creating the account to start receiving?
like restrict? ou something?
Yeah the account has to be be enabled for Charges, so they need to be onboarded via: https://docs.stripe.com/connect/express-accounts
You can check the requirements hash on the account to see if they have outstanding requirements