public class CpdpClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
CpdpClient(Credential credential,
String region) |
CpdpClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ApplyWithdrawalResponse |
ApplyWithdrawal(ApplyWithdrawalRequest req)
商户提现
|
BindAcctResponse |
BindAcct(BindAcctRequest req)
商户绑定提现银行卡,每个商户只能绑定一张提现银行卡
|
BindRelateAccReUnionPayResponse |
BindRelateAccReUnionPay(BindRelateAccReUnionPayRequest req)
会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。
|
BindRelateAcctSmallAmountResponse |
BindRelateAcctSmallAmount(BindRelateAcctSmallAmountRequest req)
会员绑定提现账户-小额鉴权。会员申请绑定提现账户,绑定后从会员子账户中提现到绑定账户。
转账鉴权有两种形式:往账鉴权和来账鉴权。
往账鉴权:该接口发起成功后,银行会向提现账户转入小于等于0.5元的随机金额,并短信通知客户查看,客户查看后,需将收到的金额大小,在电商平台页面上回填,并通知银行。银行验证通过后,完成提现账户绑定。
来账鉴权:该接口发起成功后,银行以短信通知客户查看,客户查看后,需通过待绑定的账户往市场的监管账户转入短信上指定的金额。银行检索到该笔指定金额的来账是源自待绑定账户,则绑定成功。平安银行的账户,即BankType送1时,大小额行号和超级网银号都不用送。
|
BindRelateAcctUnionPayResponse |
BindRelateAcctUnionPay(BindRelateAcctUnionPayRequest req)
会员绑定提现账户-银联鉴权。用于会员申请绑定提现账户,申请后银行前往银联验证卡信息:姓名、证件、卡号、银行预留手机是否相符,相符则发送给会员手机动态验证码并返回成功,不相符则返回失败。
平台接收到银行返回成功后,进入输入动态验证码的页面,有效期120秒,若120秒未输入,客户可点击重新发送动态验证码,这个步骤重新调用该接口即可。
平安银行的账户,大小额行号和超级网银号都不用送。
超级网银号:单笔转账金额不超过5万,不限制笔数,只用选XX银行,不用具体到支行,可实时知道对方是否收款成功。
大小额联行号:单笔转账可超过5万,需具体到支行,不能实时知道对方是否收款成功。金额超过5万的,在工作日的8点30-17点间才会成功。
|
CheckAcctResponse |
CheckAcct(CheckAcctRequest req)
商户绑定提现银行卡的验证接口
|
CheckAmountResponse |
CheckAmount(CheckAmountRequest req)
验证鉴权金额。此接口可受理BindRelateAcctSmallAmount接口发起的转账金额(往账鉴权方式)的验证处理。若所回填的验证金额验证通过,则会绑定原申请中的银行账户作为提现账户。通过此接口也可以查得BindRelateAcctSmallAmount接口发起的来账鉴权方式的申请的当前状态。
|
CloseOrderResponse |
CloseOrder(CloseOrderRequest req)
通过此接口关闭此前已创建的订单,关闭后,用户将无法继续付款。仅能关闭创建后未支付的订单
|
CreateAcctResponse |
CreateAcct(CreateAcctRequest req)
子商户入驻聚鑫平台
|
CreateCustAcctIdResponse |
CreateCustAcctId(CreateCustAcctIdRequest req)
会员子账户开立。会员在银行注册,并开立会员子账户,交易网会员代码即会员在平台端系统的会员编号。
平台需保存银行返回的子账户账号,后续交易接口都会用到。会员属性字段为预留扩展字段,当前必须送默认值。
|
DownloadBillResponse |
DownloadBill(DownloadBillRequest req)
账单下载接口,根据本接口返回的URL地址,在D+1日下载对账单。注意,本接口返回的URL地址有时效,请尽快下载。URL超时时效后,请重新调用本接口再次获取。
|
ModifyMntMbrBindRelateAcctBankCodeResponse |
ModifyMntMbrBindRelateAcctBankCode(ModifyMntMbrBindRelateAcctBankCodeRequest req)
维护会员绑定提现账户联行号。此接口可以支持市场修改会员的提现账户的开户行信息,具体包括开户行行名、开户行的银行联行号(大小额联行号)和超级网银行号。
|
QueryBalanceResponse |
QueryBalance(QueryBalanceRequest req)
子商户余额查询
|
QueryBankClearResponse |
QueryBankClear(QueryBankClearRequest req)
查询银行在途清算结果。查询时间段内交易网的在途清算结果。
|
QueryBankTransactionDetailsResponse |
QueryBankTransactionDetails(QueryBankTransactionDetailsRequest req)
查询银行时间段内交易明细。查询时间段的会员成功交易。
|
QueryBankWithdrawCashDetailsResponse |
QueryBankWithdrawCashDetails(QueryBankWithdrawCashDetailsRequest req)
查询银行时间段内清分提现明细。查询银行时间段内清分提现明细接口:若为“见证+收单退款”“见证+收单充值”记录时备注Note为“见证+收单充值,订单号”“见证+收单退款,订单号”,此接口可以查到T0/T1的充值明细和退款记录。查询标志:充值记录仍用3清分选项查询,退款记录同提现用2选项查询。
|
QueryCommonTransferRechargeResponse |
QueryCommonTransferRecharge(QueryCommonTransferRechargeRequest req)
查询普通转账充值明细。接口用于查询会员主动转账进资金汇总账户的明细情况。若会员使用绑定账号转入,则直接入账到会员子账户。若未使用绑定账号转入,则系统无法自动清分到对应子账户,则转入挂账子账户由平台自行清分。若是 “见证+收单充值”T0充值记录时备注Note为“见证+收单充值,订单号” 此接口可以查到T0到账的“见证+收单充值”充值记录。
|
QueryCustAcctIdBalanceResponse |
QueryCustAcctIdBalance(QueryCustAcctIdBalanceRequest req)
查询银行子账户余额。查询会员子账户以及平台的功能子账户的余额。
|
QueryMemberBindResponse |
QueryMemberBind(QueryMemberBindRequest req)
会员绑定信息查询。查询标志为“单个会员”的情况下,返回该会员的有效的绑定账户信息。
查询标志为“全部会员”的情况下,返回市场下的全部的有效的绑定账户信息。查询标志为“单个会员的证件信息”的情况下,返回市场下的指定的会员的留存在电商见证宝系统的证件信息。
|
QueryMemberTransactionResponse |
QueryMemberTransaction(QueryMemberTransactionRequest req)
会员间交易-不验证。此接口可以实现会员间的余额的交易,实现资金在会员之间流动。
|
QueryOrderResponse |
QueryOrder(QueryOrderRequest req)
根据订单号,或者用户Id,查询支付订单状态
|
QueryReconciliationDocumentResponse |
QueryReconciliationDocument(QueryReconciliationDocumentRequest req)
查询对账文件信息。平台调用该接口获取需下载对账文件的文件名称以及密钥。 平台获取到信息后, 可以再调用OPENAPI的文件下载功能。
|
QueryRefundResponse |
QueryRefund(QueryRefundRequest req)
提交退款申请后,通过调用该接口查询退款状态。退款可能有一定延时,用微信零钱支付的退款约20分钟内到账,银行卡支付的退款约3个工作日后到账。
|
QuerySingleTransactionStatusResponse |
QuerySingleTransactionStatus(QuerySingleTransactionStatusRequest req)
查询银行单笔交易状态。查询单笔交易的状态。
|
QuerySmallAmountTransferResponse |
QuerySmallAmountTransfer(QuerySmallAmountTransferRequest req)
查询小额鉴权转账结果。查询小额往账鉴权的转账状态。
|
RechargeMemberThirdPayResponse |
RechargeMemberThirdPay(RechargeMemberThirdPayRequest req)
见证宝-会员在途充值(经第三方支付渠道)
|
RefundResponse |
Refund(RefundRequest req)
如交易订单需退款,可以通过本接口将支付款全部或部分退还给付款方,聚鑫将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。最长支持1年的订单退款。在订单包含多个子订单的情况下,如果使用本接口传入OutTradeNo或TransactionId退款,则只支持全单退款;如果需要部分退款,请通过传入子订单的方式来指定部分金额退款。
|
RegisterBillSupportWithdrawResponse |
RegisterBillSupportWithdraw(RegisterBillSupportWithdrawRequest req)
登记挂账(支持撤销)。此接口可实现把不明来账或自有资金等已登记在挂账子账户下的资金调整到普通会员子账户。即通过申请调用此接口,将会减少挂账子账户的资金,调增指定的普通会员子账户的可提现余额及可用余额。此接口不支持把挂账子账户资金清分到功能子账户。
|
ReviseMbrPropertyResponse |
ReviseMbrProperty(ReviseMbrPropertyRequest req)
修改会员属性-普通商户子账户。修改会员的会员属性。
|
RevokeMemberRechargeThirdPayResponse |
RevokeMemberRechargeThirdPay(RevokeMemberRechargeThirdPayRequest req)
撤销会员在途充值(经第三方支付渠道)
|
RevRegisterBillSupportWithdrawResponse |
RevRegisterBillSupportWithdraw(RevRegisterBillSupportWithdrawRequest req)
登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。
|
UnBindAcctResponse |
UnBindAcct(UnBindAcctRequest req)
商户解除绑定的提现银行卡
|
UnbindRelateAcctResponse |
UnbindRelateAcct(UnbindRelateAcctRequest req)
会员解绑提现账户。此接口可以支持会员解除名下的绑定账户关系。
|
UnifiedOrderResponse |
UnifiedOrder(UnifiedOrderRequest req)
应用需要先调用本接口生成支付订单号,并将应答的pay_info透传给聚鑫SDK,拉起客户端(包括微信公众号/微信小程序/客户端App)支付。
|
WithdrawCashMembershipResponse |
WithdrawCashMembership(WithdrawCashMembershipRequest req)
会员提现-不验证。此接口受理会员发起的提现申请。会员子账户的可提现余额、可用余额会减少,市场的资金汇总账户(监管账户)会减少相应的发生金额,提现到会员申请的收款账户。
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public CpdpClient(Credential credential, String region)
public CpdpClient(Credential credential, String region, ClientProfile profile)
public ApplyWithdrawalResponse ApplyWithdrawal(ApplyWithdrawalRequest req) throws TencentCloudSDKException
req
- ApplyWithdrawalRequestTencentCloudSDKException
public BindAcctResponse BindAcct(BindAcctRequest req) throws TencentCloudSDKException
req
- BindAcctRequestTencentCloudSDKException
public BindRelateAccReUnionPayResponse BindRelateAccReUnionPay(BindRelateAccReUnionPayRequest req) throws TencentCloudSDKException
req
- BindRelateAccReUnionPayRequestTencentCloudSDKException
public BindRelateAcctSmallAmountResponse BindRelateAcctSmallAmount(BindRelateAcctSmallAmountRequest req) throws TencentCloudSDKException
req
- BindRelateAcctSmallAmountRequestTencentCloudSDKException
public BindRelateAcctUnionPayResponse BindRelateAcctUnionPay(BindRelateAcctUnionPayRequest req) throws TencentCloudSDKException
req
- BindRelateAcctUnionPayRequestTencentCloudSDKException
public CheckAcctResponse CheckAcct(CheckAcctRequest req) throws TencentCloudSDKException
req
- CheckAcctRequestTencentCloudSDKException
public CheckAmountResponse CheckAmount(CheckAmountRequest req) throws TencentCloudSDKException
req
- CheckAmountRequestTencentCloudSDKException
public CloseOrderResponse CloseOrder(CloseOrderRequest req) throws TencentCloudSDKException
req
- CloseOrderRequestTencentCloudSDKException
public CreateAcctResponse CreateAcct(CreateAcctRequest req) throws TencentCloudSDKException
req
- CreateAcctRequestTencentCloudSDKException
public CreateCustAcctIdResponse CreateCustAcctId(CreateCustAcctIdRequest req) throws TencentCloudSDKException
req
- CreateCustAcctIdRequestTencentCloudSDKException
public DownloadBillResponse DownloadBill(DownloadBillRequest req) throws TencentCloudSDKException
req
- DownloadBillRequestTencentCloudSDKException
public ModifyMntMbrBindRelateAcctBankCodeResponse ModifyMntMbrBindRelateAcctBankCode(ModifyMntMbrBindRelateAcctBankCodeRequest req) throws TencentCloudSDKException
req
- ModifyMntMbrBindRelateAcctBankCodeRequestTencentCloudSDKException
public QueryBalanceResponse QueryBalance(QueryBalanceRequest req) throws TencentCloudSDKException
req
- QueryBalanceRequestTencentCloudSDKException
public QueryBankClearResponse QueryBankClear(QueryBankClearRequest req) throws TencentCloudSDKException
req
- QueryBankClearRequestTencentCloudSDKException
public QueryBankTransactionDetailsResponse QueryBankTransactionDetails(QueryBankTransactionDetailsRequest req) throws TencentCloudSDKException
req
- QueryBankTransactionDetailsRequestTencentCloudSDKException
public QueryBankWithdrawCashDetailsResponse QueryBankWithdrawCashDetails(QueryBankWithdrawCashDetailsRequest req) throws TencentCloudSDKException
req
- QueryBankWithdrawCashDetailsRequestTencentCloudSDKException
public QueryCommonTransferRechargeResponse QueryCommonTransferRecharge(QueryCommonTransferRechargeRequest req) throws TencentCloudSDKException
req
- QueryCommonTransferRechargeRequestTencentCloudSDKException
public QueryCustAcctIdBalanceResponse QueryCustAcctIdBalance(QueryCustAcctIdBalanceRequest req) throws TencentCloudSDKException
req
- QueryCustAcctIdBalanceRequestTencentCloudSDKException
public QueryMemberBindResponse QueryMemberBind(QueryMemberBindRequest req) throws TencentCloudSDKException
req
- QueryMemberBindRequestTencentCloudSDKException
public QueryMemberTransactionResponse QueryMemberTransaction(QueryMemberTransactionRequest req) throws TencentCloudSDKException
req
- QueryMemberTransactionRequestTencentCloudSDKException
public QueryOrderResponse QueryOrder(QueryOrderRequest req) throws TencentCloudSDKException
req
- QueryOrderRequestTencentCloudSDKException
public QueryReconciliationDocumentResponse QueryReconciliationDocument(QueryReconciliationDocumentRequest req) throws TencentCloudSDKException
req
- QueryReconciliationDocumentRequestTencentCloudSDKException
public QueryRefundResponse QueryRefund(QueryRefundRequest req) throws TencentCloudSDKException
req
- QueryRefundRequestTencentCloudSDKException
public QuerySingleTransactionStatusResponse QuerySingleTransactionStatus(QuerySingleTransactionStatusRequest req) throws TencentCloudSDKException
req
- QuerySingleTransactionStatusRequestTencentCloudSDKException
public QuerySmallAmountTransferResponse QuerySmallAmountTransfer(QuerySmallAmountTransferRequest req) throws TencentCloudSDKException
req
- QuerySmallAmountTransferRequestTencentCloudSDKException
public RechargeMemberThirdPayResponse RechargeMemberThirdPay(RechargeMemberThirdPayRequest req) throws TencentCloudSDKException
req
- RechargeMemberThirdPayRequestTencentCloudSDKException
public RefundResponse Refund(RefundRequest req) throws TencentCloudSDKException
req
- RefundRequestTencentCloudSDKException
public RegisterBillSupportWithdrawResponse RegisterBillSupportWithdraw(RegisterBillSupportWithdrawRequest req) throws TencentCloudSDKException
req
- RegisterBillSupportWithdrawRequestTencentCloudSDKException
public RevRegisterBillSupportWithdrawResponse RevRegisterBillSupportWithdraw(RevRegisterBillSupportWithdrawRequest req) throws TencentCloudSDKException
req
- RevRegisterBillSupportWithdrawRequestTencentCloudSDKException
public ReviseMbrPropertyResponse ReviseMbrProperty(ReviseMbrPropertyRequest req) throws TencentCloudSDKException
req
- ReviseMbrPropertyRequestTencentCloudSDKException
public RevokeMemberRechargeThirdPayResponse RevokeMemberRechargeThirdPay(RevokeMemberRechargeThirdPayRequest req) throws TencentCloudSDKException
req
- RevokeMemberRechargeThirdPayRequestTencentCloudSDKException
public UnBindAcctResponse UnBindAcct(UnBindAcctRequest req) throws TencentCloudSDKException
req
- UnBindAcctRequestTencentCloudSDKException
public UnbindRelateAcctResponse UnbindRelateAcct(UnbindRelateAcctRequest req) throws TencentCloudSDKException
req
- UnbindRelateAcctRequestTencentCloudSDKException
public UnifiedOrderResponse UnifiedOrder(UnifiedOrderRequest req) throws TencentCloudSDKException
req
- UnifiedOrderRequestTencentCloudSDKException
public WithdrawCashMembershipResponse WithdrawCashMembership(WithdrawCashMembershipRequest req) throws TencentCloudSDKException
req
- WithdrawCashMembershipRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.