POST api/offline/DiscountsPay/DiscountsPayWay
线下客户优惠付款方式:仅支持现金、POS机和转账; 不支持选微信和支付宝,需要另外调用接口; 转账需要财务确认才真实减欠款;
Request Information
URI Parameters
None.
Body Parameters
DiscountsPayRquest| Name | Description | Type | Additional information |
|---|---|---|---|
| DiscountsPayId |
优惠付款ID |
integer |
None. |
| PayWay |
支付方式 |
PayWay |
None. |
| PayPassword |
支付密码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DiscountsPayId": 1,
"PayWay": 0,
"PayPassword": "sample string 2"
}
application/xml, text/xml
Sample:
<DiscountsPayRquest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request"> <DiscountsPayId>1</DiscountsPayId> <PayPassword>sample string 2</PayPassword> <PayWay>WxPay</PayWay> </DiscountsPayRquest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": "sample string 1",
"errmsg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi"> <errcode>sample string 1</errcode> <errmsg>sample string 2</errmsg> </ResponseBase>