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

Update the /settlements controller to return a SettlementResponse #7

Closed
sappenin opened this issue Aug 5, 2019 · 1 comment
Closed

Comments

@sappenin
Copy link
Contributor

sappenin commented Aug 5, 2019

When an API client makes a request to /accounts/:id/settlements, the controller should return a JSON object with the amount committed to be settled, and the Settlement Engine's scale, like this:

{
  "amount": "1000",
  "scale": "6"
}
@gakonst
Copy link
Contributor

gakonst commented Aug 12, 2019

Rust connector and Ethereum engine implement this in interledger/interledger-rs#199

sappenin added a commit to sappenin/settlement-xrp that referenced this issue Aug 12, 2019
Signed-off-by: sappenin <sappenin@gmail.com>
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