Create a Tegro.money payment link
tegro_create_payment_linkCreates a payment link for a specified amount and currency. The customer pays on the resulting page; no money is moved until payment is completed.
Instructions
Build a ready-to-open payment URL (SCI form) for a given amount and currency. Needs TEGRO_SECRET_KEY. No money moves until the customer pays on the page.
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_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| test | No | Test payment (no real charge) | |
| amount | Yes | Amount to charge | |
| failUrl | No | ||
| orderId | Yes | Your own unique order id | |
| currency | Yes | Currency code, e.g. RUB, USD, EUR, USDT | |
| notifyUrl | No | ||
| successUrl | No | ||
| paymentSystem | No | Specific payment method id (optional) |