removedInput schema / properties / customerId
Removed value: -{
- "description": "Required Stripe customer identifier to evaluate (format example: 'cus_9s6XKzkNRiz8i3', max 64 chars).",
- "type": "string"
-}
addedInput schema / properties / dunningGracePeriodDays / default
Added value: +3
removedInput schema / properties / dunningGracePeriodDays / description
Removed value: -"Dunning grace window in integer days (valid range: 0 to 14, default: 3) after latest_invoice_failed_at during which past_due subscriptions remain entitled."
removedInput schema / properties / occurredAtSec
Removed value: -{
- "description": "Optional alias for usageTimestampSec: Unix epoch timestamp in integer seconds (e.g. 1761264000) when the usage event occurred (used when usageTimestampSec is omitted).",
- "type": "integer"
-}
changedInput schema / properties / subscriptions / description
Previous value: -"Required Stripe customer subscriptions payload: either a Stripe list object ({ data: [...], has_more: false }) or a raw array of up to 50 subscription objects containing id, status ('active', 'trialing', 'past_due', 'canceled', 'unpaid'), current_period_end, or items.data[].current_period_end in Unix seconds."New value: +"Stripe subscriptions list envelope ({ data: [...], has_more: false })."
addedInput schema / properties / subscriptions / type
Added value: +"object"
removedInput schema / properties / subscriptionsHasMore
Removed value: -{
- "description": "Pagination completeness flag (boolean). Must be explicitly set to false when passing a raw subscriptions array so RevClamp can verify no active subscription was truncated on a later page.",
- "type": "boolean"
-}
addedInput schema / properties / usageEvent
Added value: +{
+ "description": "Metered usage event with customer_id, event_name, occurred_at.",
+ "type": "object"
+}
removedInput schema / properties / usageTimestampSec
Removed value: -{
- "description": "Optional Unix epoch timestamp in integer seconds (e.g. 1761264000) when the AI/API usage event occurred (defaults to current server Unix timestamp if omitted).",
- "type": "integer"
-}
changedInput schema / required
Previous value: -[
- "customerId",
- "subscriptions"
-]New value: +[
+ "subscriptions",
+ "usageEvent"
+]