Accounts

Close account by ID

Initiates the closure of the account specified by its ID.

Closure is a two-step process: the account status changes to CLOSING, and once all preconditions are met the account transitions to CLOSED. While in CLOSING, only sell orders and transfers of positions out of the account are permitted. Subscribe to the ACCOUNT.CLOSING_INITIATED and ACCOUNT.CLOSED webhook events to track progress.

See the Closing accounts guide (TOL / BYOL) for preconditions and implementation details.

delete/accounts/{account_id}

Request

  • Base URL: https://sandbox.upvest.co
  • URL: https://sandbox.upvest.co/accounts/{account_id}
  • Auth: OAuth 2 (client credentials, token URL https://sandbox.upvest.co/auth/token, scopes: accounts:admin)

Response

The request has been successfully accepted and will be processed asynchronously.

Changes

No recorded changes to this operation across all 25 revisions of this API.