Skip to content

Update the /settlements controller to return a SettlementResponseΒ #7

Closed
@sappenin

Description

@sappenin

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions