Upvest Investment API.
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
- Sandbox environment
https://sandbox.upvest.co/users/{user_id}/tax_residencies
- Live environment
https://api.upvest.co/users/{user_id}/tax_residencies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/users/{user_id}/tax_residencies' \
-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'
User tax residencies
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Accepted country code. ISO 3166-1 alpha-2 codes.
{ "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "status": "ACTIVE", "tax_residencies": [ { … }, { … }, { … } ] }
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
Accepted country code. ISO 3166-1 alpha-2 codes.
- Sandbox environment
https://sandbox.upvest.co/users/{user_id}/tax_residencies
- Live environment
https://api.upvest.co/users/{user_id}/tax_residencies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://sandbox.upvest.co/users/{user_id}/tax_residencies' \
-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 '{
"tax_residencies": [
{
"country": "DE",
"tax_identifier_number": "12345678901"
}
]
}'
User tax residencies
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Accepted country code. ISO 3166-1 alpha-2 codes.
{ "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "tax_residencies": [ { … }, { … } ], "status": "ACTIVE" }