#jefskoa_api
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/1403107583476109446
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jefskoa_unexpected, 2 days ago, 23 messages
- jefskoa_api, 2 days ago, 27 messages
hi, which API method did not work for you in the way that you expected?
Here's examples:
C:\Users\jsutherl\source\StripeCLI>curl https://api.stripe.com/v1/balance_transactions?payout=po_1Rqx7VI1VSC7qNYw3mSn1ttf -u sk_test_51QptxoI1VSC7qNYw1Nn4qlJDcakeqPzLr2chkjNDvD4CyGPHG5xseUvChCmZ9PZKgpQ3aQM8jedIsBtuGFVev62a00zgamtKR9:
{
"error": {
"message": "Balance transaction history can only be filtered on automatic transfers, not manual.",
"param": "payout",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_79j3D4k4z7VHwk?t=1754425354",
"type": "invalid_request_error"
}
}
C:\Users\jsutherl\source\StripeCLI>curl https://api.stripe.com/v1/reporting/report_runs -u sk_test_51QptxoI1VSC7qNYw1Nn4qlJDcakeqPzLr2chkjNDvD4CyGPHG5xseUvChCmZ9PZKgpQ3aQM8jedIsBtuGFVev62a00zgamtKR9: -d "report_type=payout_reconciliation.by_id.summary.1" -d "parameters[payout]=po_1Rqx7VI1VSC7qNYw3mSn1ttf"
{
"error": {
"message": "The payout parameter for report type payout_reconciliation.by_id.summary.1 must refer to an automatic payout; po_1Rqx7VI1VSC7qNYw3mSn1ttf is a manual payout.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Wf6fHvqUZdNw3r?t=1754425638",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ok, so you're using the List Balance Transactions API method. it is documented that using the payout parameter only applies to automatic payouts https://docs.stripe.com/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.
It also appears that even a report request for a payout won't allow an manual payout. That will be a substantial issue to our efforts. Is there a reason why the APIs wont' support a manual payout, and is there a work around?
I don't really have insight into the reasons behind that decision. what are you attempting to do?
I need a payout summary info for any payout without reading all transactions/events to get the net payout amount based on charges, refunds, adjustments and fees.
the only thing I can think of is to use the created parameter with List Balance Transactions to get all balance transactions for the period between the previous payout and the one you're summing https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-created
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ya, we looked at that but it is way too much data to consume in a web hook/api application for a payout.
Hi there. I'll be taking over for denton, who needed to step away
I'm not sure if there is another workaround besides what denton mentioned already. A "payout summary" isn't really a concept in Stripe's API
It is a report available that we want to call via the report API. But it needs to support auto & manual ๐