#shreyjain

1 messages · Page 1 of 1 (latest)

misty tinselBOT
atomic garden
#

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?

edgy jungle
#

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?

atomic garden
#

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

edgy jungle
#

What would using stripe checkout here look like? Do you have some potential code bases or example apps I can look at?

misty tinselBOT
edgy jungle
#

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.