forked from apache/fineract
-
Couldn't load subscription status.
- Fork 0
Open
Description
Description:
This task involves testing the API endpoint that allows a client to view the current balance of their savings account. The system should retrieve the account balance from the server and return it in a secure and accurate manner. The balance should reflect all posted transactions, including deposits, withdrawals, and transfers, up to the current date.
The test should:
- Send a request to the account details endpoint using a valid savings account ID
- Verify that the response includes the correct account balance
- Confirm that sensitive information is not exposed and only authorized data is returned
Endpoint:
GET /savingsaccounts/{savingsAccountId}
Acceptance Criteria:
- The API returns a 200 OK response for a valid and active account
- The response includes the current account balance under the
summarysection - The balance matches the net of all posted transactions
- Appropriate error responses are returned for invalid or unauthorized account access
Metadata
Metadata
Assignees
Labels
No labels