Статус заказа (topup или ваучеры)
wata_dg_order_getCheck an order's status and retrieve voucher codes for acquiring-paid vouchers, using the order ID and payment method.
Instructions
Проверяет статус заказа. Для ваучеров с оплатой acquiring здесь же возвращаются коды ваучеров.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payment": "<payment>",
"id": "<id>"
},
"name": "wata_dg_order_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Идентификатор заказа | |
| kind | No | Нужно только для payment=acquiring | |
| payment | Yes | acquiring — платит покупатель; deposit — списывается с депозита мерчанта |