#kr_api

1 messages ¡ Page 1 of 1 (latest)

acoustic wigeonBOT
#

👋 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.

lapis bobcatBOT
rigid furnace
#

Ok, so basically you want to connect to an existing stripe account?

quick lark
#

Yes

rigid furnace
quick lark
#

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.

rigid furnace
#

And no, you should never store a secret key from another account. You should always your own Stripe API secret key.

quick lark
#

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.

rigid furnace
#

Have you checked the OAuth doc that I shared earlier? It tells you how to connect an existing account through OAuth.

quick lark
#

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.

rigid furnace
#

No, it's the platform who should set up this process.