Skip to main content
PUT
/
wallet
/
fund-wallet
/
{wallet-id}
/
{amount}
Fund Wallet
curl --request PUT \
  --url https://test-investment-products-service.fincode.software/api/v1/user/wallet/fund-wallet/{wallet-id}/{amount} \
  --header 'X-Auth-Token: <x-auth-token>' \
  --header 'platform: <platform>' \
  --header 'uuid: <uuid>' \
  --header 'x-idempotency-key: <x-idempotency-key>'
Adds a specified amount to a user’s wallet account. This is used to fund the wallet before making investments.

Request Headers

X-Auth-Token
string
required
The JWT Access Token obtained from the /login or /refresh-token endpoint.
x-idempotency-key
string
required
Unique idempotency key for the request to prevent duplicate processing.
x-fapi-auth-date
string
required
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
string
required
The IP address of the customer making the request.
x-fapi-interaction-id
string
required
Unique identifier for the interaction/session.

Path Parameters

wallet-id
string
required
The unique identifier (UUID) of the wallet to fund.
amount
number
required
The amount to add to the wallet.

Code Examples

curl --location --request PUT 'https://test-investment-products-service.fincode.software/api/v1/user/wallet/fund-wallet/123e4567-e89b-12d3-a456-426614174000/50000' \
--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'

Headers

platform
string
default:fincode
required
uuid
string
default:200
required
X-Auth-Token
string
required
x-idempotency-key
string
required

Path Parameters

wallet-id
string
required
amount
number
required

Response

200

Funding status