#Aggressive_Pickle
1 messages · Page 1 of 1 (latest)
Hello, that should be the way to test them. Can you send me the ID of a Payout that you created this way? (po_123)
Heyt @viscid viper thanks! So here's one that I created this way: po_1NzfveRgrPYK0Snak7Rpo4B0
Here's one that was created automatically by using a daily payout schedule: po_1NwaguRgrPYK0SnaSpP4XjvQ. Notice the difference between the two. One has transactions and charges and the one created manually from the dashboard does not
Oh gotcha, that is expected I believe but I forget why. Are you looking to get these related charges via the API or only in the dashboard?
Via the api at the very least
While looking in to how to do this for manual payouts, I realized you mentioned that you did this for testing specifically. Will you be using automatic payouts for live mode?
Yeah
For automatic payouts, you can list all balance transactions and filter by the payout ID https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For manual it is murkier, basically I think you would want to see all charges whose funds became available since the last manual payout. It looks like our balance transactions endpoint does not have a way to directly filter for that but I am still looking to see if there is a somewhat straightforward way to do this
But if I have the connected account set to automatic payouts, wouldn't I have to wait a minimum of 2 days for payouts to be created?