Skip to content

Conversation

@whoAbhishekSah
Copy link
Member

Summary

Deprecate billing_id and project_id parameters in entitlement and usage RPCs. These fields will now be automatically inferred from org_id on the backend.

Changes

Marked the following fields as deprecated:

  • CheckFeatureEntitlementRequest: billing_id, project_id
  • CreateBillingUsageRequest: billing_id, project_id
  • RevertBillingUsageRequest: billing_id, project_id

Usage

Clients should now only provide org_id when calling these RPCs:

  • CheckFeatureEntitlement
  • CreateBillingUsage
  • RevertBillingUsage

The backend will automatically infer the billing account ID from the organization ID.

…e RPCs

Mark billing_id and project_id fields as deprecated in the following RPCs:
- CheckFeatureEntitlement
- CreateBillingUsage
- RevertBillingUsage

The billing_id will now be automatically inferred from org_id on the backend.
The project_id is also deprecated - use org_id directly instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rohilsurana rohilsurana merged commit 985fb92 into main Jan 13, 2026
2 checks passed
@rohilsurana rohilsurana deleted the billing_simplification_entitlement_usage branch January 13, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants