Skip to content

Conversation

@whoAbhishekSah
Copy link
Member

@whoAbhishekSah whoAbhishekSah commented Nov 21, 2025

Summary

Mark billing_id as deprecated in all checkout-related request messages. Backend will automatically infer billing_id from org_id.

Changes

  • CreateCheckoutRequest - Mark billing_id as deprecated
  • ListCheckoutsRequest - Mark billing_id as deprecated
  • GetCheckoutRequest - Mark billing_id as deprecated
  • DelegatedCheckoutRequest (admin) - Mark billing_id as deprecated

Rationale

Each organization has exactly one billing account. Requiring clients to pass both org_id and billing_id is redundant.

Backward Compatibility

✅ No breaking changes - All existing clients continue to work:

  • Deprecated fields remain in the schema
  • Validation rules use ignore_empty: true for gradual migration
  • Backend will ignore deprecated parameters and infer values instead

Related

Backend PR: [Frontier PR link]

whoAbhishekSah and others added 2 commits November 21, 2025 11:39
Mark billing_id as deprecated in all checkout request messages:
- CreateCheckoutRequest
- ListCheckoutsRequest
- GetCheckoutRequest
- DelegatedCheckoutRequest (admin)

Backend will infer billing_id from org_id automatically.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Mark org_id as deprecated in GetCheckoutRequest since checkout can be
fetched by ID alone without needing organization context.

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

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants