连连银通产品-Java示例工程
欢迎来到连连银通产品开放平台API接口的Java示例代码仓库, 本仓库包含示例代码及必要的说明。
Demo仅做参考,请仔细阅读Demo代码,如有问题及时群内连连技术技术。
Java JDK版本为1.8及以上
1、config/LLianPayContant.java 保存测试商户号、测试商户号对应私钥、连连公钥,可视情况进行替换。
2、security/LLianPayYtSignature.java 包含签名、验签、本地加密方法。
3、client/LLianPayClient.java 发起请求方法。
4、部分Demo需要用debug打断点方式进行调试,请自行阅读注释。
5、部分Demo是无法直接运行的,需要在代码中添加相应个人信息后方可运行(手机号、证件号、银行卡号等)。
- 银行卡签约申请/验证:BankCardBindDemo.java https://open.lianlianpay.com/apis/bankCard-signing.html
- 一键绑卡签约申请:BankCardOneBindDemo.java https://open.lianlianpay.com/apis/token-sign-createbill.html
- 收银台支付创单:PayServerApiPayCreateBillDemo.java https://open.lianlianpay.com/apis/unified-payment.html
- 银行卡支付:BankCardPayDemo.java https://open.lianlianpay.com/apis/signingPayment-application.html
- 收款结果查询:OrderQueryDemo.java https://open.lianlianpay.com/apis/receive-money-result-query.html
- 微信支付宝创单 WechatAlipayCreateDemo https://open.lianlianpay.com/apis/bankcardprepay.html
- 付款申请:PaymentDemo.java https://open.lianlianpay.com/apis/instant-apply.html
- 付款结果查询:QueryPaymentDemo.java https://open.lianlianpay.com/apis/instant-result-query.html
- 退款:RefundDemo.java https://open.lianlianpay.com/apis/refund.html
- 退款结果查询:RefundQueryDemo.java https://open.lianlianpay.com/apis/refund-query.html
- 卡bin查询:BankCardBinDemo.java https://open.lianlianpay.com/apis/card-bin-query.html
- 支持银行查询:SupportBankQueryDemo.java https://open.lianlianpay.com/apis/support-bank-list-query.html
- 大额行号查询:PrcptcdQueryDemo.java https://open.lianlianpay.com/apis/prcptcd-query.html
- 用户签约银行卡列表查询:BankCardBindQueryDemo.java https://open.lianlianpay.com/apis/bind-card-list-query.html
- 银行卡解约:BankcardUnbindDemo.java https://open.lianlianpay.com/apis/unbind-card.html
- 账户余额查询接口:TraderAcctQueryDemo.java https://open.lianlianpay.com/apis/account-balance-query.html
- 支付订单关闭:ClosePayOrderDemo.java https://open.lianlianpay.com/apis/close-order.html