Upvest · JSON Structure

Investment Api Account Return Structure

Investment return calculation for an account.

Type: object Properties: 6
Banking InfrastructureFintechInvestmentsSecuritiesFractional InvestingCustodyWealth Management

AccountReturn is a JSON Structure definition published by Upvest, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

account_id total_return total_return_percentage period_start period_end currency

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-structure/investment-api-account-return-structure.json",
  "name": "AccountReturn",
  "description": "Investment return calculation for an account.",
  "type": "object",
  "properties": {
    "account_id": {
      "type": "uuid",
      "description": "The account identifier.",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "total_return": {
      "type": "string",
      "description": "The total return as a decimal string.",
      "example": "example-value"
    },
    "total_return_percentage": {
      "type": "string",
      "description": "The total return as a percentage string.",
      "example": "example-value"
    },
    "period_start": {
      "type": "date",
      "description": "The start of the return period.",
      "example": "2025-03-15"
    },
    "period_end": {
      "type": "date",
      "description": "The end of the return period.",
      "example": "2025-03-15"
    },
    "currency": {
      "type": "string",
      "description": "The return currency.",
      "pattern": "^[A-Z]{3}$",
      "example": "EUR"
    }
  }
}