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

Request

Starts the user offboarding process in the background.

Security
oauth-client-credentials
Path
user_idstring(uuid)required

User unique identifier.

Headers
upvest-client-idstring(uuid)required

Tenant Client ID

Example: ebabcf4d-61c3-4942-875c-e265a7c2d062
authorizationstring^Bearer [a-zA-Z0-9\-\._~+/]*=*required

Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750

Example: Bearer c2VjcmV0Cg==
signaturestringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header

signature-inputstringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he

upvest-api-versionstring

Upvest API version (Note: Do not include quotation marks)

Default 1
Value"1"
Example: 1
curl -i -X DELETE \
  'https://sandbox.upvest.co/users/{user_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'authorization: Bearer c2VjcmV0Cg==' \
  -H 'signature: string' \
  -H 'signature-input: string' \
  -H 'upvest-api-version: 1' \
  -H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062'

Responses

The request has been successfully accepted and will be processed asynchronously.

Headers
upvest-request-idstring(uuid)required
Example: "169ae4c7-ebd7-4041-94da-25369653eba7"
Response
No content

Request

Requests a data change for a user specified by ID.

Security
oauth-client-credentials
Path
user_idstring(uuid)required

User unique identifier.

Headers
upvest-client-idstring(uuid)required

Tenant Client ID

Example: ebabcf4d-61c3-4942-875c-e265a7c2d062
authorizationstring^Bearer [a-zA-Z0-9\-\._~+/]*=*required

Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750

Example: Bearer c2VjcmV0Cg==
signaturestringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header

signature-inputstringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he

upvest-api-versionstring

Upvest API version (Note: Do not include quotation marks)

Default 1
Value"1"
Example: 1
Bodyapplication/json
Any of:
non-empty
first_namestring[ 2 .. 100 ] characters

First name of the user.

last_namestring[ 2 .. 100 ] characters

Last name of the user.

salutationstring

Salutation of the user used in reports and statements.

  • (empty string) -
  • SALUTATION_MALE -
  • SALUTATION_FEMALE -
  • SALUTATION_FEMALE_MARRIED -
  • SALUTATION_DIVERSE -
Default ""
Enum"""SALUTATION_MALE""SALUTATION_FEMALE""SALUTATION_FEMALE_MARRIED""SALUTATION_DIVERSE"
titlestring

Title of the user used in reports and statements.

  • (empty string) -
  • DR - Doctor
  • PROF - Professor
  • PROF_DR -
  • DIPL_ING - Graduate engineer (Diplom-Ingenieur)
  • MAGISTER -
Default ""
Enum"""DR""PROF""PROF_DR""DIPL_ING""MAGISTER"
birth_datestring(date)

Birth date of the user in YYYY-MM-DD format. RFC 3339, section 5.6

birth_citystring[ 1 .. 85 ] characters
birth_countrystring

Accepted country code. ISO 3166-1 alpha-2 codes.

Enum"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR"
birth_namestring<= 100 characters

If applicable, birth name of the user.

nationalitiesArray of stringsnon-empty

Nationalities of the user. ISO 3166 alpha-2 Codes.

Items Enum"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR"
addressobject

Address. Must not be a P.O. box or c/o address.

postal_addressobject or null
One of:

Address. Must not be a P.O. box or c/o address.

branch_idstring(uuid)

Unique identifier of the market the user is onboarded on. Only relevant if the client is operating in different markets and the client is configured accordingly

curl -i -X POST \
  'https://sandbox.upvest.co/users/{user_id}/data_change_requests' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'authorization: Bearer c2VjcmV0Cg==' \
  -H 'signature: string' \
  -H 'signature-input: string' \
  -H 'upvest-api-version: 1' \
  -H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062' \
  -d '{
    "first_name": "Karl",
    "last_name": "Schmidt",
    "issuance_date": "2030-01-01",
    "data_download_link": "https://bucket.customer.com/ident/user3.zip",
    "document_type": "ID_CARD"
  }'

Responses

The request has been successfully accepted and will be processed asynchronously.

Headers
upvest-request-idstring(uuid)required
Example: "169ae4c7-ebd7-4041-94da-25369653eba7"
Response
No content

Request

Users 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"USER.CREATED""USER.ACTIVATED""USER.DEACTIVATED""USER.DATA_CHANGED""USER.DATA_CHANGE_FAILED""USER.OFFBOARDING_INITIATED""USER.OFFBOARDED"
objectobjectrequired
One of:
Any of:
idstring(uuid)required

User unique identifier.

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

first_namestring[ 2 .. 100 ] charactersrequired

First name(s) of the user. Please include all first and middle names of the user.

last_namestring[ 1 .. 100 ] charactersrequired

Last name of the user.

birth_datestring(date)required

Birth date of the user in YYYY-MM-DD format. RFC 3339, section 5.6

nationalitiesArray of stringsnon-emptyrequired

Nationalities of the user. ISO 3166 alpha-2 Codes.

Items Enum"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR"
addressobjectrequired

Address. Must not be a P.O. box or c/o address.

address_line1string<= 100 charactersrequired

First address line of the address.

postcodestring^[a-zA-Z0-9][a-zA-Z0-9\s\-]{0,8}[a-zA-Z0-9]?$...required

Postal code (postcode, PIN or ZIP code)

countrystringrequired

Accepted country code. ISO 3166-1 alpha-2 codes.

Enum"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR"
citystring[ 1 .. 85 ] charactersrequired
address_line2string<= 100 characters

Second address line of the address.

statestring<= 50 characters

State, province, county. ISO 3166 alpha-2 Codes.

statusstringrequired

Status of the user.

  • ACTIVE -
  • INACTIVE -
  • OFFBOARDING -
  • OFFBOARDED -
Enum"ACTIVE""INACTIVE""OFFBOARDING""OFFBOARDED"
salutationstring

Salutation of the user used in reports and statements.

  • (empty string) -
  • SALUTATION_MALE -
  • SALUTATION_FEMALE -
  • SALUTATION_FEMALE_MARRIED -
  • SALUTATION_DIVERSE -
Default ""
Enum"""SALUTATION_MALE""SALUTATION_FEMALE""SALUTATION_FEMALE_MARRIED""SALUTATION_DIVERSE"
titlestring

Title of the user used in reports and statements.

  • (empty string) -
  • DR - Doctor
  • PROF - Professor
  • PROF_DR -
  • DIPL_ING - Graduate engineer (Diplom-Ingenieur)
  • MAGISTER -
Default ""
Enum"""DR""PROF""PROF_DR""DIPL_ING""MAGISTER"
birth_citystring[ 1 .. 85 ] characters
birth_countrystring

Accepted country code. ISO 3166-1 alpha-2 codes.

Enum"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR"
birth_namestring<= 100 characters

If applicable, birth name of the user.

postal_addressobject or null
One of:

Address. Must not be a P.O. box or c/o address.

branch_idstring(uuid)

Unique identifier of the market the user is onboarded on. Only relevant if the client is operating in different markets and the client is configured accordingly

webhook_idstring(uuid)required

Webhook unique identifier.

application/json
{ "id": "2df83681-6a42-4837-a554-a8197335bcfa", "created_at": "2021-11-19T13:06:51.980159529Z", "type": "USER.CREATED", "object": { "created_at": "2021-11-22T09:04:42Z", "updated_at": "2021-11-22T09:04:42Z", "first_name": "Jane", "last_name": "Doe", "salutation": "SALUTATION_FEMALE", "title": "PROF", "birth_date": "1990-01-01", "birth_city": "Berlin", "birth_country": "DE", "birth_name": "Smith", "nationalities": [ … ], "address": { … }, "id": "a1752f00-93d5-4b77-a148-959cd315581b", "postal_address": { … }, "status": "ACTIVE", "branch_id": "e6373bfa-ff12-4004-8de9-747ac96764da" }, "webhook_id": "1b097e06-8a14-4181-b72a-de0972a3c57b" }

Responses

Request has been processed successfully.

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

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