create_qr
Generate a QRIS QR code for payment. Specify type as dynamic or static, and include amount for dynamic codes.
Instructions
Create a QRIS QR code for 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": {
"external_id": "<external_id>",
"type": "<type>"
},
"name": "create_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | QR code type | |
| amount | No | Amount (required for DYNAMIC) | |
| external_id | Yes | Unique QR code ID | |
| callback_url | No | Webhook URL for payment notification |