Tạo cấu hình webhook
monapay_create_webhookCreate a webhook configuration for MONA Pay to receive payment notifications. Set the callback URL, choose authentication (HMAC_SHA256 recommended), and filter by virtual account.
Instructions
Đăng ký URL nhận webhook khi có tiền vào; khuyến nghị auth_type HMAC_SHA256 + secret_key. / Create a webhook config.
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": {
"name": "<name>",
"webhook_url": "<webhook_url>"
},
"name": "monapay_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| auth_type | No | HMAC_SHA256 | |
| secret_key | No | Secret ký HMAC hoặc giá trị API key | |
| webhook_url | Yes | ||
| api_key_name | No | Tên header khi auth_type=API_KEY, mặc định X-Webhook-Secret | |
| payload_format | No | application/json | |
| virtual_account_id | No | Chỉ bắn cho VA này; bỏ trống = mọi tài khoản |