Assets
Assets contain ownership and performance data for a given instrument that a customer owns. Additionally,
An Asset can belong to both an Account and a Portfolio.

This document will guide you on how to get account details. Additionally, on how to add an asset to a portfolio
Retrieving Assets
Section titled “Retrieving Assets”When requesting account details you can do so either by getting:
- A list of assets
- An account by a given Id
List of Assets
Section titled “List of Assets” curl --request GET \ --url https://api.pipevest.com/v1/assets?customerId=123456\ --header 'Authorization: Bearer 123456' \ --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \ --header 'Signature-Input: sig1=("authorization" "content-digest" "content-length" "content-type" "x-client-id" "x-idempotency-key" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \ --header 'X-Client-Id: 123456' \Flitering Assets List
Section titled “Flitering Assets List”- accountId
curl --request GET \ --url https://api.pipevest.com/v1/assets?customerId=123456&accountId=123456\ ...- portfolioId
curl --request GET \ --url https://api.pipevest.com/v1/assets?customerId=123456&portfolioId=123456\ ...Asset by Id
Section titled “Asset by Id” curl --request GET \ --url https://api.pipevest.com/v1/assets/123456\ ...Adding an Asset to a Portfolio:
Section titled “Adding an Asset to a Portfolio:”When an asset is created is it automatically associated with an Account. However, you can also explicitly associate the asset to a Portfolio
curl --request POST \ --url https://api.pipevest.com/v1/portfolio/assets\ --header 'Authorization: Bearer 123456' \ --header 'Content-Digest: sha-512=:RK/0qy18MlBSVnWgjwz6lZEWjP/lF5HF9bvEF8FabDg=:' \ --header 'Content-Length: 18' \ --header 'Content-Type: application/json' \ --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \ --header 'Signature-Input: sig1=("authorization" "content-digest" "content-length" "content-type" "x-client-id" "x-idempotency-key" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \ --header 'X-Client-Id: 123456' \ --header 'X-Idempotency-Key: 123456' \ ... --data '{"customerId": 123456, "portfolioId": 123456, "assetId": 123456}'Entity Reference
Section titled “Entity Reference”| Property | Definition |
|---|---|
assetId |
Unique asset identifier |
instrumentId |
Unique instrument identifier |
customerId |
Unique customer identifier |
name |
The display name of the asset |
symbol |
The symbol associated by the asset |
investmentAmount |
The total amount invested into an asset or group of assets |
currency |
Associated currency |
position |
The total quantity of the asset currently owned by the customer |
locked |
The quantity of the asset currently locked in for trading |
available |
The quantity of the asset currently available for trading |
purchasePrice |
The value of 1 unit of the asset during initial purchase |
marketPrice |
The current market price of 1 unit of the asset |
createdAt |
Created at unix timestamp |
updatedAt |
Updated at unix timestamp |
Webhook Subscriptions
Section titled “Webhook Subscriptions”| Subscription | Definition | Domain |
|---|---|---|
ASSET |
Only events that deal with assets | Assets |
ASSET.CREATED |
Triggered when an asset is created | Assets |
ASSET.UPDATED |
Triggered when an asset is updated | Assets |