mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 01:58:14 +08:00
feat(tenpayv2): 新增跨境支付相关接口
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"appid": "wx2421b1c4370ec43b",
|
||||
"mch_id": "10000100",
|
||||
"fee_type": "CNY",
|
||||
"date": "20150807",
|
||||
"sign": "FDD167FAA73459FD921B144BAF4F4CA2"
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"appid": "wx2421b1c4370ec43b",
|
||||
"mch_id": "10000100",
|
||||
"fee_type": "USD",
|
||||
"rate_time": "20150807",
|
||||
"rate": "628.1225",
|
||||
"sign": "FDD167FAA73459FD921B144BAF4F4CA2"
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"appid": "wx2421b1c4370ec43b",
|
||||
"mch_id": "10000100",
|
||||
"usetag": "1",
|
||||
"nonce_str": "ec2316275641faa3aacf3cc599e8730f",
|
||||
"offset": "1",
|
||||
"limit": "10",
|
||||
"date_start": "20150807",
|
||||
"date_end": "20150807",
|
||||
"sign": "FDD167FAA73459FD921B144BAF4F4CA2"
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"return_code": "SUCCESS",
|
||||
"result_code": "SUCCESS",
|
||||
"appid": "wx2421b1c4370ec43b",
|
||||
"mch_id": "10000100",
|
||||
"record_num": "10",
|
||||
"nonce_str": "ec2316275641faa3aacf3cc599e8730f",
|
||||
"fbatchno": "10",
|
||||
"date_settlement": "20150807",
|
||||
"date_start": "20150807",
|
||||
"date_end": "20150807",
|
||||
"sign": "FDD167FAA73459FD921B144BAF4F4CA2",
|
||||
"settlement_fee": "1000",
|
||||
"unsettlement_fee": "0",
|
||||
"settlementfee_type": "USD",
|
||||
"pay_fee": "1000",
|
||||
"refund_fee": "0",
|
||||
"pay_net_fee": "1000",
|
||||
"poundage_fee": "0"
|
||||
}
|
@@ -34,8 +34,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
|
||||
Assert.Equal("ERR_CODE_DESC", parsedObjBySystemTextJson.ErrorCodeDescription);
|
||||
Assert.Equal("TRANSACTION_ID", parsedObjByNewtonsoftJson.TransactionId);
|
||||
Assert.Equal("TRANSACTION_ID", parsedObjBySystemTextJson.TransactionId);
|
||||
Assert.Equal(2, parsedObjByNewtonsoftJson.TotalRecordCount);
|
||||
Assert.Equal(2, parsedObjBySystemTextJson.TotalRecordCount);
|
||||
Assert.Equal(2, parsedObjByNewtonsoftJson.RecordCount);
|
||||
Assert.Equal(2, parsedObjBySystemTextJson.RecordCount);
|
||||
Assert.Equal("SUB_ORDER_NO_0", parsedObjByNewtonsoftJson.RecordList[0].SubOrderNumber);
|
||||
Assert.Equal("SUB_ORDER_NO_0", parsedObjBySystemTextJson.RecordList[0].SubOrderNumber);
|
||||
Assert.Equal("SUB_ORDER_ID_0", parsedObjByNewtonsoftJson.RecordList[0].SubOrderId);
|
||||
|
Reference in New Issue
Block a user