create_widget
Creates a new payment widget with a unique key, name, payment type, and optional template so you can set up a checkout interface for Bootpay payment flows.
Instructions
새 결제 위젯을 생성합니다. 위젯 키, 이름, 타입, 템플릿을 지정할 수 있습니다. ⚠️ 프로젝트가 선택되지 않았으면 먼저 browser_select_project로 프로젝트를 선택하세요. (로그인 필요)
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": {
"key": "<key>",
"name": "<name>"
},
"name": "create_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 위젯 고유 키 (영문, 숫자, 하이픈 조합) | |
| name | Yes | 위젯 이름 (예: "기본 결제 위젯") | |
| type | No | 위젯 타입 (0: 일반결제, 1: 기본결제, 2: 구독결제) | |
| template_key | No | 사용할 템플릿 키 (list_widgets에서 templates 확인) |