#kr_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1228155159557705749
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Ok, so basically you want to connect to an existing stripe account?
Yes
https://docs.stripe.com/connect/oauth-standard-accounts you need to this use OAuth flow to connect the account to your platform
Maybe I'm not explaining correctly. Our platform will have a signup form (to get enrolled into our platform). Some of our clubs will require a payment up front so we want to be able to collect payment for their players but the payment will go directly to the club. We bill our clients another way based on number of players.
The club has its own stripe account. I just don't know how they give us permission to send a direct charge to them. I saw one example that used a restricted api key but never saw how that would be used in our platform.
You need to connect to the account first (i.e., through OAuth) so that you can create API request on behalf of them https://docs.stripe.com/connect/authentication
And no, you should never store a secret key from another account. You should always your own Stripe API secret key.
Right. I have that key. The question is how are they a connected account? Do I add them? Or do they add me on their end? Obviously I can't just pick random accounts and send direct charges to them.
Have you checked the OAuth doc that I shared earlier? It tells you how to connect an existing account through OAuth.
So the club admin would do this process? A club might have 500 players signing up. The club is the entity with the stripe account.
No, it's the platform who should set up this process.