---
url: "https://pay.weixin.qq.com/doc/v3/partner/4012760615-curl.md"
title: "合单下单-JSAPI-请求示例-curl"
doc_id: 4012760615
example_lang: "curl"
---

## curl


> POST

合单支付-JSAPI合单下单-请求示例

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/combine-transactions/jsapi \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "time_expire" : "2018-06-08T10:34:56+08:00",
    "combine_appid" : "wxd678efh567hg6787",
    "sub_orders" : [
      {
        "mchid" : "1230000109",
        "sub_mchid" : "1900000109",
        "sub_appid" : "wxd678efh567hg6999",
        "out_trade_no" : "20150806125346",
        "amount" : {
          "total_amount" : 10,
          "currency" : "CNY"
        },
        "attach" : "深圳分店",
        "description" : "Image形象店-深圳腾大-QQ公仔",
        "goods_tag" : "WXG",
        "settle_info" : {
          "profit_sharing" : false
        }
      }
    ],
    "combine_payer_info" : {
      "openid" : "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
      "sub_openid" : "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
    },
    "combine_out_trade_no" : "P20150806125346",
    "notify_url" : "https://yourapp.com/notify",
    "combine_mchid" : "1230000109",
    "scene_info" : {
      "device_id" : "POS1:1",
      "payer_client_ip" : "127.0.0.1"
    }
  }'

```
