> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: External Billing Events

# Type: External Billing Event Object

# Link: https://dev.wix.com/docs/api-reference/app-management/app-billing/external-billing-events/external-billing-event-object.md

## Schema:

```json
 Type: External Billing Event Object | type: ExternalBillingEvent
       - name: appId  | type: string | description: The app ID linked to this transaction. This field is only relevant if using an API key for authorization, in which case you're required to pass the app ID.
           - name: value  | type: string | description: 
       - name: instanceId  | type: string | description: The app instance ID linked to this transaction. This field is only relevant if using an API key for authorization, in which case you can optionally pass the instance ID.  This connects the transaction to a specific instance of your app installed on a Wix site. Learn more [about app instances](https://dev.wix.com/docs/build-apps/develop-your-app/access/app-instances/about-app-instances.md).
       - name: grossRevenue  | type: string | description: The total amount of the transaction in USD, not including tax. This value can be negative for refunds or adjustments.  Example: "120.50" for a $120.50 charge, or "-120.50" for a $120.50 refund.
       - name: netRevenue  | type: string | description: The amount charged in USD minus agreed-upon expenses, such as shipping fees or payment processing fees. Wix subtracts its share from this amount. The value can be negative for refunds.  Example calculation: - Gross revenue: $120.50 - Minus expenses: $20.00 (shipping) - Net revenue: $100.50
       - name: wixShare  | type: string | description: Wix's share of the transaction in USD, taken from the net revenue. This value can be negative, such as for adjustments or refunds.  Calculate based on your Partner Agreement terms. For example, if Wix's share is 20%: - Net revenue: $100.50 - Wix share (20%): $20.10  Important: Update this value if your revenue share percentage changes.
       - name: createdDate  | type: string | description: The date and time of the transaction.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: billingType  | type: string | description: The type of billing event, either charge or refund.
           enum: UNKNOWN, CHARGE, REFUND

```