#shivam-sharma_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253224568198402048
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, I recommend that you start with https://stripe.com/connect.
Connect allows you to offer a marketplace like flow where your main account, the Platform can accept payments from cusomers and then payout funds to your connected accounts.
Can you explain me what is connected account and how does it works, for example I owns a business where i sell software solutions to other business.
Can you add more details to your business use case?
so for example I build chatbots and sell it to other business to integrate into their platform.
Who is paying for the services?
For an instance take the hospital chain Apollo, where they have integrated my chatbot into their platform where in chatbot they are using query solution appointment booking etc. Apollo would pay me for using my chatbot
So basically businesses pay me for my service it is B2B service.
Ah, in that case... connect would not be involved.
You should have an Account, and they pay you for yoru services
So the above is not applicable to you
okay, so about the GET API limit on transactions, is it 500 per transaction on platform right?
and mine would fall under platform category not connected accounts
No, in live mode you get 100 read operations and 100 write operations: https://docs.stripe.com/rate-limits
Yours would not be Platform as there are no connected accounts, yours would just be a normal Account.
Yes you are perfectly right that limit is per second.
But there is other section in this document
If I go according to this
"No, in live mode you get 100 read operations and 100 write operations: "
then I can make unlimited get operation for a month. But the screen shot that shared you it says something else.
This is talking about GET API requests to facilitate reasonable lookup activity related to payment integrations and not the GET requests you make explicitly
Can you please explain me more about reasonable lookup activity related to payment integrations.
and Does fetching invoices comes under this? Because what I am trying to do is tying to fetch all the invoices from my account.
That would be under the 100 read.
we were trying to hit the APIs under 100 read only
but after 999 calls the APIs dont respond
and they don't throw any error also
It is 100 requests per second. It sounds like you're trying to load test: https://docs.stripe.com/rate-limits#load-testing and we do not recommend that as this can be misleading in test mode.
It was not load test though, it was just trying to fetch the invoices and save it in our local database.
It was like, we were making calls and after sometimes it was getting stuck no responding, so we put a counter to get to know number of calls after it get stuck. So that counter was indicating that it made 999 calls to stripe api for invoices and in 1000th call it got stuck in call itself no response and no error code
Also we are using Java and OkHttpClient to make calls
Like the document mentions, you should not rely on this in test mode. We whare the recommendaiton here, https://docs.stripe.com/rate-limits#handling-limiting-gracefully on how to handle these errors gracefully.
Ok, thanks for the help, is fanything else comes up can i ping you here?
Feel free to submit the form on dev-help channel. We will be here!
Sure will do that