/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cpdp.V20190820
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Cpdp.V20190820.Models;
public class CpdpClient : AbstractClient{
private const string endpoint = "cpdp.tencentcloudapi.com";
private const string version = "2019-08-20";
///
/// Client constructor.
///
/// Credentials.
/// Region name, such as "ap-guangzhou".
public CpdpClient(Credential credential, string region)
: this(credential, region, new ClientProfile())
{
}
///
/// Client Constructor.
///
/// Credentials.
/// Region name, such as "ap-guangzhou".
/// Client profiles.
public CpdpClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
}
///
/// 跨境-提交申报材料
///
///
///
public async Task ApplyApplicationMaterial(ApplyApplicationMaterialRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyApplicationMaterial");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-提交申报材料
///
///
///
public ApplyApplicationMaterialResponse ApplyApplicationMaterialSync(ApplyApplicationMaterialRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyApplicationMaterial");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-汇出指令申请
///
///
///
public async Task ApplyOutwardOrder(ApplyOutwardOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyOutwardOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-汇出指令申请
///
///
///
public ApplyOutwardOrderResponse ApplyOutwardOrderSync(ApplyOutwardOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyOutwardOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-付款人申请
///
///
///
public async Task ApplyPayerInfo(ApplyPayerInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyPayerInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-付款人申请
///
///
///
public ApplyPayerInfoResponse ApplyPayerInfoSync(ApplyPayerInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyPayerInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 正常结算提现失败情况下,发起重新提现的请求接口
///
///
///
public async Task ApplyReWithdrawal(ApplyReWithdrawalRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyReWithdrawal");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 正常结算提现失败情况下,发起重新提现的请求接口
///
///
///
public ApplyReWithdrawalResponse ApplyReWithdrawalSync(ApplyReWithdrawalRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyReWithdrawal");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-提交贸易材料
///
///
///
public async Task ApplyTrade(ApplyTradeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyTrade");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-提交贸易材料
///
///
///
public ApplyTradeResponse ApplyTradeSync(ApplyTradeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyTrade");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户提现
///
///
///
public async Task ApplyWithdrawal(ApplyWithdrawalRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ApplyWithdrawal");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户提现
///
///
///
public ApplyWithdrawalResponse ApplyWithdrawalSync(ApplyWithdrawalRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ApplyWithdrawal");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户绑定提现银行卡,每个商户只能绑定一张提现银行卡
///
///
///
public async Task BindAcct(BindAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "BindAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户绑定提现银行卡,每个商户只能绑定一张提现银行卡
///
///
///
public BindAcctResponse BindAcctSync(BindAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "BindAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。
///
///
///
public async Task BindRelateAccReUnionPay(BindRelateAccReUnionPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "BindRelateAccReUnionPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。
///
///
///
public BindRelateAccReUnionPayResponse BindRelateAccReUnionPaySync(BindRelateAccReUnionPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "BindRelateAccReUnionPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-小额鉴权。会员申请绑定提现账户,绑定后从会员子账户中提现到绑定账户。
/// 转账鉴权有两种形式:往账鉴权和来账鉴权。
/// 往账鉴权:该接口发起成功后,银行会向提现账户转入小于等于0.5元的随机金额,并短信通知客户查看,客户查看后,需将收到的金额大小,在电商平台页面上回填,并通知银行。银行验证通过后,完成提现账户绑定。
/// 来账鉴权:该接口发起成功后,银行以短信通知客户查看,客户查看后,需通过待绑定的账户往市场的监管账户转入短信上指定的金额。银行检索到该笔指定金额的来账是源自待绑定账户,则绑定成功。平安银行的账户,即BankType送1时,大小额行号和超级网银号都不用送。
///
///
///
public async Task BindRelateAcctSmallAmount(BindRelateAcctSmallAmountRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "BindRelateAcctSmallAmount");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-小额鉴权。会员申请绑定提现账户,绑定后从会员子账户中提现到绑定账户。
/// 转账鉴权有两种形式:往账鉴权和来账鉴权。
/// 往账鉴权:该接口发起成功后,银行会向提现账户转入小于等于0.5元的随机金额,并短信通知客户查看,客户查看后,需将收到的金额大小,在电商平台页面上回填,并通知银行。银行验证通过后,完成提现账户绑定。
/// 来账鉴权:该接口发起成功后,银行以短信通知客户查看,客户查看后,需通过待绑定的账户往市场的监管账户转入短信上指定的金额。银行检索到该笔指定金额的来账是源自待绑定账户,则绑定成功。平安银行的账户,即BankType送1时,大小额行号和超级网银号都不用送。
///
///
///
public BindRelateAcctSmallAmountResponse BindRelateAcctSmallAmountSync(BindRelateAcctSmallAmountRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "BindRelateAcctSmallAmount");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-银联鉴权。用于会员申请绑定提现账户,申请后银行前往银联验证卡信息:姓名、证件、卡号、银行预留手机是否相符,相符则发送给会员手机动态验证码并返回成功,不相符则返回失败。
/// 平台接收到银行返回成功后,进入输入动态验证码的页面,有效期120秒,若120秒未输入,客户可点击重新发送动态验证码,这个步骤重新调用该接口即可。
/// 平安银行的账户,大小额行号和超级网银号都不用送。
/// 超级网银号:单笔转账金额不超过5万,不限制笔数,只用选XX银行,不用具体到支行,可实时知道对方是否收款成功。
/// 大小额联行号:单笔转账可超过5万,需具体到支行,不能实时知道对方是否收款成功。金额超过5万的,在工作日的8点30-17点间才会成功。
///
///
///
public async Task BindRelateAcctUnionPay(BindRelateAcctUnionPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "BindRelateAcctUnionPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定提现账户-银联鉴权。用于会员申请绑定提现账户,申请后银行前往银联验证卡信息:姓名、证件、卡号、银行预留手机是否相符,相符则发送给会员手机动态验证码并返回成功,不相符则返回失败。
/// 平台接收到银行返回成功后,进入输入动态验证码的页面,有效期120秒,若120秒未输入,客户可点击重新发送动态验证码,这个步骤重新调用该接口即可。
/// 平安银行的账户,大小额行号和超级网银号都不用送。
/// 超级网银号:单笔转账金额不超过5万,不限制笔数,只用选XX银行,不用具体到支行,可实时知道对方是否收款成功。
/// 大小额联行号:单笔转账可超过5万,需具体到支行,不能实时知道对方是否收款成功。金额超过5万的,在工作日的8点30-17点间才会成功。
///
///
///
public BindRelateAcctUnionPayResponse BindRelateAcctUnionPaySync(BindRelateAcctUnionPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "BindRelateAcctUnionPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户绑定提现银行卡的验证接口
///
///
///
public async Task CheckAcct(CheckAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CheckAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户绑定提现银行卡的验证接口
///
///
///
public CheckAcctResponse CheckAcctSync(CheckAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CheckAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 验证鉴权金额。此接口可受理BindRelateAcctSmallAmount接口发起的转账金额(往账鉴权方式)的验证处理。若所回填的验证金额验证通过,则会绑定原申请中的银行账户作为提现账户。通过此接口也可以查得BindRelateAcctSmallAmount接口发起的来账鉴权方式的申请的当前状态。
///
///
///
public async Task CheckAmount(CheckAmountRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CheckAmount");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 验证鉴权金额。此接口可受理BindRelateAcctSmallAmount接口发起的转账金额(往账鉴权方式)的验证处理。若所回填的验证金额验证通过,则会绑定原申请中的银行账户作为提现账户。通过此接口也可以查得BindRelateAcctSmallAmount接口发起的来账鉴权方式的申请的当前状态。
///
///
///
public CheckAmountResponse CheckAmountSync(CheckAmountRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CheckAmount");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 通过此接口关闭此前已创建的订单,关闭后,用户将无法继续付款。仅能关闭创建后未支付的订单
///
///
///
public async Task CloseOrder(CloseOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CloseOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 通过此接口关闭此前已创建的订单,关闭后,用户将无法继续付款。仅能关闭创建后未支付的订单
///
///
///
public CloseOrderResponse CloseOrderSync(CloseOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CloseOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 子商户入驻聚鑫平台
///
///
///
public async Task CreateAcct(CreateAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 子商户入驻聚鑫平台
///
///
///
public CreateAcctResponse CreateAcctSync(CreateAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员子账户开立。会员在银行注册,并开立会员子账户,交易网会员代码即会员在平台端系统的会员编号。
/// 平台需保存银行返回的子账户账号,后续交易接口都会用到。会员属性字段为预留扩展字段,当前必须送默认值。
///
///
///
public async Task CreateCustAcctId(CreateCustAcctIdRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateCustAcctId");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员子账户开立。会员在银行注册,并开立会员子账户,交易网会员代码即会员在平台端系统的会员编号。
/// 平台需保存银行返回的子账户账号,后续交易接口都会用到。会员属性字段为预留扩展字段,当前必须送默认值。
///
///
///
public CreateCustAcctIdResponse CreateCustAcctIdSync(CreateCustAcctIdRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateCustAcctId");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票开具
///
///
///
public async Task CreateInvoice(CreateInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票开具
///
///
///
public CreateInvoiceResponse CreateInvoiceSync(CreateInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-商户注册
///
///
///
public async Task CreateMerchant(CreateMerchantRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateMerchant");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-商户注册
///
///
///
public CreateMerchantResponse CreateMerchantSync(CreateMerchantRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateMerchant");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票红冲
///
///
///
public async Task CreateRedInvoice(CreateRedInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateRedInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票红冲
///
///
///
public CreateRedInvoiceResponse CreateRedInvoiceSync(CreateRedInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateRedInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 账单下载接口,根据本接口返回的URL地址,在D+1日下载对账单。注意,本接口返回的URL地址有时效,请尽快下载。URL超时时效后,请重新调用本接口再次获取。
///
///
///
public async Task DownloadBill(DownloadBillRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DownloadBill");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 账单下载接口,根据本接口返回的URL地址,在D+1日下载对账单。注意,本接口返回的URL地址有时效,请尽快下载。URL超时时效后,请重新调用本接口再次获取。
///
///
///
public DownloadBillResponse DownloadBillSync(DownloadBillRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DownloadBill");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 维护会员绑定提现账户联行号。此接口可以支持市场修改会员的提现账户的开户行信息,具体包括开户行行名、开户行的银行联行号(大小额联行号)和超级网银行号。
///
///
///
public async Task ModifyMntMbrBindRelateAcctBankCode(ModifyMntMbrBindRelateAcctBankCodeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ModifyMntMbrBindRelateAcctBankCode");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 维护会员绑定提现账户联行号。此接口可以支持市场修改会员的提现账户的开户行信息,具体包括开户行行名、开户行的银行联行号(大小额联行号)和超级网银行号。
///
///
///
public ModifyMntMbrBindRelateAcctBankCodeResponse ModifyMntMbrBindRelateAcctBankCodeSync(ModifyMntMbrBindRelateAcctBankCodeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ModifyMntMbrBindRelateAcctBankCode");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-查询子账户绑定银行卡
///
///
///
public async Task QueryAcctBinding(QueryAcctBindingRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryAcctBinding");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-查询子账户绑定银行卡
///
///
///
public QueryAcctBindingResponse QueryAcctBindingSync(QueryAcctBindingRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryAcctBinding");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-开户信息查询
///
///
///
public async Task QueryAcctInfo(QueryAcctInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryAcctInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-开户信息查询
///
///
///
public QueryAcctInfoResponse QueryAcctInfoSync(QueryAcctInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryAcctInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-开户信息列表查询, 查询某一段时间的开户信息
///
///
///
public async Task QueryAcctInfoList(QueryAcctInfoListRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryAcctInfoList");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 聚鑫-开户信息列表查询, 查询某一段时间的开户信息
///
///
///
public QueryAcctInfoListResponse QueryAcctInfoListSync(QueryAcctInfoListRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryAcctInfoList");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-成功申报材料查询
///
///
///
public async Task QueryApplicationMaterial(QueryApplicationMaterialRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryApplicationMaterial");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-成功申报材料查询
///
///
///
public QueryApplicationMaterialResponse QueryApplicationMaterialSync(QueryApplicationMaterialRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryApplicationMaterial");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 子商户余额查询
///
///
///
public async Task QueryBalance(QueryBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 子商户余额查询
///
///
///
public QueryBalanceResponse QueryBalanceSync(QueryBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行在途清算结果。查询时间段内交易网的在途清算结果。
///
///
///
public async Task QueryBankClear(QueryBankClearRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryBankClear");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行在途清算结果。查询时间段内交易网的在途清算结果。
///
///
///
public QueryBankClearResponse QueryBankClearSync(QueryBankClearRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryBankClear");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行时间段内交易明细。查询时间段的会员成功交易。
///
///
///
public async Task QueryBankTransactionDetails(QueryBankTransactionDetailsRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryBankTransactionDetails");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行时间段内交易明细。查询时间段的会员成功交易。
///
///
///
public QueryBankTransactionDetailsResponse QueryBankTransactionDetailsSync(QueryBankTransactionDetailsRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryBankTransactionDetails");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行时间段内清分提现明细。查询银行时间段内清分提现明细接口:若为“见证+收单退款”“见证+收单充值”记录时备注Note为“见证+收单充值,订单号”“见证+收单退款,订单号”,此接口可以查到T0/T1的充值明细和退款记录。查询标志:充值记录仍用3清分选项查询,退款记录同提现用2选项查询。
///
///
///
public async Task QueryBankWithdrawCashDetails(QueryBankWithdrawCashDetailsRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryBankWithdrawCashDetails");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行时间段内清分提现明细。查询银行时间段内清分提现明细接口:若为“见证+收单退款”“见证+收单充值”记录时备注Note为“见证+收单充值,订单号”“见证+收单退款,订单号”,此接口可以查到T0/T1的充值明细和退款记录。查询标志:充值记录仍用3清分选项查询,退款记录同提现用2选项查询。
///
///
///
public QueryBankWithdrawCashDetailsResponse QueryBankWithdrawCashDetailsSync(QueryBankWithdrawCashDetailsRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryBankWithdrawCashDetails");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询普通转账充值明细。接口用于查询会员主动转账进资金汇总账户的明细情况。若会员使用绑定账号转入,则直接入账到会员子账户。若未使用绑定账号转入,则系统无法自动清分到对应子账户,则转入挂账子账户由平台自行清分。若是 “见证+收单充值”T0充值记录时备注Note为“见证+收单充值,订单号” 此接口可以查到T0到账的“见证+收单充值”充值记录。
///
///
///
public async Task QueryCommonTransferRecharge(QueryCommonTransferRechargeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryCommonTransferRecharge");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询普通转账充值明细。接口用于查询会员主动转账进资金汇总账户的明细情况。若会员使用绑定账号转入,则直接入账到会员子账户。若未使用绑定账号转入,则系统无法自动清分到对应子账户,则转入挂账子账户由平台自行清分。若是 “见证+收单充值”T0充值记录时备注Note为“见证+收单充值,订单号” 此接口可以查到T0到账的“见证+收单充值”充值记录。
///
///
///
public QueryCommonTransferRechargeResponse QueryCommonTransferRechargeSync(QueryCommonTransferRechargeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryCommonTransferRecharge");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行子账户余额。查询会员子账户以及平台的功能子账户的余额。
///
///
///
public async Task QueryCustAcctIdBalance(QueryCustAcctIdBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryCustAcctIdBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行子账户余额。查询会员子账户以及平台的功能子账户的余额。
///
///
///
public QueryCustAcctIdBalanceResponse QueryCustAcctIdBalanceSync(QueryCustAcctIdBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryCustAcctIdBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-查询汇率
///
///
///
public async Task QueryExchangeRate(QueryExchangeRateRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryExchangeRate");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-查询汇率
///
///
///
public QueryExchangeRateResponse QueryExchangeRateSync(QueryExchangeRateRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryExchangeRate");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票查询
///
///
///
public async Task QueryInvoice(QueryInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 智慧零售-发票查询
///
///
///
public QueryInvoiceResponse QueryInvoiceSync(QueryInvoiceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryInvoice");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定信息查询。查询标志为“单个会员”的情况下,返回该会员的有效的绑定账户信息。
/// 查询标志为“全部会员”的情况下,返回市场下的全部的有效的绑定账户信息。查询标志为“单个会员的证件信息”的情况下,返回市场下的指定的会员的留存在电商见证宝系统的证件信息。
///
///
///
public async Task QueryMemberBind(QueryMemberBindRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryMemberBind");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员绑定信息查询。查询标志为“单个会员”的情况下,返回该会员的有效的绑定账户信息。
/// 查询标志为“全部会员”的情况下,返回市场下的全部的有效的绑定账户信息。查询标志为“单个会员的证件信息”的情况下,返回市场下的指定的会员的留存在电商见证宝系统的证件信息。
///
///
///
public QueryMemberBindResponse QueryMemberBindSync(QueryMemberBindRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryMemberBind");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员间交易-不验证。此接口可以实现会员间的余额的交易,实现资金在会员之间流动。
///
///
///
public async Task QueryMemberTransaction(QueryMemberTransactionRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryMemberTransaction");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 会员间交易-不验证。此接口可以实现会员间的余额的交易,实现资金在会员之间流动。
///
///
///
public QueryMemberTransactionResponse QueryMemberTransactionSync(QueryMemberTransactionRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryMemberTransaction");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-对接方账户余额查询
///
///
///
public async Task QueryMerchantBalance(QueryMerchantBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryMerchantBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-对接方账户余额查询
///
///
///
public QueryMerchantBalanceResponse QueryMerchantBalanceSync(QueryMerchantBalanceRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryMerchantBalance");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 根据订单号,或者用户Id,查询支付订单状态
///
///
///
public async Task QueryOrder(QueryOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 根据订单号,或者用户Id,查询支付订单状态
///
///
///
public QueryOrderResponse QueryOrderSync(QueryOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-查询汇出结果
///
///
///
public async Task QueryOutwardOrder(QueryOutwardOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryOutwardOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-查询汇出结果
///
///
///
public QueryOutwardOrderResponse QueryOutwardOrderSync(QueryOutwardOrderRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryOutwardOrder");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-付款人查询
///
///
///
public async Task QueryPayerInfo(QueryPayerInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryPayerInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-付款人查询
///
///
///
public QueryPayerInfoResponse QueryPayerInfoSync(QueryPayerInfoRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryPayerInfo");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询对账文件信息。平台调用该接口获取需下载对账文件的文件名称以及密钥。 平台获取到信息后, 可以再调用OPENAPI的文件下载功能。
///
///
///
public async Task QueryReconciliationDocument(QueryReconciliationDocumentRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryReconciliationDocument");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询对账文件信息。平台调用该接口获取需下载对账文件的文件名称以及密钥。 平台获取到信息后, 可以再调用OPENAPI的文件下载功能。
///
///
///
public QueryReconciliationDocumentResponse QueryReconciliationDocumentSync(QueryReconciliationDocumentRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryReconciliationDocument");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 提交退款申请后,通过调用该接口查询退款状态。退款可能有一定延时,用微信零钱支付的退款约20分钟内到账,银行卡支付的退款约3个工作日后到账。
///
///
///
public async Task QueryRefund(QueryRefundRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryRefund");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 提交退款申请后,通过调用该接口查询退款状态。退款可能有一定延时,用微信零钱支付的退款约20分钟内到账,银行卡支付的退款约3个工作日后到账。
///
///
///
public QueryRefundResponse QueryRefundSync(QueryRefundRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryRefund");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行单笔交易状态。查询单笔交易的状态。
///
///
///
public async Task QuerySingleTransactionStatus(QuerySingleTransactionStatusRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QuerySingleTransactionStatus");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询银行单笔交易状态。查询单笔交易的状态。
///
///
///
public QuerySingleTransactionStatusResponse QuerySingleTransactionStatusSync(QuerySingleTransactionStatusRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QuerySingleTransactionStatus");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询小额鉴权转账结果。查询小额往账鉴权的转账状态。
///
///
///
public async Task QuerySmallAmountTransfer(QuerySmallAmountTransferRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QuerySmallAmountTransfer");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 查询小额鉴权转账结果。查询小额往账鉴权的转账状态。
///
///
///
public QuerySmallAmountTransferResponse QuerySmallAmountTransferSync(QuerySmallAmountTransferRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QuerySmallAmountTransfer");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-贸易材料明细查询
///
///
///
public async Task QueryTrade(QueryTradeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "QueryTrade");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 跨境-贸易材料明细查询
///
///
///
public QueryTradeResponse QueryTradeSync(QueryTradeRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "QueryTrade");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 见证宝-会员在途充值(经第三方支付渠道)
///
///
///
public async Task RechargeMemberThirdPay(RechargeMemberThirdPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "RechargeMemberThirdPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 见证宝-会员在途充值(经第三方支付渠道)
///
///
///
public RechargeMemberThirdPayResponse RechargeMemberThirdPaySync(RechargeMemberThirdPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "RechargeMemberThirdPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 如交易订单需退款,可以通过本接口将支付款全部或部分退还给付款方,聚鑫将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。最长支持1年的订单退款。在订单包含多个子订单的情况下,如果使用本接口传入OutTradeNo或TransactionId退款,则只支持全单退款;如果需要部分退款,请通过传入子订单的方式来指定部分金额退款。
///
///
///
public async Task Refund(RefundRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "Refund");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 如交易订单需退款,可以通过本接口将支付款全部或部分退还给付款方,聚鑫将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。最长支持1年的订单退款。在订单包含多个子订单的情况下,如果使用本接口传入OutTradeNo或TransactionId退款,则只支持全单退款;如果需要部分退款,请通过传入子订单的方式来指定部分金额退款。
///
///
///
public RefundResponse RefundSync(RefundRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "Refund");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账(支持撤销)。此接口可实现把不明来账或自有资金等已登记在挂账子账户下的资金调整到普通会员子账户。即通过申请调用此接口,将会减少挂账子账户的资金,调增指定的普通会员子账户的可提现余额及可用余额。此接口不支持把挂账子账户资金清分到功能子账户。
///
///
///
public async Task RegisterBillSupportWithdraw(RegisterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "RegisterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账(支持撤销)。此接口可实现把不明来账或自有资金等已登记在挂账子账户下的资金调整到普通会员子账户。即通过申请调用此接口,将会减少挂账子账户的资金,调增指定的普通会员子账户的可提现余额及可用余额。此接口不支持把挂账子账户资金清分到功能子账户。
///
///
///
public RegisterBillSupportWithdrawResponse RegisterBillSupportWithdrawSync(RegisterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "RegisterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。
///
///
///
public async Task RevRegisterBillSupportWithdraw(RevRegisterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "RevRegisterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。
///
///
///
public RevRegisterBillSupportWithdrawResponse RevRegisterBillSupportWithdrawSync(RevRegisterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "RevRegisterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。
///
///
///
public async Task RevResigterBillSupportWithdraw(RevResigterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "RevResigterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。
///
///
///
public RevResigterBillSupportWithdrawResponse RevResigterBillSupportWithdrawSync(RevResigterBillSupportWithdrawRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "RevResigterBillSupportWithdraw");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 修改会员属性-普通商户子账户。修改会员的会员属性。
///
///
///
public async Task ReviseMbrProperty(ReviseMbrPropertyRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ReviseMbrProperty");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 修改会员属性-普通商户子账户。修改会员的会员属性。
///
///
///
public ReviseMbrPropertyResponse ReviseMbrPropertySync(ReviseMbrPropertyRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ReviseMbrProperty");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 撤销会员在途充值(经第三方支付渠道)
///
///
///
public async Task RevokeMemberRechargeThirdPay(RevokeMemberRechargeThirdPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "RevokeMemberRechargeThirdPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 撤销会员在途充值(经第三方支付渠道)
///
///
///
public RevokeMemberRechargeThirdPayResponse RevokeMemberRechargeThirdPaySync(RevokeMemberRechargeThirdPayRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "RevokeMemberRechargeThirdPay");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户解除绑定的提现银行卡
///
///
///
public async Task UnBindAcct(UnBindAcctRequest req)
{
JsonResponseModel rsp = null;
try
{
var strResp = await this.InternalRequest(req, "UnBindAcct");
rsp = JsonConvert.DeserializeObject>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
///
/// 商户解除绑定的提现银行卡
///
///
///