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

Provide debit summary #1

Open
baccenfutter opened this issue Dec 20, 2014 · 1 comment
Open

Provide debit summary #1

baccenfutter opened this issue Dec 20, 2014 · 1 comment

Comments

@baccenfutter
Copy link

Calling https://vorstand.c-base.org/cteward-api/legacy/member/baccenfutter/debit/summary/ should return a nice summary of a member's debits. This improves performance as a client wouldn't have to fetch the entire list of entries to do the math locally. Additionally it should turn out to be much more human-parsable as a list of entries.

The result of such a call should look somewhat like this:

{
"total_payments": 0,
"total_bounces": 0,
"current_balance": 0,
}

@berlincount
Copy link
Owner

Please have a look at https://vorstand.c-base.org/cteward-api/legacy/member/baccenfutter/contributions - does this solve the issue for you?

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