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:
| Name | Type | Description |
|---|---|---|
tenantId | string | The unique identifier for the tenant (required). |
countryCode | string | The country code for the user's location (required). |
userId | string | The unique identifier of the user (required). |
Query Parameters:
| Name | Type | Description |
|---|---|---|
pageNumber | integer | The page number for pagination. Default: 1. |
pageSize | integer | The 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
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!