Skip to content

Wallet API (Deprecated API Backward Compatibility)

Drop-in replacement for the deprecated Wallet API.

Base path: /api/Wallet

INFO

This is the compatibility layer. If you're building a new integration, consider using the native Wallet API instead.

Get Balance

GET /api/Wallet/GetBalance

Returns the project wallet balance in deprecated API format.

bash
curl -X GET "https://market.vpsbot.io/api/Wallet/GetBalance" \
  -H "x-api-key: YOUR_API_KEY"
js
const { data } = await client.get('/api/Wallet/GetBalance');

Example Response

json
{
  "project_id": "uuid-project-id",
  "balance": 50000,
  "hold_balance": 1245
}

Deprecated API Balance Object Schema

FieldTypeDescription
project_idstringYour project identifier
balancenumberAvailable balance (1$ = 1000)
hold_balancenumberBalance frozen for pending trades (1$ = 1000)

Field Mapping

Deprecated API FieldNative API Field
balancebalance
hold_balancefrozen_balance
project_id(user ID)

Need help? Contact our support team