#shreyjain
1 messages · Page 1 of 1 (latest)
Just to make sure I'm understanding - you're asking if there's a way for you to have access to your user's stripe accounts to do things like automatically create charges/send invoices, right? Would this be through the API or the dashboard?
Through an API!
Basically i would do like stripe.subscriptions.create, if my user wanted a specific tier to be created with a subscription on my user's behalf
Is best practice just to have my customer pass in a restricted key to me?
There's a couple of options here - you could ask for a restricted key, or you could look into using Stripe Connect (https://stripe.com/connect) which'll allow you to make requests on behalf or you connected accounts using your own stripe APi keys
What would using stripe checkout here look like? Do you have some potential code bases or example apps I can look at?
I get how stripe restricted keys would be helpful here, but wonder if stripe connect could be an easier time for my customers and if it'll be more secure.