Skip to main content

Get All Fixed Deposit Accounts by User

GET /fixed-deposit

Description

Retrieve all fixed deposit accounts associated with a specific user. This endpoint returns paginated results and requires tenant, country, and user identification headers.

Headers:

NameTypeDescription
tenantIdstringThe unique identifier for the tenant (required).
countryCodestringThe country code for the user's location (required).
userIdstringThe unique identifier of the user (required).

Query Parameters:

NameTypeDescription
pageNumberintegerThe page number for pagination. Default: 1.
pageSizeintegerThe number of items to return per page. Default: 10.

Example Request:

curl -X GET "{{baseURL}}/fixed-deposit" \
-H "Authorization: Bearer [access_token]" \
-H "tenantId: [tenantId]" \
-H "countryCode: [countryCode]" \
-H "userId: [userId]" \
-G \
--data-urlencode "pageNumber=1" \
--data-urlencode "pageSize=10"

Sample Response: 200

{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"data": {},
"descriptiveMessage": "string"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /fixed-deposit \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


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