POST api/ValueCard/Busi/Recharge/WithBarCode/End
完成充值过程。 如果使用非现金充值(如电子支付或手机充值),在Begin操作后,执行收款,收款成功的回调处理过程,需要执行这个操作。
Request Information
URI Parameters
None.
Body Parameters
完成充值时的参数。
ValueCardRechargeEndParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
单号。 |
string |
Required Max length: 20 |
ConfirmAmount |
成功收款的金额,这个金额用于验证一下,收到的款和请求的款的金额是否一致。 |
decimal number |
Required |
CustomerAccount |
对方账号 |
string |
Max length: 50 |
OwnerAccount |
我方账户 |
string |
Max length: 50 |
ThirdPartyBusiId |
第三方交易ID |
string |
Max length: 50 |
Openid |
对方OPENID或UNIONID |
string |
Max length: 50 |
Memory |
备注。 |
string |
Max length: 50 |
Reserve1 |
保留一。 |
string |
Max length: 50 |
Reserve2 |
保留二。 |
string |
Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "ConfirmAmount": 2.0, "CustomerAccount": "sample string 3", "OwnerAccount": "sample string 4", "ThirdPartyBusiId": "sample string 5", "Openid": "sample string 6", "Memory": "sample string 7", "Reserve1": "sample string 8", "Reserve2": "sample string 9" }
application/xml, text/xml
Sample:
<ValueCardRechargeEndParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.ValueCard"> <BillNum>sample string 1</BillNum> <ConfirmAmount>2</ConfirmAmount> <CustomerAccount>sample string 3</CustomerAccount> <Memory>sample string 7</Memory> <Openid>sample string 6</Openid> <OwnerAccount>sample string 4</OwnerAccount> <Reserve1>sample string 8</Reserve1> <Reserve2>sample string 9</Reserve2> <ThirdPartyBusiId>sample string 5</ThirdPartyBusiId> </ValueCardRechargeEndParm>
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
完成充值过程。 如果使用非现金充值(如电子支付或手机充值),在Begin操作后,执行收款,收款成功的回调处理过程,需要执行这个操作。
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult 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>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.