Tạo cấu hình webhook
monapay_create_webhookRegister a webhook URL to get notified when incoming payments arrive. Configure auth type and secret key for secure delivery.
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.
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 |