Deriv API
K

Reset Demo Account Balance

POST
Auth required

Reset balance for Options trading demo account

Endpoint

POST
/trading/v1/options/accounts/{account_id}/reset-demo-balance

Base URL: https://api.derivws.com

Request & Response
View Raw

Status Codes

200

OK - Demo balance successfully reset to default amount

400

Bad request - Invalid account ID or not a demo account

404

Not found - Account not found

Error Responses

The API returns structured error responses with detailed information about what went wrong.

400
Bad request
{
  "errors": [
    {
      "status": 400,
      "code": "ValidationError",
      "message": "Only demo accounts can have their balance reset"
    }
  ],
  "meta": {
    "endpoint": "/accounts/DOT90004580/reset-demo-balance",
    "method": "POST",
    "timing": 34
  }
}

About reset_demo_balance

The reset_demo_balance endpoint reset balance for options trading demo account

Demo Accounts Only

This endpoint only works for demo accounts. Real accounts cannot have their balance reset via API.

Default Balance

The balance is reset to the default amount of $10,000 USD for demo accounts.

Click to open live chat support. Get instant help from our support team.