Index


Click here for a complete list of operations.

InstantPayment

[64]即时支付(输入参数string Json)
UserId:用户编号
ShopId:商户编码
Money:支付金额(单位元)
Interface:支付接口(0-微信支付、1-支付宝支付、2-易宝支付)
Type:支付场景(0-充值 ,1-激活国卡 ,2-升级会员 ,3-年费续费,4-收款,5-国卡缴费,6-红返商圈支付 )
Port:支付端口(移动端、安卓应用、苹果应用、电脑端)
IpAddress:客户端IP
Category:账户类别(0-国卡,1-商权)
OtherId:外键编码(不是国卡缴费时为空,国卡缴费时传回传参数
Fee:手续费

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
inJson:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Index.asmx HTTP/1.1
Host: tese.me
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InstantPayment"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InstantPayment xmlns="http://tempuri.org/">
      <inJson>string</inJson>
    </InstantPayment>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InstantPaymentResponse xmlns="http://tempuri.org/" />
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Index.asmx HTTP/1.1
Host: tese.me
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InstantPayment xmlns="http://tempuri.org/">
      <inJson>string</inJson>
    </InstantPayment>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InstantPaymentResponse xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Index.asmx/InstantPayment HTTP/1.1
Host: tese.me
Content-Type: application/x-www-form-urlencoded
Content-Length: length

inJson=string
HTTP/1.1 200 OK