username:passwordAuthorization: Basic *****************curl --location --request GET 'http://localhost:8000/account/' \
--header 'Authorization: Basic <encoded-value>'{
"code": 0,
"result": [
{
"id": "string",
"uid": "string",
"name": "string",
"type": "SAVINGS",
"currency": "string",
"returnConfig": {
"amount": 0,
"period": "DAILY",
"quantity": 0
},
"investConfig": {
"amount": 0,
"period": "DAILY",
"quantity": 0
},
"initialBalance": 0,
"accountNumber": "string",
"balance": 0,
"location": {
"latitude": 0,
"longitude": 0,
"streetAddress": "string",
"district": "string",
"state": "string",
"country": "string"
},
"createdAt": "string",
"updatedAt": "string",
"endDate": "string"
}
],
"error": "string"
}