Upvest Investment API.
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - Great British Pound
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/account_groups/{account_group_id}/payments/cash_balances/{currency}
- Live environment
https://api.upvest.co/account_groups/{account_group_id}/payments/cash_balances/{currency}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/account_groups/{account_group_id}/payments/cash_balances/{currency}' \
-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'
Response
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - Great British Pound
{ "account_group_id": "d0fc0305-97b7-4e3b-bddf-66d3c434898c", "currency": "EUR", "balance": "100", "locked_for_trading": "10", "pending_settlement": "10", "available_for_withdrawal": "80", "available_for_trading": "80" }
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/account_groups/{account_group_id}/payments/cash_balance
- Live environment
https://api.upvest.co/account_groups/{account_group_id}/payments/cash_balance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/account_groups/{account_group_id}/payments/cash_balance' \
-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'
Response
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - Great British Pound
{ "account_group_id": "d0fc0305-97b7-4e3b-bddf-66d3c434898c", "currency": "EUR", "balance": "100", "locked_for_trading": "10", "pending_settlement": "10", "available_for_withdrawal": "80", "available_for_trading": "80" }
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/account_groups/{account_group_id}/payments/cash_balances
- Live environment
https://api.upvest.co/account_groups/{account_group_id}/payments/cash_balances
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/account_groups/{account_group_id}/payments/cash_balances' \
-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'
Response
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - Great British Pound
{ "meta": { "count": 2, "total_count": 2, "offset": 0, "limit": 100 }, "data": [ { … }, { … } ] }