#nickdnk-payouts
1 messages ยท Page 1 of 1 (latest)
I did code for inverse payouts, i.e. bank transfers, but this is not that
I'm a little confused what's going on there
I can DM you a link to the PDF I'm creating if you need some context
Yeah these are pretty old so it may be tough to find out exactly what's going on - can you clarify a bit more what you mean by one payout being "contained" by the other? Are you making a specific API request (like listing the balance transactions for a payout https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout) that is tying the two together?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you accept me as friend I can DM you the file I'm making as it may help you understand hwat I'm doing
or whatever you need to do to accept DM
And basically if you browse the "contents" of po_1EIQUXInOrGZTwVITyzN9GjR
(it has like 800 lines)
you'll find po_1EIQUXInOrGZTwVITyzN9GjR in there deducting from the payout
Sorry, I don't accept DMs on Discord (I know some other folks do, but that's up to the individual)
but if you share as much information as you can here I can help!
Okay, I just can't share the lnk publicly
as it would be equivalent to sharing the dashboard breakdnwo of the payout
So I'm creating essentially a clone of what you see if you browse to the dashboard for po_1EIQUXInOrGZTwVITyzN9GjR
because, for some reason, Stripe won't let me download that entire breakdown as a PDF
So I figured I could code it. And I could, but it turned out to be a lot more complicated than I initially assumed because of cases like this
So now I'm left with a PDF that says:
grossed: 301,996.00kr
fees: -11,558.58kr
refunds: -3,400.00kr
net: 158,016.00kr
Because for some reason there are two "transfers" in the payout that deduct from the net
and I can't find out why
as you can tell, those numbers don't add up
one of those transfer objects is po_1CCn4jInOrGZTwVIkdzpV9KP
So I guess the question is: Is this something that could happen going forward or is this some legacy transfer logic?
I can look at the payout on my end so I think I have all the info I need ๐
and just to summarize, the issue here is that there are two extra "transfers" that also need to be subtracted from the gross amount to make the numbers add up, and you're not sure why that's the case
Yes
I don't know why those are not just separate payouts if they deduct from the amoount
Seems like a payout nested in a payout for some odd reason
I don't know how to code for that
And there are no failed payouts for that account at all, so it's not like it's a failed payout returned and wrapped in another attempt
I need to do a bit more digging, but do you happen to know if po_1CCn4jInOrGZTwVIkdzpV9KP was a manual payout?
it was
Aha
Okay
that makes sense
If you perform a manual payout, then that amount is obviously deducted from the upcoming automatic one
That's good because I was wondering how I could handle those cases as we use Standard Connect and cannot prevent people from doing manual payouts even though we highly discourage it
Awesome, I was hoping that po_1CCn4jInOrGZTwVIkdzpV9KP would be manual since that explains what's happening perfectly
๐
I think I have all the cases now
I just figured "gross - fee - refunds" and that would be quickly added up... now here I am 3 days later trying to handle dispute reversals, negative payouts and stripe software fees
But it's coming together nicely
thanks for helping
glad it wasn't anything too bad!
Followup. If a payout is in one currency, can I assume that all the items in a report for that payout are also in that currency?
if I read the currency and not customer_facing_currency columns
I'm actually heading out, but @fast ruin should be able to help you!
Cool
Hello ๐
Give me a moment to catch up ๐
Let me take a look as I'm not sure about this.
As far as my understanding goes about reports it should be in the same currency
Okay. because handling all this data with the currency varying for each line seems borderline impossible
payout_reconciliation.by_id.itemized.1 specifically
@wooden depot as far as I can gather, all balance transactions should be in the same currency as the Payout. The original transactions it points to like the Charge might not be. You probably should talk to our support team about this to make sure that's correct
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.