---
url: "https://pay.weixin.qq.com/doc/v3/merchant/4012534352-curl.md"
title: "扣费受理-请求示例-curl"
doc_id: 4012534352
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/vehicle/transactions/parking \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "appid" : "wxcbda96de0b165486",
    "description" : "停车场扣费",
    "attach" : "深圳分店",
    "out_trade_no" : "20150806125346",
    "trade_scene" : "PARKING",
    "goods_tag" : "WXG",
    "notify_url" : "https://www.weixin.qq.com/wxpay/pay.php",
    "profit_sharing" : "Y",
    "amount" : {
      "total" : 888,
      "currency" : "CNY"
    },
    "parking_info" : {
      "parking_id" : "5K8264ILTKCH16CQ250",
      "plate_number" : "粤B888888",
      "plate_color" : "BLUE",
      "start_time" : "2017-08-26T10:43:39+08:00",
      "end_time" : "2017-08-26T10:43:39+08:00",
      "parking_name" : "欢乐海岸停车场",
      "charging_duration" : 3600,
      "device_id" : "12313"
    }
  }'

```
