---
url: "https://pay.weixin.qq.com/doc/v3/partner/4012471333-curl.md"
title: "创建商户违规通知回调地址-请求示例-curl"
doc_id: 4012471333
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/merchant-risk-manage/violation-notifications \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "notify_url" : "https://www.weixin.qq.com/wxpay/pay.php"
  }'

```
