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

Feature Request: Include savers goal amount in Accounts API response #121

Closed
njohnstone2 opened this issue Nov 13, 2022 · 2 comments
Closed

Comments

@njohnstone2
Copy link

The API response for the Accounts endpoint returns the current amount in an account but it would be useful if it would return additional info on the account. Specifically I would like to know the savings goal amount for each of the savers returned in the response.

Current mock response:

{
    "data": {
        "type": "accounts",
        "id": "***",
        "attributes": {
            "displayName": "Example",
            "accountType": "SAVER",
            "ownershipType": "INDIVIDUAL",
            "balance": {
                "currencyCode": "AUD",
                "value": "0.00",
                "valueInBaseUnits": 0
            },
        },
        ...
    }
}

Under the attributes object it would be useful to have an object similar to balance that is used to track the savers goal.

@AussieEevee
Copy link

This is similar to #10

@njohnstone2
Copy link
Author

You're right. Closing in favour of #10

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