# Use balance to purchase
```javascript
WXAPI.virtualTraderBuyV2(token, id)
```
+ token current user login credentials
+ id virtual item id
# Pull up online payment purchase
Call the corresponding online payment interface and pass the corresponding parameters to the `nextAction` parameter of the interface:
["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb)