Creates a new investment application allowing customers to invest in a specific investment product with a specified number of units.
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.
Content-Type
string
default:"application/json"
required
Must be application/json.
Request Body
The unique identifier (UUID) of the investment product to invest in.
The number of units to purchase for this investment.
The unique identifier (UUID) of the user wallet to use for the investment.
The unique identifier (UUID) of the customer making the investment.
The full name of the customer making the investment.
Code Examples
curl --location --request POST 'https://test-investment-products-service.fincode.software/api/v1/user/apply' \
--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' \
--header 'Content-Type: application/json' \
--data '{
"investmentProductId": "123e4567-e89b-12d3-a456-426614174000",
"numberOfUnitsToPurchase": 100,
"userWalletId": "123e4567-e89b-12d3-a456-426614174001",
"customerId": "123e4567-e89b-12d3-a456-426614174002",
"customerName": "John Doe"
}'
platform
string
default:fincode
required
uuid
string
default:200
required