POST api/offline/ScanQRCode/AliPay
支付宝扫码支付
Request Information
URI Parameters
None.
Body Parameters
WeChatQRCodePayRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId |
订单ID或者优惠支付ID |
integer |
None. |
| Type |
订单类型 目前只支持;线下店铺下单、优惠付款单 |
NoType |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": 1,
"Type": 0
}
application/xml, text/xml
Sample:
<WeChatQRCodePayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request"> <OrderId>1</OrderId> <Type>TB</Type> </WeChatQRCodePayRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| data | string |
None. |
|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": "sample string 1",
"errcode": "sample string 2",
"errmsg": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi"> <errcode>sample string 2</errcode> <errmsg>sample string 3</errmsg> <data>sample string 1</data> </ResponseOfstring>