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

Allow transaction filtering by more than one transaction type #13

Closed
bcm opened this issue Aug 17, 2012 · 1 comment
Closed

Allow transaction filtering by more than one transaction type #13

bcm opened this issue Aug 17, 2012 · 1 comment

Comments

@bcm
Copy link

bcm commented Aug 17, 2012

We are building a transaction history feature into Copious, and we'd like to show all transactions for an account except holds (which are meaningless to our users). The existing transaction endpoint allows to specify that we want only credits or debits or refunds, but it does not allow us to ask for all three types or to filter out holds. Retrieving all transactions and then filtering out holds on our side is wasteful and anyway is not really practical when "one page at a time" paging (as opposed to the infinite paging strategy that we don't use).

I'd like the transaction endpoint to accept1) a list of transaction types to include and/or 2) a list of transaction types to exclude.

Thoughts?

@matin
Copy link
Member

matin commented Aug 17, 2012

Closed and moving discussion to #14, since that's the core problem. Filtering is supported on any existing field. If there's no field, no filtering.

@matin matin closed this as completed Aug 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants