The Billing API allows to charge site owners for using your app.
With the Billing API, you can:
- Retrieve data about a site's previous paid plans for your app.
- Redirect site owners to the standard Wix checkout page in case you manage your app's pricing page outside of Wix.
- Ensure that your app's integration with the Custom Charges service plugin works as intended.
See the App Instance API
for more information on how to track data that's associated with individual app
instances. Learn more about charging customers varying amounts each billing
cycle with the Custom Charges service plugin.
It’s important to note the following points before starting to code:
- Wix allows you to manage your app's pricing page either through Wix or
externally. You can display up to 4 different plans for your app on the Wix
pricing page.
- In case you manage your pricing page on your own servers, you can
still redirect site owners to the standard Wix checkout page by using
Get URL.
- App instance: Specific occurrence of your app on a particular Wix site.
- Paid plan: The site owners have installed a version of your app that isn't
free of charge. Your app could charge them a single payment or on a
subscription basis.
- Wix pricing page: Wix offers your app an out-of-the-box pricing page that
displays up to 4 plans for your app to site owners.
- Wix checkout: Wix allows you to charge site owners either through the Wix
Billing ecosystem or to manage your app's billing externally. In case you
manage your app's pricing page on your own servers, you can still redirect
site owners to the standard Wix checkout page by using
Get URL.