#Cvijo

1 messages ยท Page 1 of 1 (latest)

ruby vortexBOT
red field
#

๐Ÿ‘‹ happy to help

hushed trellis
#

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

rose cobalt
#

indeed

hushed trellis
#

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 ?

rose cobalt
#

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.

hushed trellis
#

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

rose cobalt
#

yeah that is not the right way to do it, you should be using Connect instead

hushed trellis
#

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

hushed trellis
#

well i will have to read documentation on that .. from our customers we got info that we have to connect to their stripe account

rose cobalt
hushed trellis
#

they charge rental cars, damages, trafic fines

#

and they use chekout form

#

so customer can pay before they come to pickup the car

rose cobalt
#

so you are making payments

hushed trellis
#

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 ?

rose cobalt
#

yes

hushed trellis
#

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.

rose cobalt
#

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

hushed trellis
#

and if i read correctly your documentation i will recive that payment and i need to transfer it to our connected account ?

rose cobalt
#

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

hushed trellis
#

oh great