#mogilem_api

1 messages ¡ Page 1 of 1 (latest)

past kestrelBOT
#

👋 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/1398054087076876350

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

placid tangle
#

Hi there!

spring jetty
#

Hello! Love this server and that you guys have this

placid tangle
#

Thanks!

#

I'd be a little surprised if there isn't a limit, but I will have to look into that. How many accounts are you working with for a particular customer?

spring jetty
#

Right now, around 15?

#

Nothing crazy at the moment

#

However, I plan to have 50+ within the next year or so?

#

Possibly a lot more

#

Also, I assume displayname for the account is passed to you by the institution?

(I'm seeing checking #1, checking #2, which isn't very helpful)

placid tangle
#

Let me make sure I understand you - are you asking how many external accounts can be associated with an account holder/customer, or how many accounts can be connected to a given account holder/customer in a single Financial Connections session?

spring jetty
#

Within a single financial connections session

#

That said, I might not even be doing the best thing for my use case.

These are all bank accounts from a single user, myself. I had honestly hoped there would be a way to just make a financial connection for myself within the stripe dashboard and have access to all those accounts that way. Rather than pretending I'm an external user

placid tangle
#

what's the end goal? To have data from the accounts available?

spring jetty
#

Yeah, basically my banking service has neither webhooks nor an API. I need access to my own transaction data programmatically + some kind of webhook like functionality when a new transaction appears

#

Out of scope of this conversation, but the point is to automatically log and reconcile transactions in my property management software

placid tangle
#

Okay, understood, and so when you create a financial connections session, as in req_917PnIL1ycsWuv, in the financial connections UI, you are being presented with n accounts that can be connected, but you know there are n+x?

spring jetty
#

Let me re-do and confirm. Right now, the following is returning 10 when I expect more:

accounts = Stripe::FinancialConnections::Account.list(session: session.id).data

#

I'm learning as I go and did not capture the account created events when I initially made the connection

#

So I saw that the best way to recapture this data is to pull the session and get the accounts that way

placid tangle
#

I see 16 or 17 accounts connected for cus_Sjw39JAtrnMykI

#

look at the has_more property in the response. We don't save the responses to GET requests so I can't look at what we sent you

spring jetty
#

Yep okay, so I see all the accounts when linking, but not in that accounts call

and the respond after .list?

placid tangle
#

yeah, essentially accounts.has_more

#

or sorry, that's not right. You'd probably want to do something like

accountsList = Stripe::FinancialConnections::Account.list(session: session.id)

and then log out accountsList.has_more and then accountsList.data for the actual list