#fredrik-b_api

1 messages ¡ Page 1 of 1 (latest)

urban muskBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1351916658050207817

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

eternal badger
#

I need it because if there is an error at creating stripe account and somehow the stripe account id is not stored, i need to get it somehow

vapid pilot
eternal badger
#

You should fix that, should be able to just find it by email, thats a lot of pagination, having million users

#

becomes too my req? is this something normal people do?

#

Yes obviously we save it with a webhook, but should that webhook not work, then its all screwed

vapid pilot
#

They typically store this information in their database.

eternal badger
#

should the user try to register and it doesnt work because of some error with the webhook, then dont come back to the site for months, then that function wont work either

vapid pilot
#

I don't follow, are you able to reword this please?

eternal badger
#

Yes

#

You said "API to list the accounts from the specific date the account was created for instance" but let's say the user wont use MY site for months after he realize the stripe account did not update correctly (i was not able to save the acc id for some reason, could be so many small issue reasons I can't control, like the computer dies, electric going off, whatever it is, internet dies)... So the user gets angry and wont return to my site for months, then my function to find it as you instructed by created date would not work because its been several months... or you maybe meant I have to somehow create a date in my database when he tries to create stripe, to use should it not work?

urban muskBOT
vapid pilot
#

You could do a periodic List Call and use the pagination function. Your feedback is fair to be able to filter accounts by the email address so I will share that with the product owning team

#

This is not a guarantee that it will changed any time soon but do know that the team reviews these feedback seriously

eternal badger
#

yeah, i still need a solution today haha, but good that you realize the dire situation

vapid pilot
#

The solution today is to use the list accounts, and use auto pagination

eternal badger
#

Ok, I will look into that, thank you