Upvest Investment API.
Upvest Investment API (1.79.0)
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
A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency
Direction of the securities transfer
INCOMING- Securities transfer is incoming to the user.- OUTGOING - Securities transfer is outgoing from the user.
Type of the securities transfer
- NO_OWNER_CHANGE - No change of ownership.
Unique identifier of the account transfer set by API consumers. Useful for API consumers to build special logic on top of it. NOTE: This reference will be set and be common to all securities transfers
For INCOMING at least one instrument should be defined. For OUTGOING an empty list means full transfer of full units of the account.
ISIN or other identity (depends on instrument_id_type) of the security to be transferred.
Type of the instrument_id
ISIN- International Securities Identification Number
The quantity of instrument to move in or out. The value supported is maximum 15 digits including decimal place. Note: For INCOMING the end user ensures that they don't sell their instruments on the counter-broker to enable smooth transfer of their instruments on Upvest platform.
Business Identifier Code (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) ISO 9362.
The account number is composed of valid Swift charset with a max length of 28 if provided. The account number helps other brokers identify the owner of the assets.
Optional forecast date when the trade takes place. If provided, usually T+1 is sufficient. Depending on the market this means valid working days. Date in YYYY-MM-DD format. NOTE: Each individual transfer can differ based on market needs.
- Sandbox environmenthttps://sandbox.upvest.co/account_transfers
- Live environmenthttps://api.upvest.co/account_transfers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/account_transfers \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'idempotency-key: ccb07f42-4104-44ad-8e1f-c660bb7b269c' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062' \
-d '{
"direction": "INCOMING",
"user_id": "7e9a0529-d289-4f4a-ae01-c2cd013d582e",
"account_id": "d396b7c3-aa67-488a-8e39-4a1a7cbeb9f4",
"transfer_type": "NO_OWNER_CHANGE",
"settlement_reference": "b82dc5985558fdr2",
"instruments": [
{
"id": "US0378331005",
"id_type": "ISIN",
"quantity": "10"
},
{
"id": "US64110L1061",
"id_type": "ISIN",
"quantity": "5"
}
],
"counterparty": {
"bic": "ABCDDEFFXXX",
"account_number": "1234567891",
"name": "Max Mustermann"
}
}'Account Transfer created
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Direction of the account transfer
- INCOMING - account transfer is incoming to the user.
- OUTGOING - account transfer is outgoing from the user.
Status of the account transfer
- NEW - account transfer is created but not started processing.
- PROCESSING - account transfer is in processing.
- SETTLED - account transfer was successfully settled.
- PARTIALLY_SETTLED - account transfer was partially settled, while some instrument got cancelled.
- CANCELLED - account transfer was cancelled.
Type of the account transfer
- NO_OWNER_CHANGE - No change of ownership.
List of instruments positions.
ISIN or other identity (depends on instrument_id_type) of the security to be transferred.
Type of the instrument_id
ISIN- International Securities Identification Number
Status of the securities transfer
NEW- Securities transfer is created but not started processing.PROCESSING- Securities transfer is in processing.SETTLED- Securities transfer was successfully settled.CANCELLED- Securities transfer was cancelled.
Unique identifier of the account transfer set by API consumers. Useful for API consumers to build special logic on top of it. NOTE: This reference will be set and be common to all securities transfers.
Business Identifier Code (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) ISO 9362.
The account number is composed of valid Swift charset with a max length of 28 if provided. The account number helps other brokers identify the owner of the assets.
The forecast date when the trade takes place. Date in YYYY-MM-DD format. NOTE: This date mirrors the preliminary date if given in request as input, each single transfer can have their own date according to market needs.
{ "id": "63da4452-2dd3-4414-a7ca-66c0e3e89645", "created_at": "2025-01-22T14:10:00.00Z", "updated_at": "2025-01-22T14:12:34.56Z", "direction": "INCOMING", "status": "NEW", "transfer_type": "NO_OWNER_CHANGE", "instruments": [ { … }, { … } ], "user_id": "7e9a0529-d289-4f4a-ae01-c2cd013d582e", "account_id": "d396b7c3-aa67-488a-8e39-4a1a7cbeb9f4", "settlement_reference": "b82dc5985558fdr2", "counterparty": { "bic": "ABCDDEFFXXX", "account_number": "1234567891", "name": "Max Mustermann" } }
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
- Sandbox environmenthttps://sandbox.upvest.co/account_transfers/{account_transfer_id}
- Live environmenthttps://api.upvest.co/account_transfers/{account_transfer_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/account_transfers/{account_transfer_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'Account Transfer object
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Direction of the account transfer
- INCOMING - account transfer is incoming to the user.
- OUTGOING - account transfer is outgoing from the user.
Status of the account transfer
- NEW - account transfer is created but not started processing.
- PROCESSING - account transfer is in processing.
- SETTLED - account transfer was successfully settled.
- PARTIALLY_SETTLED - account transfer was partially settled, while some instrument got cancelled.
- CANCELLED - account transfer was cancelled.
Type of the account transfer
- NO_OWNER_CHANGE - No change of ownership.
List of instruments positions.
ISIN or other identity (depends on instrument_id_type) of the security to be transferred.
Type of the instrument_id
ISIN- International Securities Identification Number
Status of the securities transfer
NEW- Securities transfer is created but not started processing.PROCESSING- Securities transfer is in processing.SETTLED- Securities transfer was successfully settled.CANCELLED- Securities transfer was cancelled.
Unique identifier of the account transfer set by API consumers. Useful for API consumers to build special logic on top of it. NOTE: This reference will be set and be common to all securities transfers.
Business Identifier Code (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) ISO 9362.
The account number is composed of valid Swift charset with a max length of 28 if provided. The account number helps other brokers identify the owner of the assets.
The forecast date when the trade takes place. Date in YYYY-MM-DD format. NOTE: This date mirrors the preliminary date if given in request as input, each single transfer can have their own date according to market needs.
{ "id": "63da4452-2dd3-4414-a7ca-66c0e3e89645", "created_at": "2025-01-22T14:10:00.00Z", "updated_at": "2025-01-22T14:12:34.56Z", "direction": "INCOMING", "status": "NEW", "transfer_type": "NO_OWNER_CHANGE", "instruments": [ { … }, { … } ], "user_id": "7e9a0529-d289-4f4a-ae01-c2cd013d582e", "account_id": "d396b7c3-aa67-488a-8e39-4a1a7cbeb9f4", "settlement_reference": "b82dc5985558fdr2", "counterparty": { "bic": "ABCDDEFFXXX", "account_number": "1234567891", "name": "Max Mustermann" } }
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
Event type
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Direction of the account transfer
- INCOMING - account transfer is incoming to the user.
- OUTGOING - account transfer is outgoing from the user.
Status of the account transfer
- NEW - account transfer is created but not started processing.
- PROCESSING - account transfer is in processing.
- SETTLED - account transfer was successfully settled.
- PARTIALLY_SETTLED - account transfer was partially settled, while some instrument got cancelled.
- CANCELLED - account transfer was cancelled.
Type of the account transfer
- NO_OWNER_CHANGE - No change of ownership.
List of instruments positions.
ISIN or other identity (depends on instrument_id_type) of the security to be transferred.
Type of the instrument_id
ISIN- International Securities Identification Number
Status of the securities transfer
NEW- Securities transfer is created but not started processing.PROCESSING- Securities transfer is in processing.SETTLED- Securities transfer was successfully settled.CANCELLED- Securities transfer was cancelled.
Unique identifier of the account transfer set by API consumers. Useful for API consumers to build special logic on top of it. NOTE: This reference will be set and be common to all securities transfers.
Business Identifier Code (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) ISO 9362.
The account number is composed of valid Swift charset with a max length of 28 if provided. The account number helps other brokers identify the owner of the assets.
The forecast date when the trade takes place. Date in YYYY-MM-DD format. NOTE: This date mirrors the preliminary date if given in request as input, each single transfer can have their own date according to market needs.
- Sandbox environmenthttps://sandbox.upvest.co/Account Transfers events
- Live environmenthttps://api.upvest.co/Account Transfers events
{ "id": "b5d0d9d0-bb8e-48b4-b2af-11df2b522353", "created_at": "2024-01-22T14:10:00.00Z", "type": "ACCOUNT_TRANSFER.NEW", "object": { "id": "63da4452-2dd3-4414-a7ca-66c0e3e89645", "created_at": "2025-01-22T14:10:00.00Z", "updated_at": "2025-01-22T14:12:34.56Z", "direction": "INCOMING", "status": "NEW", "transfer_type": "NO_OWNER_CHANGE", "instruments": [ … ], "user_id": "7e9a0529-d289-4f4a-ae01-c2cd013d582e", "account_id": "d396b7c3-aa67-488a-8e39-4a1a7cbeb9f4", "settlement_reference": "b82dc5985558fdr2", "counterparty": { … } }, "webhook_id": "cab4673a-1381-4404-aec4-982dae33a38c" }