# Close Orders

# Examples of Interface Requests

Interface Force Check Source IP

http请求方式:POST
https://api.weixin.qq.com/shop/pay/closeorder?access_token=xxxxxxxxx

# Example of request parameters

{
    "openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
    "combine_trade_no": "P20150806125346",
    "sub_orders":[
      {
          "mchid":"1900000109",
          "trade_no":"20150806125346"
      }
    ]
}

# Examples of back-up

{
    "errcode": 0,
    "errmsg":"ok"
}

# Dxplaination of request parameters

parameter type Is it compulsory? Introductions
openid string yes User's openid
combine_trade_no string yes Total transaction number for merchant contract payment
sub_orders Array Object SubCloseOrder yes List of Sublists

# Object SubCloseOrder

Field Name type Is it compulsory? Introductions
mchid string yes Merchant account number corresponding to transaction order
trade_no string yes Merchant transaction number

# Return parameter explaination

Field Name type Is it compulsory? Introductions
errcod number yes Error code
errmsg string yes Error message