create_usdt_invoice
Create a new non-custodial multi-chain USDT/USDC payment invoice and hosted checkout page on Polygon, BSC, Arbitrum, Base, Ethereum, or Solana settling 100% directly to merchant_wallet with 0% platform custody. State-changing operation creating a single-use pending invoice record (unlimited free calls, no authentication required). Supports recurring SaaS subscriptions via optional customer_ref and billing_days. Returns JSON with ok (boolean), checkout_url (hosted payment page), and invoice (invoice_id, status, amount_usd, network, merchant_wallet, expires_at).
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": {
"title": "<title>",
"amount_usd": "<amount_usd>",
"network": "<network>",
"merchant_wallet": "<merchant_wallet>"
},
"name": "create_usdt_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Human-readable product, order, or subscription plan title displayed on the hosted checkout page (2-140 chars). | |
| network | Yes | Settlement blockchain network (`polygon`, `bsc`, `base`, `arbitrum`, `ethereum`, or `solana`). Defaults to `polygon`. | polygon |
| amount_usd | Yes | Exact invoice price denominated in USD (settled 1:1 in USDT or USDC on-chain, e.g. `19.0`). Must be >= `0.01`. | |
| ttl_minutes | No | Invoice expiration window in minutes (`5` to `43200`). After `ttl_minutes`, unpaid invoices cannot be settled. Defaults to `60`. | |
| webhook_url | No | Optional HTTPS URL to receive an HMAC-SHA256 signed `invoice.paid` POST webhook upon on-chain settlement. | |
| billing_days | No | Optional subscription duration in days (e.g. `30` for monthly, `365` for annual). Pass `0` for one-time purchases. | |
| customer_ref | No | Optional external customer identifier (e.g. email, user ID, or Telegram ID) for tracking recurring subscription status. | |
| merchant_wallet | Yes | Merchant's self-custody receiving wallet address (`0x...` for EVM chains or base58 public key for `solana`). Funds transfer directly here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| invoice | No | ||
| checkout_url | No |