Asset Transaction

Create asset transaction

Create a new transaction for an asset

post/assets/transactions

Request

  • Base URL: http://localhost:3001/v1
  • URL: http://localhost:3001/v1/assets/transactions
  • Auth: HTTP bearer

Request body

assetIdstring uuid required
type'BUY' | 'SELL' | 'DIVIDEND' | 'INTEREST' | 'FEE' | 'DEPOSIT' | 'WITHDRAWAL' | 'VALUATION_ADJUSTMENT' | 'CAPITAL_CALL' | 'DISTRIBUTION' required
datestring required
settlementDatestring nullable required
quantityChangenumber nullable required
unitPricenumber nullable required
totalAmountnumber nullable required
currency'USD' | 'EUR' | 'GBP' | 'JPY' | 'CNY' | 'INR' | 'AUD' | 'CAD' | 'CHF' | 'SEK' | 'NZD' | 'MXN' | 'SGD' | 'HKD' | 'NOK' | 'KRW' | 'TRY' | 'UNKNOWN' required
fxRatenumber nullable required
feesnumber nullable required
taxAmountnumber nullable required
financialAccountIdstring uuid nullable required
notestring nullable required

Response

Asset transaction created

successboolean required

Indicates if the request was successful

messagestring required

Optional success message

Changes

No operation changes recorded.