POST api/3Pay/AbcPay/ScanCode/WithWeb
发起一个农行扫码支付的操作,本步骤将完成下单,获得一个可以在客户端展示的条码,供客人使用手机支付软件扫描。 (1)调用存储过程Sp_3Pay_Offline_ReceiveMoney_Begin保存第三方支付的发起记录; (2)调用农行接口,下单并获取一个二维码; 本调用受理配置文件的影响,因为系统支持多种农行支付。 本接口的成功仅表示下单成功,不表示收款成功。
Request Information
URI Parameters
None.
Body Parameters
发起支付的参数。
AbcScanCodePayWebParmName | Description | Type | Additional information |
---|---|---|---|
PayChannelName |
支付渠道名称 |
string |
Required |
TerminalCode |
终端号,款台号。 |
string |
None. |
OperatorNo |
操作员号。 |
string |
None. |
OrderId |
预定单号。 |
string |
Required Max length: 64 |
Summary |
收款金额,单位(元)。 |
decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "PayChannelName": "sample string 1", "TerminalCode": "sample string 2", "OperatorNo": "sample string 3", "OrderId": "sample string 4", "Summary": 5.0 }
application/xml, text/xml
Sample:
<AbcScanCodePayWebParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Pay"> <OperatorNo>sample string 3</OperatorNo> <OrderId>sample string 4</OrderId> <PayChannelName>sample string 1</PayChannelName> <Summary>5</Summary> <TerminalCode>sample string 2</TerminalCode> </AbcScanCodePayWebParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
发起一个农行扫码支付的操作,本步骤将完成下单,获得一个可以在客户端展示的条码,供客人使用手机支付软件扫描。 (1)调用存储过程Sp_3Pay_Offline_ReceiveMoney_Begin保存第三方支付的发起记录; (2)调用农行接口,下单并获取一个二维码; 本调用受理配置文件的影响,因为系统支持多种农行支付。 本接口的成功仅表示下单成功,不表示收款成功。
CommonOperationResultWithTagOfPayScanCodeResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PayScanCodeResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "autoid": "sample string 2", "codeurl": "sample string 3" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPayScanCodeResultKp9g8rEY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Pay"> <d2p1:autoid>sample string 2</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:codeurl>sample string 3</d2p1:codeurl> </tag> </CommonOperationResultWithTagOfPayScanCodeResultKp9g8rEY>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.