batches_transfer(params: BatchesTransfer.Input): Promise<BatchesTransfer.IOutput>
发起商家转账零钱
combine_close(combine_out_trade_no: string,sub_orders: IcloseSubOrders[],): Promise<Output>
合单关闭订单
combine_query(combine_out_trade_no: string): Promise<Output>
合单查询订单
combine_transactions_app(params: IcombineApp): Promise<Output>
合单app支付
combine_transactions_h5(params: IcombineH5): Promise<Output>
合单h5支付
combine_transactions_jsapi(params: IcombineJsapi): Promise<Output>
合单JSAPI支付 或者 小程序支付
combine_transactions_native(params: IcombineNative): Promise<Output>
合单native支付
createHttp(service: IPayRequest): void
自定义创建http 请求
create_profitsharing_orders(params: ProfitSharing.CreateProfitSharingOrders.Input): Promise<ProfitSharing.CreateProfitSharingOrders.IOutput>
请求分账API
decipher_gcm<T extends any>(): T
回调解密
downloadBill(download_url: string): Promise<Output>
下载账单
private
fetchCertificates(apiSecret?: string): Promise<void>
拉取平台证书到 Pay.certificates 中
find_refunds(out_refund_no: string): Promise<FindRefunds.IOutput>
查询单笔退款
fundflowbill(params: Ifundflowbill): Promise<Output>
申请资金账单
获取授权认证信息
构建请求签名参数
get_certificates(apiSecret: string): Promise<ICertificates[]>
获取微信平台key
privateDecrypt(str: string,padding?,): string
敏感信息解密
profitsharing_bills(): Promise<ProfitSharing.ProfitSharingBills.IOutput>
申请分账账单API
profitsharing_orders_unfreeze(params: ProfitSharing.ProfitsharingOrdersUnfreeze.Input): Promise<ProfitSharing.ProfitsharingOrdersUnfreeze.IOutput>
解冻剩余资金API
profitsharing_receivers_add(params: ProfitSharing.ProfitSharingReceiversAdd.Input): Promise<ProfitSharing.ProfitSharingReceiversAdd.IOutput>
添加分账接收方API
profitsharing_receivers_delete(params: ProfitSharing.ProfitSharingReceiversDelete.Input): Promise<ProfitSharing.ProfitSharingReceiversDelete.IOutput>
删除分账接收方API
profitsharing_return_orders(params: ProfitSharing.ProfitSharingReturnOrders.Input): Promise<ProfitSharing.ProfitSharingReturnOrders.IOutput>
请求分账回退API
敏感信息加密
query_batches_transfer_detail(params: BatchesTransfer.QueryBatchesTransferDetail.Input): Promise<BatchesTransfer.QueryBatchesTransferDetail.IOutput>
商家明细单号查询明细单API
query_batches_transfer_detail_wx(params: BatchesTransfer.QueryBatchesTransferDetailByWx.Input): Promise<BatchesTransfer.QueryBatchesTransferDetailByWx.IOutput>
微信明细单号查询明细单API
query_batches_transfer_list(params: BatchesTransfer.QueryBatchesTransferList.Input): Promise<BatchesTransfer.QueryBatchesTransferList.IOutput>
商家批次单号查询批次单API
query_batches_transfer_list_wx(params: BatchesTransfer.QueryBatchesTransferByWx.Input): Promise<BatchesTransfer.QueryBatchesTransferByWx.IOutput>
微信批次单号查询批次单API
query_profitsharing_amounts(transaction_id: string): Promise<ProfitSharing.QueryProfitSharingAmounts.IOutput>
查询剩余待分金额API
query_profitsharing_orders(): Promise<ProfitSharing.CreateProfitSharingOrders.IOutput>
查询分账结果API
query_profitsharing_return_orders(): Promise<ProfitSharing.ProfitSharingReturnOrders.IOutput>
查询分账回退结果API
sha256WithRsa(data: string): string
SHA256withRSA
transactions_app(params: Iapp): Promise<Output>
app支付
transactions_h5(params: Ih5): Promise<Output>
h5支付
transactions_jsapi(params: Ijsapi): Promise<Output>
JSAPI支付 或者 小程序支付
transactions_native(params: Inative): Promise<Output>
native支付
protected
certificates: [key in string]: string