#valentin_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1270030036954513499
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hey
What are you passing via reportID above?
Do you have the request ID for the List request you are making that I can look at?
oops sorry, po_1PHbejJa2p8ZVPIFI6DXg7cT is reportID
Ah gotcha
When you say:
it only returns 9 transactions
What do you mean exactly?
You only see 9 balance transactions in the list response?
just a moment
i can see following
payout,STRIPE PAYOUT,-28908533,eur
network_cost,Card payments (2024-05-14): adjustment to Transaction network costs,-9406,eur
network_cost,Card payments (2024-05-15): adjustment to Transaction network costs,47,eur
Card payments (2024-05-16): Transaction network costs,-81109,eur
Radar (2024-05-16): Standard,-16625,eur
payments (2024-05-16): Stripe per-authorization fees,-12060,eur
stripe_fee,3D Secure (2024-05-16): Lookup,-1732,eur
stripe_fee,Card payments (2024-05-16): Stripe volume fees,-9554,eur
stripe_fee,Card Account Updater (CAU) (2024-05-16): Updates,-325,eur
stripe_fee,Authorization Optimization (2024-05-15): adjustment to Adaptive Acceptance,-2,eur
Where do you see that exactly?
In your own UI?
What is the actual JSON payload respoonse from our API?
but using postman https://api.stripe.com/v1/balance_transactions?payout=%v
i got bunch of transactions
i created a go script, that uses
"github.com/stripe/stripe-go/v74/balancetransaction"
"github.com/stripe/stripe-go/v74/reporting/reportrun"
the way i use it is
`
params := &stripe.BalanceTransactionListParams{}
params.Payout = stripe.String(reportID)
return r.balanceTransactionClient.List(params).BalanceTransactionList(), nil`
i can see go client uses the same api call
Go library for the Stripe API. . Contribute to stripe/stripe-go development by creating an account on GitHub.
Okay so the default limit when you list is 10 items
So you need to use pagination if you want the full list of balance transactions here
thought go client does pagination itself
ok, thanks!
If you implement auto-pagination then essentially yes: https://docs.stripe.com/api/pagination/auto?lang=go