Skip to main content

TopUp + Acquiring

Getting the list of games and top-ups

Get the list of all games and available in-game top-ups

GET /api/v3/topup/all

Response parameters

ParameterTypeComment
categoryIdNumberGame number
categoryNameStringGame name
typeStringDigital goods category name ("DirectTopUp")
fieldsListThe list of required parameters for placing an order. Parameters differ between games! For example, for Genshin Impact: "fields": [{"Input1": "User ID", "Regex": "(7|8|18|6|9)\\d{8}"}]
productsListThe list of items within the game (if the game is unavailable, the list is empty)
idNumberItem number
nameStringItem name
priceNumberThe item's acquisition cost, in RUB
minPriceNumberThe minimum sale price, in RUB (acquisition cost plus the minimum WATA commission)
isAvailabletrue/falseItem availability

Purchasing a game item

Create an order to purchase a game item and get a payment link.

The merchant income is the game item's sale price minus the WATA commission (% of the price) and the item's acquisition cost

POST /api/v3/topup

Request parameters

ParameterRequiredTypeComment
topupIdYesNumberItem number
amountYesNumberThe game item's sale price in rubles (the payment link is created for this amount). Value constraints: minPrice <= amount <= minPrice*1.5
orderIdYesStringOrder number
fieldsYesListThe list of required parameters for placing an order. It depends on the selected game — see Getting the list of games and top-ups
emailYesStringUser's email
descriptionYesStringComments on the order
successRedirectUrlNoStringThe store page URL the payer is redirected to if the order payment succeeds
failRedirectUrlNoStringThe store page URL the payer is redirected to if the order payment fails

Response parameters

ParameterTypeComment
orderIdStringOrder number
amountNumberThe game item's sale price, in RUB
commissionNumberThe WATA commission, in RUB
orderPriceNumberThe game item's acquisition cost, in RUB
topupIdNumberItem number
emailStringUser's email
paymentLinkStringThe payment link URL
successRedirectUrlStringThe store page URL the payer is redirected to if the order payment succeeds
failRedirectUrlStringThe store page URL the payer is redirected to if the order payment fails

Checking order status

GET /api/v3/topup/orders/{id}

Request parameters

ParameterRequiredTypeComment
idYesStringOrder number

Response parameters

ParameterTypeComment
orderIdStringOrder number
statusStringOrder status. Possible values: Pending (awaiting payment) → Paid (order paid, being fulfilled) → Success (order fulfilled) / Fail (error)
amountNumberThe item's sale price, in RUB
orderPriceNumberThe item's acquisition cost, in RUB
topupIdNumberItem number
emailStringUser's email
paymentLinkStringThe payment link
successRedirectUrlStringThe store page URL the payer is redirected to if the order payment succeeds
failRedirectUrlStringThe store page URL the payer is redirected to if the order payment fails