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.
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 |