This endpoint adjusts the event-credit balance for a given legal entity. You can add credits, or remove credits (e.g., refunds, corrections), depending on the values you provide.
You must supply a unique idempotencyKey for each request. If the same key is reused, the API returns an error.This prevents the same request from being processed more than once.
Provide a list of credit operations, each containing:eventTemplateId — the event template the credits apply tonumberOfCredits — the quantity to add (positive) or remove (negative)
If numberOfCredits is negative:The system will first attempt to reduce credits originating from the specified orderNumber.If that order does not have enough remaining credits, the system will reduce credits from other orders, starting with the oldest.The total credit balance for a given eventTemplateId will never be reduced below zero. A legal entity cannot end up with a negative credit balance.