Base URL: https://b.vostok.govidi.ru/api/v1
Auth: header X-API-Key: your-token or Authorization: Bearer your-token
GET /api/v1/status — System status
GET /api/v1/news — Latest news
GET /api/v1/balance — Account balances
GET /api/v1/transactions?limit=20&offset=0 — Transaction history
POST /api/v1/transfer — Transfer funds
{
"from_account_id": 1,
"to_number": "4080000000000001",
"amount": 100.50,
"currency": "DIAMOND",
"description": "Payment"
}
POST /api/v1/biz/invoice — Create invoice
GET /api/v1/biz/invoices — List invoices
POST /api/v1/biz/invoice/:id/pay — Pay invoice
GET /api/v1/p2p/orders — Open P2P orders
POST /api/v1/p2p/order — Create P2P order
GET /api/v1/notifications — User notifications
{
"success": true,
"data": { ... }
}
// Error:
{
"error": "Message",
"code": 400
}
200 OK, 201 Created, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 422 Unprocessable