Create a Tegro.money invoice (REST)
tegro_create_orderCreate a payment order for your shop and get the payment URL and order details via the REST API.
Instructions
Create a payment order via the REST API and get back its details/URL. Needs TEGRO_API_KEY. Collects a payment into the shop.
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": {
"amount": "<amount>",
"currency": "<currency>",
"orderId": "<orderId>"
},
"name": "tegro_create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | ||
| No | |||
| amount | Yes | ||
| orderId | Yes | Your own unique order id | |
| currency | Yes | RUB, USD, EUR, USDT, … | |
| paymentSystem | No |