Loading…

The merchant scans the user's WeChat payment code to complete the payment

```javascript WXAPI.wxpayCode({ code: '', token: '000', money: 0.01, remark: 'Preferential payment: 0.01', payName: 'Preferential payment' }) ``` + token login credentials + authCode user payment code, rules: 18 pure numbers, prefix starting with 10, 11, 12, 13, 14, 15 + 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 ["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb) Status code description: + code = 0, deduction successful + code = 1, the user is required to further confirm the payment on the mobile phone. In this case, a rotation request is required to query the payment order status interface to determine whether the user has finally paid successfully.