#dupont-payout-charge

1 messages · Page 1 of 1 (latest)

hexed linden
#

hello, this is for automatic payouts right?

obtuse path
#

Automatic or not

#

The idea is that when a merchand retrieve his money

#

We want to generate an invoice (on our side) with all the fees according to this payout

#

And a file will all transactions

hexed linden
#

well if it isn't automatic (but is manual), then you track on your end what the manual Payout was composed of, Stripe / the API wouldn't know.

e.g. if 2 Charges for $40 and $60 happen but you manually Payout $30, which of the 2 Charges was paid out? so with manual, user's are expected to track it on their end

#

with Automatic, you can go from Payout to the original Charges. You list all the BalanceTransactions (BTs) for a Payout: https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout

Then you "expand" the source: for those BTs and get the original Charges that upp-ed your Balance and eventually were paid out

obtuse path
#

In fact

#

we want to recreate the same behavior than Stripe do for us

#

I think automatic payout, let's say every 26th of the month

#

Will (on our side) generate an invoice with the total of our fees and all the transactions.

#

oh ok "For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID."

#

that's nice

#

I think it's exactly what we need 😄