```javascript
WXAPI.setPayPassword(token, pwd)
```
+ token current user login credentials
+ pwd transaction password
This interface can only be called when the user has not set a transaction password. If a transaction password has been set, it can only be called through the `modify transaction password` or `reset transaction password` method.
```json
{
code: 0,
msg: 'success'
}
```