Reputation: 1038
Hi I'm working on a project where I have to retrieve a users stripe balance transaction history using the stripe connect api. So I have my users access_token, but I'm having trouble working out how to use that with the Stripe::BalanceTransaction
request.
For example if I want to retrieve the balance I can do:
Stripe::Balance.retrieve({:stripe_account => access_token})
However The same thing doesn't work for BalanceTransaction
Stripe::BalanceTransaction.all({:stripe_account => access_token})
Obviously I'm missing something, but after looking through the API documentation, I'm not sure what that is.
Upvotes: 0
Views: 541
Reputation: 1
Stripe::BalanceTransaction.all({/*insert params*/},{:stripe_account => access_token})
Upvotes: 0