#leman0589
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
I think the easiest way to do this would be list your Payouts, see when the latest one was, and then list your balance transactions. A balance transaction should be a part of the current balance as long as its available_on timestamp is later than when the payout was created
Is there a way to transfer meta data during trasnfer (e.g., "order#555") and later retrieve it with a matching meta (e.g., "order555") during the balance retrieval process?
it'd be time consuming to get payout list, then list balance transactions, then do the calculations
I believe so, if expand the source property, that should show you the full object that created the balance transaction, which should include metadata https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-source
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.