chainpay_create_order
Create a cryptocurrency payment order and receive a payment URL and wallet address for the payer. Supports USDT and USDC on TRON, BSC, and POLYGON.
Instructions
Create a new cryptocurrency payment order. Returns a payment URL and wallet address for the payer. Supported chains: TRON / BSC / POLYGON. Call chainpay_get_supported_chains first to check minimum amounts.
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": {
"merchant_order_no": "<merchant_order_no>",
"chain": "<chain>",
"token": "<token>",
"amount": "<amount>"
},
"name": "chainpay_create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_order_no | Yes | Your unique order identifier (max 64 chars) | |
| chain | Yes | Blockchain network: "TRON" / "BSC" / "POLYGON" | |
| token | Yes | Token symbol: "USDT" or "USDC" (availability depends on chain) | |
| amount | Yes | Payment amount in USD, e.g. "100.00" | |
| callback_url | No | Webhook URL for payment status notifications | |
| redirect_url | No | URL to redirect payer after successful payment |