POST api/Order/BeginToPay/Phone
在手机网站或者微信公众号里对某个订单发起支付(仅指第三方即时支付,如支付宝、微信、银联等)。 注意:入口为BeginToPayPhone的仅针对手机网站调用 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。 手机网站第三方支付从T_SYS_ZFQD中取值 1,支付宝手机网站参数约定:Parm1:私钥、Parm2:公钥、Parm3:Appid、SKZH不能为空 2,微信支付手机网站参数约定
请求信息
URI参数
None.
窗体参数
支付参数
PayContent| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
订单编号,指明本次支付是针对哪个订单进行的。 |
string |
Required Max length: 20 |
| paychannelname |
支付渠道的名称,如“支付宝(即时到账)”、“微信支付”,此列表在GetPayChannel接口中获取。 |
string |
Required Max length: 60 |
| openid |
使用微信H5(JSAPI支付时,此参数必须提供)支付时必须的OPENID的密文 TripDes(OpenId,Key) |
string |
None. |
| clientip |
客户端的IP |
string |
None. |
请求格式
Test application/json, text/json
{
"orderid": "sample string 1",
"paychannelname": "sample string 2",
"openid": "sample string 3",
"clientip": "sample string 4"
}
Test application/xml, text/xml
<PayContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TourWebApi.Models.Result"> <clientip>sample string 4</clientip> <openid>sample string 3</openid> <orderid>sample string 1</orderid> <paychannelname>sample string 2</paychannelname> </PayContent>
Test application/x-www-form-urlencoded
没有示例。
回复信息
资源描述
在手机网站或者微信公众号里对某个订单发起支付(仅指第三方即时支付,如支付宝、微信、银联等)。 注意:入口为BeginToPayPhone的仅针对手机网站调用 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。 手机网站第三方支付从T_SYS_ZFQD中取值 1,支付宝手机网站参数约定:Parm1:私钥、Parm2:公钥、Parm3:Appid、SKZH不能为空 2,微信支付手机网站参数约定
string回复格式
Test application/json, text/json
"sample string 1"
Test application/xml, text/xml
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>