Triggered when usage data creates a metered charge. Feeds usage-based billing metrics with token counts and resulting cost. Payload fields: paywallId, ownerUserId, walletUserId, activityId, model, promptTokens, completionTokens, cost.
Documentation Index
Fetch the complete documentation index at: https://docs.paywalls.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paywall event payload that triggered the webhook delivery.
Event key (see the webhooks section for the full catalog).
paywall.updated, paywall.archived, paywall.secret.rotated, paywall.integration.connected, paywall.integration.disconnected, paywall.integration.stripe.webhook.rotated, paywall.authorization.requested, paywall.authorization.completed, paywall.authorization.revoked, paywall.authorization.declined, paywall.balance.deposit.created, paywall.balance.topup.link.created, paywall.balance.trial.granted, paywall.balance.charge.created, paywall.balance.charge.completed, paywall.balance.charge.failed, paywall.usage.charge.created, paywall.usage.charge.deferred, paywall.usage.rate.limited, paywall.balance.depleted, paywall.request.blocked, paywall.stripe.checkout.session.completed, paywall.proxy.request.started, paywall.proxy.request.completed, paywall.proxy.request.failed, paywall.proxy.request.canceled, paywall.proxy.request.blocked "paywall.usage.charge.created"Payload fields: paywallId, ownerUserId, walletUserId, activityId, model, promptTokens, completionTokens, cost.
Return a 2xx to acknowledge receipt.