{
"error":{
"code":null,
"message":"Ваш запрос недействителен!",
"details":"При проверке были обнаружены следующие ошибки - 'Amount' должно быть заполнено.",
"data":{
},
"validationErrors":[
{
"message":"'Amount' должно быть заполнено.",
"members":[
"amount"
]
}
]
}
}
GET https://dg-api.wata.pro/api/orders/steam/amount?NetAmount=1000&Account=accountName
Authorization: Bearer <access-token>
{
"amountTotal": 1033.78
}
POST https://dg-api.wata.pro/api/orders/steam
Authorization: Bearer <access-token>
{
"account": "AccountName",
"amount": 1100,
"netAmount": 1000,
"description": "steam",
"orderId": "100200320",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
{
"orderId": "100200320",
"amount": 1100,
"paymentLink": "https://payment.wata.pro/pay-form/3a1b02f5-d60e-1497-f35e-200xxxxxxx",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
GET https://dg-api.wata.pro/api/orders/steam/100200314
Authorization: Bearer <access-token>
{
"orderId": "100200314",
"amount": 1200,
"status": "Success",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
GET https://dg-api.wata.pro/api/topup
Authorization: Bearer <access-token>
[
{
"gameId": 3,
"gameName": "Genshin Impact",
"positions": [
{
"positionId": 3,
"productId": 3,
"positionName": "60 Genesis Crystals",
"productName": "Genshin Impact",
"price": 72.42,
"category": "Games",
"country": ""
},
{
"positionId": 6,
"productId": 3,
"positionName": "300 Genesis Crystals",
"productName": "Genshin Impact",
"price": 368.88,
"category": "Games",
"country": ""
},
},
{
"gameId": 4,
"gameName": "Honkai Star Rail",
"positions": [
{
"positionId": 4,
"productId": 4,
"positionName": "60 Oneiric Shard",
"productName": "Honkai Star Rail",
"price": 94.57,
"category": "Games",
"country": ""
},
{
"positionId": 11,
"productId": 4,
"positionName": "300 Oneiric Shard",
"productName": "Honkai Star Rail",
"price": 382.5,
"category": "Games",
"country": ""
},
},
]
GET https://dg-api.wata.pro/api/topup/3
Authorization: Bearer <access-token>
{
"gameId": 3,
"gameName": "Genshin Impact",
"positions": [
{
"positionId": 9,
"productId": 3,
"positionName": "3280 Genesis Crystals",
"productName": "Genshin Impact",
"price": 3704.1,
"category": null,
"country": null
},
{
"positionId": 8,
"productId": 3,
"positionName": "1980 Genesis Crystals",
"productName": "Genshin Impact",
"price": 2407.5,
"category": null,
"country": null
},
],
"fields": [
"Server",
"User ID"
],
"servers": {
"Asia": "os_asia",
"Europe": "os_euro",
"America": "os_usa",
"TW, HK, MO": "os_cht"
},
}
POST https://dg-api.wata.pro/api/topup
Authorization: Bearer <access-token>
Content-Type: application/json
{
"orderId": "300200101",
"amount": 75,
"positionId": 3,
"description": "test",
"fields": {
"server": "os_asia",
"userId": "test"
},
"email": "test@mail.com",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}'
{
"orderId": "300200101",
"amount": 75,
"price": 72.42,
"userId": "test",
"email": "test@mail.com",
"positionId": 3,
"server": "os_asia",
"paymentLink": "<paymentLink>",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
GET https://dg-api.wata.pro/api/topup/order/300200101
Authorization: Bearer <access-token>
{
"amount": 75,
"userId": "test",
"orderId": "300200101",
"status": "Success",
"positionId": 3,
"gameId": 3,
"server": "os_asia",
"email": "test@mail.com",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
GET https://dg-api.wata.pro/api/vouchers/services
Authorization: Bearer <access-token>
[
{
"id": 2,
"name": "Spotify"
},
{
"id": 1,
"name": "Steam"
},
{
"id": 3,
"name": "Valorant"
}
]
GET https://dg-api.wata.pro/api/vouchers?serviceId=1
Authorization: Bearer <access-token>
{
"id": 16,
"price": 418.11,
"name": "$5 Steam Wallet Code",
"service": "Steam",
"country": "US США",
"count": 6902
},
{
"id": 62,
"price": 11173.67,
"name": "1000 HKD",
"service": "Steam",
"country": "HK Гонконг",
"count": 5
},
{
"id": 30,
"price": 831.04,
"name": "$10 Steam Wallet Code",
"service": "Steam",
"country": "AR Аргентина",
"count": 49
},
POST https://dg-api.wata.pro/api/vouchers/buy
Authorization: Bearer <access-token>
Content-Type: application/json
{
"voucherId": 16,
"amount": 500,
"count": 1,
"orderId": "500200100",
"email": "test@mail.com",
"description": "test",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
{
"orderId": "500200100",
"amount": 500,
"price": 418.11,
"codeId": 16,
"count": 1,
"email": "test@mail.com",
"paymentLink": "<paymentLink>",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}
GET https://dg-api.wata.pro/api/vouchers/order/500200100
Authorization: Bearer <access-token>
{
"orderId": "500200100",
"amount": 500,
"status": "SUCCESS",
"codeId": 16,
"count": 1,
"vouchers": [
"RA-89AHCYJHL6UFFLCN"
],
"description": null,
"creationTime": "2025-08-21T13:57:40.006531Z",
"successRedirectUrl": "string",
"failRedirectUrl": "string"
}