# New payment deposit
```javascript
WXAPI.payDepositV2({
token: '000'
})
```
+ token current user login credentials
+ amount deposit amount
+ refCode business code, customizable business code
+ remark note information
+ extJsonStr can customize the passed extended attributes in Json format string form
return value
```json
{"code":40000,"msg":"The available balance is insufficient to pay the deposit","data":1100.39}
```
+ code If it is 40000, it means that the balance is not enough, and the data stores the difference. Please use this amount to initiate online payment for collection.
[https://www.yuque.com/apifm/doc/aetmlb#uCLW8](https://www.yuque.com/apifm/doc/aetmlb#uCLW8)
+ code If it is 0, the payment is successful
# Complete the payment of the existing deposit record to be paid
```javascript
WXAPI.payStatusDepositV2({
token: '000',
ID: 123
})
```
+ token current user login credentials
+ id Deposit record with pending payment status