Skip to main content

Get savings account

GET /api/v1/Savings/accounts/get-all

Description

This endpoint is used to retrieve all savings accounts.

Tags: Savings

URL:
/api/v{version}/Savings/accounts/get-all

ApiKey:
No API key required

Content-Type:
No request body

Query Parameters:
PageNumber: integer, optional, default is 1
PageSize: integer, optional, default is 10
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)

Response:
Success, returns a list of savings accounts.

Error Codes:
400: Bad Request
404: Not Found

/api/v1/Savings/accounts/get-all?PageNumber=<integer>&PageSize=<integer>

Headers

Content-TypeValue
Accept-Language

Query Params

Paramvalue
PageNumber<integer>
PageSize<integer>

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/Savings/accounts/get-all \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!