---
url: "https://pay.weixin.qq.com/doc/v3/partner/4013138589-curl.md"
title: "取消支付分订单-请求示例-curl"
doc_id: 4013138589
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/1234323JKHDFE1243252/cancel \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "service_id" : "2002000000000558128851361561536",
    "sub_mchid" : "1900000109",
    "reason" : "用户投诉"
  }'

```
