Stigg Product Updates logo

Product Updates

Back to Homepage Subscribe to Updates

Labels

  • All Posts

Jump to Month

  • June 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • August 2022
  • July 2022
  • June 2022
2 days ago

Real-Time Credit Ingestion: Instant Balance Updates and Synchronous Deductions

We've enhanced credit ingestion to support real-time balance updates. Applications can now deduct credits synchronously and receive an updated balance immediately in the response, enabling real-time usage experiences without waiting for ingestion to complete.

🆕 What's New

Previously, credits were consumed through reportEvent, which processes usage asynchronously. As a result, credit balances were only updated after ingestion, introducing a delay of several seconds before the latest balance was available.

With this release, reportUsage now supports synchronous credit deductions.

When usage is reported:

  • Credits are deducted immediately
  • The updated balance is returned in the reportUsage response
  • Applications can display current credit balances without waiting for ingestion pipelines to complete

⭐️ Why It Matters

Many usage-based products rely on real-time credit visibility and enforcement.

With synchronous deductions, you can:

  • Show customers accurate credit balances immediately after usage occurs
  • Enforce credit limits in real time
  • Build AI, API, and consumption-based products without balance update delays
  • Deliver a more responsive usage experience

Whether you're charging credits per API call, AI request, or other metered action, customers can now see the impact of their usage instantly.

⚒️ Getting Started

Use reportUsage to report and consume credits synchronously.

The updated balance is returned directly in the API response and is supported by the latest Stigg SDKs.

📦 Availability

To consume credits synchronously and receive updated balances in the reportUsage response, upgrade to one of the following SDK versions:

REST-based SDKs

  • Python: v0.1.0-beta.29
  • Go: v0.1.0-beta.30
  • Java: v0.1.0-beta.28
  • Ruby: v0.1.0-beta.32

GraphQL-based SDKs

  • Node.js: v4.46.0
  • Python / Go / .NET: v6.14.0
  • Java: v6.15.0
  • Ruby: v6.12.0
Avatar of authorNoa Levi