billing
Flush Metered Usage
Report all unreported metered usage events for the calling key.
Routes to the correct billing provider based on the org's billing_provider field (Stripe / AWS Marketplace / Azure Marketplace). Idempotent: events already reported (reported_to_stripe_at IS NOT NULL) are skipped, and each provider-specific path uses event id as the idempotency key so partial failures + retries do not double-charge.
post/api/v1/billing/usage/flush
Request
- Base URL: https://api.accurecord.io (the document declares no server; this is the origin it was published from)
- URL: https://api.accurecord.io/api/v1/billing/usage/flush
- Auth: none declared
Headers
x-api-keystring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.