> 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`). > - 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 ```