External Billing Event Object


Properties
appIdstringformat GUID

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.


instanceIdstringformat GUID

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.


grossRevenuestringformat DECIMAL_VALUEdecimalValue {"maxScale":10}

The total amount of the transaction in USD, not including tax. This value can be negative, such as for adjustments or refunds.


netRevenuestringformat DECIMAL_VALUEdecimalValue {"maxScale":10}

The amount charged in USD minus agreed-upon expenses, such as shipping fees. Wix subtracts its share from this amount. The value can be negative.


wixSharestringformat DECIMAL_VALUEdecimalValue {"maxScale":10}

Wix's share of the transaction in USD, taken from the net revenue. This value can be negative, such as for adjustments or refunds.

Make sure to adjust the Wix share if it changes, for example after the first year of your partner agreement.


createdDatestringformat date-time

The date and time of the transaction.


billingTypestring

The type of billing event, either charge or refund.

Did this help?