Update a Revenue
Request
- Base URL: https://hellosafe.com
- URL: https://hellosafe.com/api/revenues/{id}
- Auth: OAuth 2 (password, token URL /api//openapi-auth)
Request body
Reference id from the external source (e.g. Chapka lead id, partner conversion id, click id). Used to de-duplicate and reconcile.
How this revenue is earned. Drives whether a commission rate applies.
ID of the partners
ID of the subscriptions
Real profit for this conversion, in EUR (decimal, e.g. 12.50). Converted to EUR via the FX quote rate when the source currency is not EUR. Set to 0 when the underlying sale is refunded.
The partner commission rate (%) applied to compute this revenue, snapshotted at creation time. Empty for fixed-price types (cpc, lead_gen).
Full landing-page URL of the linked subscription (auto-derived, not stored). Filterable in the list view — use the "contains" operator to isolate a marketing-attribution param, e.g. contains "gad_source".
Response
Revenue object
Reference id from the external source (e.g. Chapka lead id, partner conversion id, click id). Used to de-duplicate and reconcile.
How this revenue is earned. Drives whether a commission rate applies.
Real profit for this conversion, in EUR (decimal, e.g. 12.50). Converted to EUR via the FX quote rate when the source currency is not EUR. Set to 0 when the underlying sale is refunded.
The partner commission rate (%) applied to compute this revenue, snapshotted at creation time. Empty for fixed-price types (cpc, lead_gen).
Full landing-page URL of the linked subscription (auto-derived, not stored). Filterable in the list view — use the "contains" operator to isolate a marketing-attribution param, e.g. contains "gad_source".
Changes
No recorded changes to this operation across all 1 revision of this API.