---
url: "https://pay.weixin.qq.com/doc/v3/partner/4012760574-curl.md"
title: "关闭订单-请求示例-curl"
doc_id: 4012760574
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/pay/partner/transactions/out-trade-no/1217752501201407033233368018/close \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "sp_mchid" : "1230000109",
    "sub_mchid" : "1900000109"
  }'

```
