Note: This API is only for Partner Billed Apps, which charge users using their own payment provider.
The External Billing Events API allows you to report charges and refunds to Wix for revenue tracking when you handle payment processing yourself, such as through Stripe or PayPal.
To get your Partner Billed App approved, you need to:
Note: Hosting your own external pricing page doesn't automatically make you a Partner Billed App. External pricing pages that process payments through Wix should use the Billing API, whereas external pricing pages that process payments independently should use this External Billing Events API.
The API has 1 method, Report External Billing Event, that lets you send the details of a billing event. In each method call, you report 1 external billing event associated with a single instance of your app.
It’s important to note the following point before starting to code:
Since you report a billing event for a specific app instance, you need at least 1 of the following:
Manage Custom Apps permission, from the account that owns your app.