Generate payment route snippet
generate_payment_route_snippetGenerates a ready-to-use backend endpoint (e.g., /api/pay/create) that creates a Payram payment.
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": {
"framework": "<framework>"
},
"name": "generate_payment_route_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | Yes | Web framework for the payment route handler (Express.js or Next.js) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| notes | No | ||
| title | Yes | ||
| snippet | Yes |