Skip to content

Upvest Investment API (1.75.0)

Upvest Investment API.

Download OpenAPI description
Overview
URL

https://docs.upvest.co

Upvest API Support

api@upvest.co

License

Apache 2.0

Languages
Servers
Sandbox environment

https://sandbox.upvest.co/

Live environment

https://api.upvest.co/

Access Tokens

All authentication related paths.

Operations
OperationsWebhooks

User Identifiers

All user identifiers related paths.

Operations

User Checks

All user checks related paths.

OperationsWebhooks

Accounts

All accounts related paths

OperationsWebhooks

Account Groups

All account groups related paths

OperationsWebhooks

Tax Residencies

All tax residencies related paths.

Operations

Corporate Actions

All Corporate Action related paths.

Webhooks

Tax Exemptions

All tax exemptions related paths

OperationsWebhooks

Tax Collections

All tax collections related paths

Webhooks

Tax Wrappers

All tax wrappers related paths

OperationsWebhooks

Instruments

All instrument related paths.

OperationsWebhooks

Price Data

All price data related paths.

Operations
OperationsWebhooks

Portfolios

All portfolios related paths.

Operations

Request

Portfolios orders events

Bodyapplication/json
idstring(uuid)required

Event unique identifier

created_atstring(date-time)required

Date and time when the event was created. RFC 3339-5, ISO8601 UTC

typestringrequired

Event type

Enum"PORTFOLIO_ORDER.NEW""PORTFOLIO_ORDER.PROCESSING""PORTFOLIO_ORDER.FILLED""PORTFOLIO_ORDER.SETTLED""PORTFOLIO_ORDER.CANCELLED"
objectobjectrequired
idstring(uuid)required
created_atstring(date-time)required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring(date-time)required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

account_idstring(uuid)required

Account unique identifier.

cash_amountstring^[0-9]{0,63}(\.[0-9]{1,27})?$required
currencystringrequired

Alphabetic three-letter ISO 4217 currency code.

  • EUR - Euro
Default "EUR"
Value"EUR"
statusstringrequired

Execution status of the Portfolio Order.

  • NEW -
  • PROCESSING -
  • FILLED -
  • SETTLED -
  • CANCELLED -
Enum"NEW""PROCESSING""FILLED""SETTLED""CANCELLED"
post_taxbooleanrequired

Cash amount is post-tax value

Default false
client_referencestringrequired
initiation_flowstringrequired

What triggered the order creation .

  • API -
  • SAVINGS_PLAN -
Enum"API""SAVINGS_PLAN"
ordersArray of objectsrequired

Orders associated with this portfolio order

idstring(uuid)required
sidestringrequired

Side of the portfolio order.

  • BUY -
  • SELL -
Enum"BUY""SELL"
statusstringrequired

The execution status of the order.

  • NEW -
  • PROCESSING -
  • FILLED -
  • CANCELLED -
Enum"NEW""PROCESSING""FILLED""CANCELLED"
user_idstring(uuid)

User unique identifier.

allocation_idstring(uuid)
typestring

Type of the Portfolio Order.

  • BUY -
  • SELL -
  • REBALANCING -
Enum"BUY""SELL""REBALANCING"
cancellation_reasonstring

Explains the reason why the order was cancelled .

  • ACCOUNT_IS_EMPTY -
  • CANCELLED_BY_CLIENT -
  • CANCELLED_BY_UPVEST -
  • PORTFOLIO_IS_BALANCED -
  • SELL_LIMIT_EXCEEDED -
Enum"ACCOUNT_IS_EMPTY""CANCELLED_BY_CLIENT""CANCELLED_BY_UPVEST""PORTFOLIO_IS_BALANCED""SELL_LIMIT_EXCEEDED"
cancellation_detailsstring
webhook_idstring(uuid)required

Webhook unique identifier.

application/json
{ "id": "54b8d84f-5bd0-4e43-bf0f-164388cb4c23", "created_at": "2021-07-21T14:10:00.00Z", "type": "PORTFOLIO_ORDER.NEW", "object": { "id": "eb5ba93f-5dfe-4bf1-8571-4da0caacc80c", "created_at": "2021-07-21T14:10:00.000Z", "updated_at": "2021-07-21T14:10:00.000Z", "account_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3", "allocation_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3", "cash_amount": "1000", "currency": "EUR", "status": "PROCESSING", "type": "SELL", "post_tax": false, "client_reference": "", "initiation_flow": "API", "orders": [ … ] }, "webhook_id": "cd2e4183-4e62-4e0f-981b-44b594d14610" }

Responses

Request has been processed successfully.

Portfolios allocations eventsWebhook

Request

Portfolios allocations events

Bodyapplication/json
idstring(uuid)required

Event unique identifier

created_atstring(date-time)required

Date and time when the event was created. RFC 3339-5, ISO8601 UTC

typestringrequired

Event type

Enum"PORTFOLIO_ALLOCATION.CREATED""PORTFOLIO_ALLOCATION.CHANGED"
objectobjectrequired
idstring(uuid)required
created_atstring(date-time)required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring(date-time)required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

namestringrequired

Allocation name

allocationArray of objectsrequired

List of portfolios allocations

instrument_idstringrequired
One of:

International securities identification number defined by ISO 6166.

string^[A-Z]{2}[A-Z0-9]{9}[0-9]$
instrument_id_typestringrequired

The type of the ID used in the request.

  • ISIN - International Securities Identification Number
  • UPVEST - UPVEST's unique instrument identifier
Default "ISIN"
Enum"ISIN""UPVEST"
weightstring^(100|[0-9]{1,2}(\.[0-9]{1,5})?)$required

Instrument allocation weight

webhook_idstring(uuid)required

Webhook unique identifier.

application/json
{ "id": "54b8d84f-5bd0-4e43-bf0f-164388cb4c23", "created_at": "2021-07-21T14:10:00.00Z", "type": "PORTFOLIO_ALLOCATION.CREATED", "object": { "id": "436244bb-4afd-4002-b53b-b1d7a3bca032", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "name": "Allocation 1", "allocation": [ … ] }, "webhook_id": "cd2e4183-4e62-4e0f-981b-44b594d14610" }

Responses

Request has been processed successfully.

Portfolios Rebalancing

All portfolios rebalancing related paths.

OperationsWebhooks

Savings Plans

All savings plans related paths.

OperationsWebhooks

Liquidations

All accounts liquidations related paths.

OperationsWebhooks

Direct Debits

All direct debits related paths

OperationsWebhooks
OperationsWebhooks

Withdrawals

All withdrawals related paths

OperationsWebhooks

Reference Accounts

All reference account related paths

Operations

Mandates

All direct debit mandates related paths

Operations

Cash Balances

All cash balance related paths

OperationsWebhooks

Positions

All positions related paths.

OperationsWebhooks

Valuations

All valuations related paths.

OperationsWebhooks

Returns

All accounts returns related paths.

OperationsWebhooks

Virtual Cash Balances

All virtual cash balances related paths

OperationsWebhooks
OperationsWebhooks

Fees Configurations

All fees configurations related paths.

Operations
OperationsWebhooks

Treasury Reports

All treasury reports related paths.

Webhooks

Transactions

All transactions related paths.

OperationsWebhooks
Operations

Webhook Subscriptions

All webhook subscriptions related paths.

Operations

Virtual Bank Accounts

All virtual bank accounts related paths

OperationsWebhooks
Operations