---
url: "https://pay.weixin.qq.com/doc/v3/partner/4012533994-curl.md"
title: "创建停车入场-请求示例-curl"
doc_id: 4012533994
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/vehicle/parking/parkings \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "sub_mchid" : "1900000109",
    "out_parking_no" : "1231243",
    "plate_number" : "粤B888888",
    "plate_color" : "BLUE",
    "notify_url" : "https://www.weixin.qq.com/wxpay/pay.php",
    "start_time" : "2017-08-26T10:43:39+08:00",
    "parking_name" : "欢乐海岸停车场",
    "free_duration" : 3600
  }'

```
