Small micro-channel charge-free loan program issues

Micro-channel pay their subsystems, using sub-exempt pay a deposit, can be used to share cycling and other deposit-free loan.

Free rental charge micro-channel interfaces provided :( using HMAC-SHA256 encryption method, to use a certificate and key apiv3)

Create a loan Order: https://api.mch.weixin.qq.com/wxv/createrentbill apply for custody of the interface, free from charge transfer process and avoid dense payment confirmation.

The end of the lease Order: https://api.mch.weixin.qq.com/wxv/finishrentbill the end of the lease orders, incoming amount (can be zero), to complete the loan.

Rental inquiry Order: https / api.mch.weixin.qq.com / wxv / queryrentbill orders inquiry on loan, get the current status of orders and type.

Edit Rental Order: https://api.mch.weixin.qq.com/wxv/changerentmoney precondition is the end user to confirm or merchant, the user can not be used to pay. (Feeling just did -_-)

Precautions:

1. The embodiment differs from the default encryption MD5 encryption, encryption and signature generation mode attention.

2. Use the certificate, passed the order url used to create a loan.

3. Create rented, the program jumps to the needs of small micro-channel charge measured for Free invoking the front end, to the need to encrypt a front end for extraData jump.

Apiv3 must ensure that the generated key, otherwise not receive callbacks 4. When the user enters the password for confirmation.

5. refund interfaces, using the native refund the balance of md5 encryption is that, there is no transfer through being open. .

Guess you like

Origin www.cnblogs.com/liu95/p/10935172.html