Loading…

General method for initiating payment

```javascript WXAPI.payVariableUrl(url, { ... }) ``` + url The URL address of the payment interface + The second parameter is used to call the required parameters of the payment interface. For specific parameters, please see the parameters required by the specific payment interface. All online payment interfaces can use this interface to initiate payment, and the functions achieved by using specific payment interfaces are the same. You can choose which interface to use to initiate payment based on actual needs and convenience. **Interface returns:** For details, please refer to the content returned by the specific payment interface.