#yoni_best-practices

1 messages ¡ Page 1 of 1 (latest)

woven peakBOT
#

👋 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/1397129169514790944

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

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.

velvet shell
#

yes indeed! I'm looking for the API like that. I checked network monitor but sadly that was just some ajax I couldn't relate to the C# SDK

lost crag
#

Happy to help!

velvet shell
#

but then what api should I use?

lost crag
#

That's not an API, that's from the Stripe Dashboard

velvet shell
#

yes I know, so the question is what API can I use in my code to trigger a disconnect

#

var accountService = new AccountService(_stripeClient);
await accountService.DeleteAsync(account.ProviderAccountId, new AccountDeleteOptions(), new RequestOptions() { StripeAccount = account.ProviderAccountId });

This is what I do now, but I am not sure if Delete is correct

lost crag
#

No there isn't

velvet shell
#

and is there a difference between delete and disconnect? Because the user should still be able to manage his payouts etc when we have disconnected it frmo our platform

lost crag
#

Yes sure, the delete action remove the account while disconnect just disconnects the connexion between your platform account and the connected account

velvet shell
#

hmm so what would be the advisable route if a user wants to stop using Stripe in our platform?

lost crag
#

If they are Standard Accounts, they can follow the link you shared above (via their Dashboard), otherwise, they reach out to you and you remove the connected from your Stripe Dashboard too.

velvet shell
#

aha OK, I will note the latter. Thanks