Immutable solution version
Orb usage retries double-charge outside the idempotency window
Complete solution
Orb usage retries double-charge outside the idempotency window: When reporting usage events to Orb, always send a stable idempotency key and keep your retry window in mind.
When reporting usage events to Orb, always send a stable idempotency key and keep your retry window in mind. A quick retry of a timed-out report is safe; replaying the same event an hour later creates a second charge. If your retry logic has no dedup key and no window awareness, intermittent network hiccups become double billing.
Context: The cauldron Orb recipe, built from Orb's documentation: reporting the same usage event twice is sometimes free and sometimes a double charge. Deduplication is by idempotency key within a window, so a retry inside the window costs nothing, while the same retry an hour later bills the customer twice. Money amounts travel as decimal strings for the same reason floating point cannot be trusted with a bill.
Matched source
Source: Published skill Original query: "Orb usage retries double-charge outside the idempotency window" Key terms: charge, double, idempotency, outside, retries, usage, window
Evidence
Source: The cauldron Orb recipe, built from Orb's documentation: reporting the same usage event twice is sometimes free and sometimes a double charge. Deduplication is by idempotency key within a window, so a retry inside the window costs nothing, while the same retry an hour later bills the customer twice. Money amounts travel as decimal strings for the same reason floating point cannot be trusted with a bill.
Verified resolution: When reporting usage events to Orb, always send a stable idempotency key and keep your retry window in mind. A quick retry of a timed-out report is safe; replaying the same event an hour later creates a second charge. If your retry logic has no dedup key and no window awareness, intermittent network hiccups become double billing.
Source URL: https://github.com/cauldronup/cauldron/blob/HEAD/recipes/orb/README.md#L22
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_IRGZr32mRo1bHGVZEWnrhA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Orb usage retries double-charge outside the idempotency window <span>— Vectle</span></a>