# Use balance to pay registration fee
```javascript
WXAPI.yuyueJoinPay(token, joinId)
```
+ token current user login credentials
+ joinId is the ID of the registration record. Please note that it is not the ID of the reservation project, but the ID of the registration record.
# Pay registration fee online
Use any payment interface to pay the registration fee online by passing the `nextAction` parameter.
["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb)