#aosbornee

1 messages · Page 1 of 1 (latest)

peak leafBOT
unique lava
vital lintel
#

ah nice, thank you brother!

#

and for anycase that my user has manual payouts, which part of it will fail?

#

So I can handle gracefully

unique lava
#

If you're using manual payouts then the Payout just won't have any associated Balance Transactions

#

You'd need to implement a manual reconciliation for those

vital lintel
#

amazing, also does stripe send the payout ID to the bank? or anything I can use to query

unique lava
#

I don't believe so but there's normally internal references that we send that aren't available via the API

Not sure how that would help you reconcile payments in a payout though

vital lintel
#

I see

unique lava
#

Depending on how you're using manual payouts, you'd use API parameters to flag specific transactions that are included in a payout after you've created the po_xxx

#

So say you do a manual payout every day, you'd sum up all payments done in that timeframe and create the payout for $X

#

Then after the payout is created you'd flag all those payments are processed under po_xxx via metadata or something

#

Definitely a lot more overhead for manual payouts which is why we generally discourage them

vital lintel
#

Gotchuu, so that's the thing, I'm building an application for my end users, I don't have control on how they choose to payout and what metadata etc they choose to put in there

#

Our tool is simply a financial tracking dashboard, I just wanted to connect to stripe to get better insights

#

Do you reckon my best case would be to take the date of a user's bank transaction and look for a stripe payout that has a status of paid and has the closest arrival_date ?

#

It doesn't need to be 100% accurate because we "suggest" it to the user on the frontend

E.g. we think this "STRIPE" transaction on the 19/01/24 relates to "Client A" & "Client B" (which we took from the names on the associated charges)

I'm just trying to make the app more seamless

unique lava
#

What is a transaction in this instance? A payment from one of your customers to a Stripe merchant? Or a payout?

#

I'm confused

vital lintel
#

A transaction is a bank transaction, so what the end users sees on their actual bank statement (Amex Bank) e.g.

So it would relate to our end user receiving a payout from stripe

unique lava
vital lintel
#

eeeeh I see, I thought automatic payouts always had a payout structure along those lines, or even "stripe-{some-type-of-number}

#

So I was going to more so do a string contains lookup of some sort