Generate integration code
payments_generate_integrationGenerates production-shaped payment gateway integration files, including server routes for orders, callbacks, and webhooks, client checkout code, an env template, and a test checklist.
Instructions
Generate a working, production-shaped integration for a project: server routes (create order, verify callback, webhook), client checkout code, env template and a test checklist. Returns files with paths and contents for the agent to write.
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": {
"provider": "<provider>",
"framework": "<framework>"
},
"name": "payments_generate_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| features | No | Default: checkout + webhooks | |
| provider | Yes | Gateway id | |
| framework | Yes | Target stack |