Create a top-up order (returns a payment link)
create_orderCreate a top-up order and get a payment link. Nothing is charged by this call: a person must open payment_url and pay in cryptocurrency on NOWPayments. Delivery to the phone is automatic after the payment confirms. Before calling, confirm the phone number, operator, product and price with the person: delivered top-ups cannot be reversed. You may ask which coin they want to pay with (list_payment_coins) and pass it as pay_with; it is optional. amount and currency must match the product's price (or lie inside its price_range).
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": {
"sku": "<sku>",
"phone": "<phone>",
"amount": "<amount>",
"currency": "<currency>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | sku from list_products | |
| phone | Yes | Recipient's full international number, e.g. +525512345678 | |
| amount | Yes | Price to pay, from list_products | |
| currency | Yes | Price currency from list_products, e.g. EUR | |
| pay_with | No | Optional coin code from list_payment_coins, e.g. usdttrc20. The payment page then opens with that coin selected. |