Loading…

Get visa-free payment code

["Click to view business introduction"](https://www.yuque.com/apifm/doc/sqx1y6) ```javascript WXAPI.alipay({ token: '000', money: 0.01, remark: 'Preferential payment: 0.01', payName: 'Preferential payment' }) ``` + token login credentials + money payment amount + payName The purchase name displayed on the payment interface + remark remark information will be recorded in the remark field in the background payment record. It does not need to be passed. + nextAction After the payment is successful, the next operation that needs to be performed does not need to be passed. + shopId the payment store ID, optional The interface returns: ```json { "code": 0, "data": "https://www.it120.cc/alipay/pay/1002578", "msg": "success" } ``` The link address returned by data is Alipay’s scan code payment address. Please generate a QR code for this address and prompt the user to scan the code to pay using Alipay.