Generate SDK payment snippet
generate_payment_sdk_snippetGenerates backend code using the official Payram JS/TS SDK to create a 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_sdk_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | Yes | Target framework for the SDK payment snippet. generic-http provides a framework-agnostic example. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| notes | No | ||
| title | Yes | ||
| snippet | Yes |