user2320239
user2320239

Reputation: 1038

Stripe Balance Transactions for connect accounts

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

Answers (1)

user2314
user2314

Reputation: 1

Stripe::BalanceTransaction.all({/*insert params*/},{:stripe_account => access_token})

Upvotes: 0

Related Questions