#Zebda-reporting-api
1 messages · Page 1 of 1 (latest)
We run an app, where customers can connect their stripe accounts. And we retrieve transactions from it for accounting purpose.
Ok, cool. So as the platform you'd make the API request and pass the Stripe-Account header in the request, with the ID of the connected account (customer) you want the report for: https://stripe.com/docs/connect/authentication
I see now, Thanks a lot. How does it works with the ruby sdk (Stripe::Reporting::ReportRun.create..) ? would you have some doc for this ?
I mean, changing the header to ad the account_id, and still use the stripe ruby gem.
Stripe::Reporting::ReportRun.create({
...
}, {
stripe_account: 'acct_xxx'
)
... being the relevant parameters for the report: https://stripe.com/docs/api/reporting/report_run/create?lang=ruby
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry, it's actually stripe_account
got it