Skip to content

Conversation

@rohilsurana
Copy link
Member

Summary

Changes

Deprecated org_id in:

  1. GetBillingAccount
  2. UpdateBillingAccount
  3. RegisterBillingAccount
  4. DeleteBillingAccount
  5. EnableBillingAccount
  6. DisableBillingAccount
  7. GetBillingBalance
  8. HasTrialed (both id and org_id deprecated, inferred from plan_id)

Not deprecated (correctly kept as required):

  • CreateBillingAccount - needs org_id to create billing account
  • ListBillingAccounts - needs org_id to filter accounts

Migration Path

Following the established pattern:

  • org_id marked as deprecated in proto
  • Backend will infer org_id from billing account id
  • Existing paths remain for backward compatibility
  • Will be removed in 2 future releases

@rohilsurana rohilsurana merged commit b1687af into main Jan 20, 2026
2 checks passed
@rohilsurana rohilsurana deleted the refactor/deprecate-org-id-billing-account-crud branch January 20, 2026 06:42
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