Resellers
viewstacom/resellers-hd.faq-views.title
-
Yes, you can interact with our system using our API. First you need to create a token on the "API" page in your account on viewsta.com.
We also provide a Perfect Panel API. For API Perfect Panel, please add https://core.viewsta.com on the provider's admin page.
API Documentation is available in your personal account: https://app.viewsta.com/api/documentation.
If you have any questions feel free to contact our support via live-chat and they will guide you.
-
Using the widget's JS API, the site owner has the ability to programmatically control the widget.
For example: On your site (in the header of the site) there is an input field for the URL and a "Buy Views" button. Using the setUrl method, you can copy data from your field to a similar field on the widget.
Use this to return all networks with their id:
widget.getNetworks()
In each network you will see the serviceTypes field. From there you need to take the services id.
Usage example:
window.vastServiceOrderWidget({
mountTargetSelector: '#order-widget',
apiUrl: 'https:/api.url/',
apiToken: 'sometoken',
language: 'ru',
currency: 'RUB'
})
.onInit((widget, event) => {
widget.selectNetwork(1)
widget.selectServices([1, 3])
widget.setURL('via API')
widget.setEmail('vai@api.com')
console.log('getNetworks', widget.getNetworks())
console.log('getSelectedNetwork', widget.getSelectedNetwork())
console.log('getServices', widget.getServices())
сonsole.log('getSelectedServices', widget.getSelectedServices())
})
.onNetworkSelected((widget, id) => {
console.log('onNetworkSelected', id);
})
.onServicesSelected((widget, ids) => {
console.log('onServicesSelected', ids);
})
.onInvoiceCreated((widget, event) => {
console.log('onInvoiceCreated', event)
})
.onURLInput((widget, url) => {
console.log('onURLInput', 'getURL', widget.getURL())
})
.onEmailInput((widget, email) => {
console.log('onEmailInput', 'getEmail', widget.getEmail())
})
.onCost((widget, event) => {
console.log('onCost', event)
})
.onFormSend((widget) => {
console.log('onFormSend')
-
There are two ways to work with Viewsta Referral Program:
- Use Viewsta White Label Widget and make money from the difference in price. Your income will depend on the price you will set up.
- Get a referral link in your personal account. Share it with your partners and friends. You will get 5% from their spendings on your balance
To get more information about referral programs on viewsta.com please follow this link: https://viewsta.com/app/referral-program
If you have any questions feel free to contact our support via live-chat and they will guide you.
-
The widget is mounted and works as part of the site page, therefore, in rare cases, conflicts between site styles and the widget are possible.
The widget is centered by itself. That is, the container in which the widget is located should either not have restrictions on the width, or the minimum width of the container should be at least 1000px.
-
White labeling is a legal protocol that allows one product or service to be sold and rebranded under another company's brand.
You can use Viewsta Quick Order Widget on your website and make money from the difference in price. Your income will depend on the price you will set up.
Widget “Order without registration” offers your website's users to choose a service and quantity, insert a video's link and pay for the order.
We made our widget the most customizable so you can setup:
- Services
- Pricing
- Payment methods
- Design
Widget form is available on your personal account: https://app.viewsta.com/order-widget.
To get more information about referral programs on viewsta.com please follow this link: https://viewsta.com/app/referral-program.
If you have any questions feel free to contact our support via live-chat and they will guide you.