Fetches all investment portfolios associated with a customer, including details about each investment such as amount invested, total payable, and product information.
The JWT Access Token obtained from the /login or /refresh-token endpoint.
Unique idempotency key for the request to prevent duplicate processing.
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
The IP address of the customer making the request.
Unique identifier for the interaction/session.
Path Parameters
The unique identifier (UUID) of the customer whose portfolios to retrieve.
Query Parameters
Page number for pagination (starts from 1).
Number of items per page (maximum recommended: 50).
Code Examples
curl --location 'https://test-investment-products-service.fincode.software/api/v1/user/portfolios/123e4567-e89b-12d3-a456-426614174000?page=1&size=10' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'x-idempotency-key: unique-key-12345' \
--header 'x-fapi-auth-date: 2024-01-15T10:30:00Z' \
--header 'x-fapi-customer-ip-address: 192.168.1.1' \
--header 'x-fapi-interaction-id: interaction-12345'
platform
string
default:fincode
required
uuid
string
default:200
required