Appearance
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
| Field | Type | Description |
|---|---|---|
project_id | string | Your project identifier |
balance | number | Available balance (1$ = 1000) |
hold_balance | number | Balance frozen for pending trades (1$ = 1000) |
Field Mapping
| Deprecated API Field | Native API Field |
|---|---|
balance | balance |
hold_balance | frozen_balance |
project_id | (user ID) |