Revenue object
A revenue record represents one sale, refund, or adjustment that can be used in payout calculations.
- Use external_id to make revenue submissions idempotent for a source.
- Use positive amounts for sales and negative amounts for refunds.
- Use adjustment records to correct non-refund differences.
- A linked refund can include original_revenue_id. The original must be a sale in the same workspace and currency, and all linked refunds together cannot exceed the original sale amount.
- Revenue records cannot be edited through the API after creation.