POST api/WebInterface/ValueCard/BeginToPay
开始一个储值卡充值的第三方支付
Request Information
URI Parameters
None.
Body Parameters
ValueCardBeginToPayParmName | Description | Type | Additional information |
---|---|---|---|
CardNo |
储值卡号 |
string |
Required |
PayChannelName |
支付渠道名称 |
string |
Required |
Amount |
支付金额 |
decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "CardNo": "sample string 1", "PayChannelName": "sample string 2", "Amount": 3.0 }
application/xml, text/xml
Sample:
<ValueCardBeginToPayParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface"> <Amount>3</Amount> <CardNo>sample string 1</CardNo> <PayChannelName>sample string 2</PayChannelName> </ValueCardBeginToPayParm>
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
开始一个储值卡充值的第三方支付
CommonOperationResultWithTagOfOrder3PayBeginPayResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Order3PayBeginPayResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "paymenttypecode": "sample string 1", "receiveaccount": "sample string 2", "enterpiseid": "sample string 3", "paymentkey": "sample string 4", "refundnotifyurl": "sample string 5", "param1": "sample string 6", "param2": "sample string 7", "param3": "sample string 8", "param4": "sample string 9", "memory": "sample string 10", "innerbusinessid": "sample string 11" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfOrder3PayBeginPayResultldpHZqFJ 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"> <d2p1:enterpiseid>sample string 3</d2p1:enterpiseid> <d2p1:innerbusinessid>sample string 11</d2p1:innerbusinessid> <d2p1:memory>sample string 10</d2p1:memory> <d2p1:param1>sample string 6</d2p1:param1> <d2p1:param2>sample string 7</d2p1:param2> <d2p1:param3>sample string 8</d2p1:param3> <d2p1:param4>sample string 9</d2p1:param4> <d2p1:paymentkey>sample string 4</d2p1:paymentkey> <d2p1:paymenttypecode>sample string 1</d2p1:paymenttypecode> <d2p1:receiveaccount>sample string 2</d2p1:receiveaccount> <d2p1:refundnotifyurl>sample string 5</d2p1:refundnotifyurl> </tag> </CommonOperationResultWithTagOfOrder3PayBeginPayResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.