Upvest Investment API.
- Trigger a virtual cash increase
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
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
- Sandbox environment
https://sandbox.upvest.co/virtual_cash_balances/increases
- Live environment
https://api.upvest.co/virtual_cash_balances/increases
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/virtual_cash_balances/increases \
-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 '{
"account_group_id": "2596db3b-0d03-4651-9eda-970910479dfb",
"amount": "200.00",
"currency": "EUR"
}'
Virtual Cash Balances Increase
Status of the virtual cash
- ISSUED - Virtual cash increase is created.
- CONFIRMED - Virtual cash increase was successfully processed.
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
{ "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99", "created_at": "2020-08-24T14:15:22Z", "updated_at": "2020-08-24T14:15:22Z", "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c", "amount": "200.00", "currency": "EUR", "status": "ISSUED" }
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
- Sandbox environment
https://sandbox.upvest.co/virtual_cash_balances/decreases
- Live environment
https://api.upvest.co/virtual_cash_balances/decreases
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/virtual_cash_balances/decreases \
-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 '{
"account_group_id": "2596db3b-0d03-4651-9eda-970910479dfb",
"amount": "200.00",
"currency": "EUR"
}'
Virtual Cash Balances Decrease
Status of the virtual cash
- ISSUED - Virtual cash decrease is created.
- CONFIRMED - Virtual cash decrease was successfully processed.
- QUEUED - Virtual cash decrease was queued.
- CANCELLED - Virtual cash decrease was cancelled.
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
{ "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99", "created_at": "2020-08-24T14:15:22Z", "updated_at": "2020-08-24T14:15:22Z", "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c", "amount": "200.00", "currency": "EUR", "status": "ISSUED" }
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/virtual_cash_balances/decreases/{virtual_cash_decrease_id}
- Live environment
https://api.upvest.co/virtual_cash_balances/decreases/{virtual_cash_decrease_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://sandbox.upvest.co/virtual_cash_balances/decreases/{virtual_cash_decrease_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'
No content