#alli-payout-timeline
1 messages · Page 1 of 1 (latest)
I believe it's because you had a mix of manual and automatic payouts right around 1/9/24 - I believe tr_1OWV7cJxJIrs34m7zShu9RJN and tr_1OVeLMJxJIrs34m70MCba6TV were both pulled into the earlier manual payouts
But that manual payout failed (po_1OWXEEFPLlEQIsHH47UXQAzm), and was then eventually retried successfully as po_1OWs3uFPLlEQIsHH6cXyOHKh
so the failed manual payout was associated with the expected transfers, but then the successful retry somehow ended up being associated with three other transfers (that each had their own actual, other payouts)
po_1OWs3uFPLlEQIsHH6cXyOHKh isn't really a retry - it's just a an automatic payout that looked at the funds that were available at that time and paid those out. So by the time po_1OWs3uFPLlEQIsHH6cXyOHKh was initiated, the set of funds that were available wasn't the same as po_1OWXEEFPLlEQIsHH47UXQAzm
Understood. However, the set of funds available at that time don't match the assoicated payouts either. For example, tr_1OWd9oJxJIrs34m7Xfw4Sab1 was paid out manually at 1/9 6:07am EST. Then po_1OWs3uFPLlEQIsHH6cXyOHKh was auto initiated later, at 1/9 ~10:07pm EST
So tr_1OWd9oJxJIrs34m7Xfw4Sab1's funds shouldn't have been available at that point in time either
The funds from tr_1OWd9oJxJIrs34m7Xfw4Sab1 are for a transfer of available funds, so when the transfer was made the funds were already available on the conneted account
Ok, so is what you're saying essentially -- if tr_1OWd9oJxJIrs34m7Xfw4Sab1 transferred $122.16 to the account & then a manual payout triggered for the same amount immediately after, but the account's balance was already > that amount, then the resulting manual payout might not actually even become associated with the transfer that just happened?
Actually give me a minute - let me just sort through this timeline for a bit
Ah, okay so it's actually a bit more nuanced than I thought - it's the combination of the manual payouts AND the previous failed payouts that confused me a bit
- po_1OWs3uFPLlEQIsHH6cXyOHKh pulls in all the funds that have NOT been pulled in by a previous automatic payout and will be available by 1/11.
- tr_1OWV7cJxJIrs34m7zShu9RJN and tr_1OVeLMJxJIrs34m70MCba6TV were both pulled into previous automatic payouts that had previously failed so they aren't being pulled into po_1OWs3uFPLlEQIsHH6cXyOHKh
tr_1OWd9oJxJIrs34m7Xfw4Sab1 for $122.16 was actually immediately paid out by a manual payout (I believe it was po_1OWd9qFPLlEQIsHHyexaKdC3), and the automatic payout pulls in both tr_1OWd9oJxJIrs34m7Xfw4Sab1 AND the manual payout po_1OWd9qFPLlEQIsHHyexaKdC3 so they cancel each other out ($122.16 for the transfer in, -$122.16 for the payout)
It may help to clear things up if you redo your Balance Transactions list request but without passing type so you can see the full list of balance transactions instead of just the ones tied to a payment
Thanks for digging into this all! A few things I'm not fully clear on -
- Your second bullet point says that those transfers were pulled into an auto payout that failed. Does that mean a successful payout will then never be associated with that transfer?
- You said the transfer(s) were associated, but their transactions essentially canceled out. Are we able to tell where the $50.38 came from to begin with for po_1OWs3uFPLlEQIsHH6cXyOHKh, if it's not the cancelled out transfers?
- Yeah I don't think the transfer will be associated with a successful automatic payout
- The $50.38 comes from txn_1OWpFlFPLlEQIsHHkApZpTKS, which was a reversal that added funds back to your balance because a previous payout (po_1OWXEEFPLlEQIsHH47UXQAzm) failed
ah so it all comes back to how funds are added back after failed payouts. Understood.
Any recommendations for how to handle this type of thing in the sense of keeping track when specific transfers are paid out to a connect account user's bank? (besides your recommendation to remove the type param from the request that I see you mentioned above)
One thing you could try is after removing the type param you could then check the ones that are from a payout and then in turn pull the transactions associated with the failed payouts - I imagine the logic may get a bit complicated though
I need to head out, but if you have any more follow up questions snufkin can help