Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BalanceTransactions resource #612

Merged
merged 1 commit into from
May 7, 2019
Merged

Conversation

ob-stripe
Copy link
Contributor

r? @rattrayalex-stripe @remi-stripe
cc @stripe/api-libraries

Adds a stripe.balanceTransactions resource with list() and retrieve() methods.

Right now balance transactions can be accessed via stripe.balance.listTransactions() / retrieveTransaction(), but balance transactions are not really a nested resource, they just have a somewhat weird URL pattern.

@ob-stripe
Copy link
Contributor Author

Oh and cc @irace-stripe too :)

@ob-stripe ob-stripe merged commit 42cf546 into master May 7, 2019
@ob-stripe ob-stripe deleted the ob-balance-transactions branch May 7, 2019 22:14
@ob-stripe
Copy link
Contributor Author

Released as 6.32.0.

@rattrayalex-stripe
Copy link
Contributor

Thanks!

@ellenaua
Copy link

ellenaua commented Feb 20, 2020

@ob-stripe We were using stripe.transfers.listTransactions()function to retrieve all transactions related to some transfer. But now this function does not exist.

It was here in version 4.25.0 ->

listTransactions: stripeMethod({

We need to get all Transactions related to some Transfer.
I am now able to get all transfers. But not able to get transfer transactions.
Could you pls help?

@ellenaua
Copy link

As I see method stripe.transfers.listTransactions() was deleted in version 7.0
ee3e916#diff-8f517bb275f41f2053c08bf50e8d04c3

@ob-stripe
Copy link
Contributor Author

@ellenaua You can use stripe.balanceTransactions.list() with the payout parameter set to the ID of the payout to retrieve the list of transactions for that specific payout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants