create_payment
Create a payment request (payment link) for a customer to pay the merchant in crypto. Returns a transaction the customer can pay.
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": {
"crypto": "<crypto>",
"amount": "<amount>"
},
"name": "create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to charge in the fiat currency below. | |
| crypto | Yes | Coin to receive, e.g. BTC, LTC, ETH, USDT. | |
| metadata | No | Optional notes saved on the payment and returned by list_payments/get_payment, e.g. {"client":"Acme","project":"Logo"}. String values, max 20 keys. | |
| currency_fiat | No | Fiat currency: USD, EUR, GBP, PLN (default USD). | |
| customer_email | No | Optional: pre-fill the payment page email. |