-
Notifications
You must be signed in to change notification settings - Fork 75
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
Expanding the API to support retrieving paid amounts for approved proposal #1698
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done @thanhnp95.
@ukane-philemon I've fixed it. Please check it again for me. Thank you very much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untested Ack
@ukane-philemon I don't know when this PR will be merged and what the deployment process is. I think we need to deploy quickly to be able to provide information to the community |
@thanhnp95, please ask on the politeia channel on element. |
Resoved issue: #1697
Created API to support getting actual payment data for proposal
ApiRoute: /v1/proposals/billedstate
Type: Public API
Input: proposal token
Output: Payment times and amounts paid for proposal
{ "totalbilled": int64, "paidinvoices": [{ "timestamp": int64, "total": int64, }] }