Skip to main content
POST
/
v1
/
account
/
reset-api-balance
Reset Api Balance
curl --request POST \
  --url https://api.polysimulator.com/v1/account/reset-api-balance \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "new_api_balance": "<string>",
  "positions_closed": 123,
  "cooldown_days": 123
}

Authorizations

X-API-Key
string
header
required

Issue from /v1/keys (or admin-issued for enterprise tier).

Headers

authorization
string | null
X-API-Key
string | null
POLY_API_KEY
string | null
Poly-API-Key
string | null

Response

Successful Response

message
string
required
new_api_balance
string
required
positions_closed
integer
required
cooldown_days
integer
required