#senorkarlos
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- senorkarlos, 2 days ago, 75 messages
- senorkarlos, 6 days ago, 18 messages
Sorry about that! I completely missed your message
all good ๐ lol figured
I think I found one event to listen to for bank transfers, though I don't see the instant transfer fee on it
No idea where to see any fee events on my balance
Have you tried listing all the balance transactions for that payout? https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah, wait this is a manual payout
So that won't work
for extra context, I'm using Zapier for this stuff at the moment, if I can learn QBO API will probably make it part of my bot, but there's that too ๐
I've seen fees on charge transactions, but is there not just way to track what happens to the balance at any given moment? Where does Reports get it from kinda deal
ohhhhhhhhh
every payout has a list of crap attached to it
The specific issue here is that automatic payouts have transactions that are tied to them. Manual payouts don't
lol I'm just clicking anywhere in my account i can think of and finding more things... I also just realized that Zapier doesn't have an event type for payouts anyways.
Maybe I should take a look at QBO's API, I just learned a bunch from setting up Zaps LMAO
I guess we'd still need to solve this 'where the heck is the fees' thing in all cases though
LMAO the dashboard shows the 60 cent fee but none of the objects do, and the preceding fees get attached but cannot be displayed.
This feels very poorly designed ๐
Yeah a lot of these parts of our API are quite old, and get quite ocmpliacted
So basically the only 'automation' I can continue to look forward to is downloading and editing the hell out of CSV's and using the banking interface at QBO?
I really don't get how these fee charges aren't their own event or why I can't seem to access any balance transactions directly. I can see balance transaction IDs but no links to them in events or whatnot
Yeah there's no event for when new balance transactions are created unfortunately (I assume partly becausae of the sheer number of events that would generate).
Your best options would be to do some automation on your end (where you pull the balance transactions at some regular cadence)
Without the fee amounts anywhere in them (or some of them??), that's kinda useless, unless I'm missing something here - that's basically what I want LOL
oh mighta missed a link up there lemme go read that sry
but you did immediatley say it would still not work for instant payouts
If you were to list all your balance transactions you should still see which ones are fees - are you not seeing that at all?
I'll have to write a little function and do a test, again was trying to use Zapier for the time being LMAO - but that wont work as they are entirely event based
I think you have set me on the right path here anywho, I guess i can chat back in if I have more questions.
One quick one for the road though, can I use a similar 'for await' like the one I use for customer charge history to pull more than 100, and if so, how do I not get literally every transaction ever ๐
example in my current code:
for await (const charges of stripe_js.charges.list({ customer: customer.id, limit: 100 })) {
charge_list.push(charges);
}
or do i have to figure out classic pagination (and also how would I stop after a certain date then either way)
yes, you should be able to use a similar for await (we call it auto-pagination, and it should work for any of our list apis)
In terms of not pulling every transaction - i'd put a conditional in there to check for creation timestamp (or whatever you want) to break out of the loop
I was just thinking of that but you were typing.... what about an if and break eh ๐