Upvest Investment API.
- Close an account group by ID
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/account_groups/{account_group_id}
- Live environment
https://api.upvest.co/account_groups/{account_group_id}
- 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}' \
-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'
OK
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
Status of the account group
- PENDING_APPROVAL - Account group approval is pending - the account group is visible through our API but cannot be acted on.
- ACTIVE - Account group is active - full functionality of the Investment API is accessible.
- CLOSING - Account group is closing.
- CLOSED - Account group is closed.
- LOCKED - Account group is locked for all actions.
Account group type.
- PERSONAL - Account group of a person holding assets on their own behalf.
- LEGAL_ENTITY - Account group of a legal entity holding assets on behalf of their users.
- FRENCH_PEA - Account group of a french resident holding assets in Plan d'Epargne en Actions.
- ISA - Account group of a UK resident holding assets in an individual savings account.
- CHILD - Account group of a child user holding assets in a child account.
{ "id": "9d95820d-4333-46b6-98de-04ab7512e76f", "created_at": "2020-08-24T14:15:22Z", "updated_at": "2020-08-24T14:15:22Z", "type": "PERSONAL", "status": "ACTIVE", "users": [ { … } ], "securities_account_number": "123456789" }
Records the reason for the account group closure.
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}
- Live environment
https://api.upvest.co/account_groups/{account_group_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://sandbox.upvest.co/account_groups/{account_group_id}?closure_reason=dunning¬ification_only=true' \
-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
Sort the result by created_at
, updated_at
.
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
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
- Live environment
https://api.upvest.co/account_groups
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/account_groups?sort=created_at&order=ASC&offset=0&limit=100' \
-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'
OK
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
Status of the account group
- PENDING_APPROVAL - Account group approval is pending - the account group is visible through our API but cannot be acted on.
- ACTIVE - Account group is active - full functionality of the Investment API is accessible.
- CLOSING - Account group is closing.
- CLOSED - Account group is closed.
- LOCKED - Account group is locked for all actions.
Account group type.
- PERSONAL - Account group of a person holding assets on their own behalf.
- LEGAL_ENTITY - Account group of a legal entity holding assets on behalf of their users.
- FRENCH_PEA - Account group of a french resident holding assets in Plan d'Epargne en Actions.
- ISA - Account group of a UK resident holding assets in an individual savings account.
- CHILD - Account group of a child user holding assets in a child account.
{ "meta": { "offset": 0, "limit": 100, "count": 1, "total_count": 1, "sort": "created_at", "order": "ASC" }, "data": [ { … } ] }