Upvest Investment API.
- Retrieve a user report
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
Order details.
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN -
- Sandbox environment
https://sandbox.upvest.co/reports
- Live environment
https://api.upvest.co/reports
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/reports \
-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 '{
"type": "ORDER_EX_ANTE_COST",
"order": {
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"account_id": "c5034305-c441-4711-adbf-93cfbc13a695",
"order_type": "MARKET",
"side": "BUY",
"instrument_id": "LU0274208692",
"instrument_id_type": "ISIN",
"currency": "EUR",
"quantity": "15"
},
"fees": [
{
"type": "TRANSACTION_FEE_BUY",
"value_type": "ABSOLUTE",
"cash_amount": "0.80",
"currency": "EUR"
},
{
"type": "TRANSACTION_FEE_SELL",
"value_type": "ABSOLUTE",
"cash_amount": "0.95",
"currency": "EUR"
},
{
"type": "ANNUAL_AUM_BASED_FEE",
"value_type": "RELATIVE",
"bps": "37"
}
],
"inducements": [
{
"value_type": "ABSOLUTE",
"cash_amount": "0.10",
"currency": "EUR"
}
]
}'
{ "id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f", "created_at": "2023-08-24T14:15:22Z", "user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5", "type": "ORDER_EX_ANTE_COST", "substituted_report_id": null, "data": { "account": { … }, "account_group": { … }, "user": { … }, "instrument": { … }, "venue": { … }, "order": { … }, "holding_period": { … }, "total_cost": { … }, "product_cost": { … }, "service_cost": { … }, "third_party_payments": { … }, "return_impact": { … } } }
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
Upvest API version (Note: Do not include quotation marks)
- Sandbox environment
https://sandbox.upvest.co/reports/{report_id}
- Live environment
https://api.upvest.co/reports/{report_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/reports/{report_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'accept: 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'
Report
- application/json
- application/pdf
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Report type
- ACCOUNT_CLOSING - Securities account closure
- ACCOUNT_OPENING - Securities account opening
- AD_HOC_ACCOUNT_STATEMENT - Ad hoc account statement
- ANNUAL_ACCOUNT_STATEMENT - Annual account statement
- ANNUAL_INCOME_STATEMENT - Annual tax income statement ("Erträgnisaufstellung")
- ANNUAL_TAX_STATEMENT - Annual tax reporting
- BANK_ACCOUNT_CONNECTED - Connect reference bank account
- BUY_ORDER - Buy order
- CANCELLED_ORDER - Cancelled buy or sell order (not yet executed, user cancels or trading venue cancelled)
- CORPORATE_ACTION_CASH_TRANSACTION - cash transaction document (after corporate action)
- CORPORATE_ACTION_SECURITY_TRANSACTION - security transaction document (after corporate action)
- DIRECT_DEBIT_MANDATE - Creation of SEPA direct debit mandate
- EX_POST_COST - Ex-post cost report
- FUND_COMMUNICATION - Generic fund communication
- GENERAL_MEETING_NOTIFICATION - General meeting notification
- GENERIC_COMMUNICATION - Generic communication
- INCOME_DISTRIBUTION - Income distribution report
- INCOME_REINVESTMENT - Reinvestment billing report (accumulating funds)
- QUARTERLY_ACCOUNT_STATEMENT - Quarterly account statement
- REVOKED_ORDER - Revoked buy or sell order ("Storno")
- SECURITIES_TRANSFER_INCOMING - Securities are transferred in
- SECURITIES_TRANSFER_OUTGOING - Securities are being transferred out
- SELL_ORDER - Sell order
- TAX_EXEMPTION_CREATION - Creation of exemption order ("Freistellungsauftrag")
- TAX_PAYMENT - Tax payment document
- TAX_PREPAYMENT_DE - German tax prepayment (Vorabpauschale)
- TAX_REFUND - Tax refund document (after tax optimization)
{ "id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f", "created_at": "2020-08-24T14:15:22Z", "user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5", "type": "BUY_ORDER", "substituted_report_id": null, "data": { "account": { … } } }
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Report type
- ACCOUNT_CLOSING - Securities account closure
- ACCOUNT_OPENING - Securities account opening
- AD_HOC_ACCOUNT_STATEMENT - Ad hoc account statement
- ANNUAL_ACCOUNT_STATEMENT - Annual account statement
- ANNUAL_INCOME_STATEMENT - Annual tax income statement ("Erträgnisaufstellung")
- ANNUAL_TAX_STATEMENT - Annual tax reporting
- BANK_ACCOUNT_CONNECTED - Connect reference bank account
- BUY_ORDER - Buy order
- CANCELLED_ORDER - Cancelled buy or sell order (not yet executed, user cancels or trading venue cancelled)
- CORPORATE_ACTION_CASH_TRANSACTION - cash transaction document (after corporate action)
- CORPORATE_ACTION_SECURITY_TRANSACTION - security transaction document (after corporate action)
- DIRECT_DEBIT_MANDATE - Creation of SEPA direct debit mandate
- EX_POST_COST - Ex-post cost report
- FUND_COMMUNICATION - Generic fund communication
- GENERAL_MEETING_NOTIFICATION - General meeting notification
- GENERIC_COMMUNICATION - Generic communication
- INCOME_DISTRIBUTION - Income distribution report
- INCOME_REINVESTMENT - Reinvestment billing report (accumulating funds)
- QUARTERLY_ACCOUNT_STATEMENT - Quarterly account statement
- REVOKED_ORDER - Revoked buy or sell order ("Storno")
- SECURITIES_TRANSFER_INCOMING - Securities are transferred in
- SECURITIES_TRANSFER_OUTGOING - Securities are being transferred out
- SELL_ORDER - Sell order
- TAX_EXEMPTION_CREATION - Creation of exemption order ("Freistellungsauftrag")
- TAX_PAYMENT - Tax payment document
- TAX_PREPAYMENT_DE - German tax prepayment (Vorabpauschale)
- TAX_REFUND - Tax refund document (after tax optimization)
- Sandbox environment
https://sandbox.upvest.co/User reports events
- Live environment
https://api.upvest.co/User reports events
{ "id": "8962b496-8d42-4560-bfab-10490dd1a721", "created_at": "2021-07-21T14:10:00.00Z", "type": "REPORT.CREATED", "object": { "id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f", "created_at": "2020-08-24T14:15:22Z", "user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5", "type": "CORPORATE_ACTION_CASH_TRANSACTION", "substituted_report_id": null, "data": { … } }, "webhook_id": "9df39835-be87-4243-9018-f2500b39cee6" }