#Cvijo
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi Tarzan sorry for late replay i have phone call
yes i see that object has secret
but on API documentation it say it will only be returen when you call create endpoint
indeed
problem is i am not sure if our clients will make them manually or anything so before our system crete new one i wanted to list endpoints and get secret if they are manually created before
so i cant get secret value from any other api call besides create ?
there's no reason for you to be accessing webhooks like this
who are your clients and what's the relationship there? If you're using Connect, you create an endpoint on your platform account, you don't interact with the connected account's endpoints directly.
hmm .. but i have to check with my system if they are already created and if i am saving good secret key for them on my system
we are selling our platform for rentacar agancies
so our clients use our system and stripe integration
we have 120 clients atm in 28 countries and i need to setup for each of them webhook endpoint in my system
clients ? rentacar agencies
clients = rentacar agency
they stupe in our system public key, secret key, but i wanted to set wh secret with api
and if they for some reason manually set this in dashboard i cant get secret for that hook with api
yeah that is not the right way to do it, you should be using Connect instead
you should not be building a platform based on having the user paste their API keys to you. Instead you should be using https://stripe.com/docs/connect/standard-accounts to connect Stripe accounts of the users, and using https://stripe.com/docs/connect/webhooks to listen to events on all the accounts.
i am not that familiar with connect
they dont paste it to me
they fill it inside our system
its like ERP SaSS web application that we build
and in setting they put those keys
so what you saying is we as developer company that doesnt use stripe have stripe account, and our clients will be connected-accounts ?
keep in mind we are just selling our software, we are not making any payments or anything with stripe
yes
well i will have to read documentation on that .. from our customers we got info that we have to connect to their stripe account
what does your software actually do with the user's Stripe accounts?
they charge rental cars, damages, trafic fines
and they use chekout form
so customer can pay before they come to pickup the car
so you are making payments
really your integration would just be https://stripe.com/docs/connect/enable-payment-acceptance-guide, you are enabling other Stripe accounts to take payments from end-customers by supplying the website and such, that is the guide for doing that
so far we are connecting each of our client that would like to use stripe with their own stripe account with their stripe account public key and secret key, and our backend dpending on client who is making request generate payment intents, insert customers in their customer list, save payment methods for later use etc.
ok i will sure have to read that .. as i said we got info from our customers what they need so we did it this way
btw. i can make checkout session for those connected accounts, in another words my stripe account can create checkout seassion in behalf of them so its like they are making it ?
yes
ok, thank you .. this might be a big change in our solution but should simply alot of things i guess
just one more question karllekko
we as main account i would say or i am not sure what phrase should i use .. we are not taking any fees or any money should end up in our account we are just middlewere to support stripe in our system without paying aynthing to stripe or without them paying anything to us.
you can be a platform (that's what it's called) and not take a cut of the payments yes, that's optional
all the processing fees are borne by the connected account, not you
and if i read correctly your documentation i will recive that payment and i need to transfer it to our connected account ?
not really no
you just call the API, the payment goes to the connected account. You can specify that you want some of that payment to be split to you as well, or you can not specify that
oh great