#dannyboy-payout-transactions
1 messages ยท Page 1 of 1 (latest)
Hello! Are you using automatic payouts or manual ones?
Sorry for the distraction!
Starting with your most recent question of not seeing the documentation for STripe::Payment - these shold be the same as Charges (you'd use the Charges API to retrieve it, so the documentation there should be the same)
We don't have a direct way to go from the Payment/Transfer ID to the Payout, but if you want to go the opposite way (see the payments/transfers in a payout) we have docs on how to do this here https://stripe.com/docs/expand/use-cases#charges-in-payout
=> #<Stripe::ListObject:0x3fe69c4d7cb4> JSON: {
"object": "list",
"data": [
],
"has_more": false,
"url": "/v1/balance_transactions"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
it's not showing in here.
okay i can see something.. changed the type to 'payment' instead
it should be reverse chronological (most recent first)
get the last balance_transaction_id and supply it as starting_after to get the next records right?
Yup! You can also use auto-pagination instead if you find that easier (https://stripe.com/docs/api/pagination/auto)
thanks
You can't list multiple types, but you could omit it entirely and get all types back instead
i can't seem to see the "expand" parameter here.. https://stripe.com/docs/api/balance_transactions/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i remember there's an expand to get the total count of records
We don't list expand in all the APIs but it's available in all of them (https://stripe.com/docs/api/expanding_objects)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We used to support total count, but I belive that got removed