Skip to content

Commit 6f5110c

Browse files
chore: deprecate org_id in GetCheckoutRequest
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 <[email protected]>
1 parent 60d2868 commit 6f5110c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

raystack/frontier/v1beta1/frontier.proto

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2320,9 +2320,15 @@ message ListCheckoutsResponse {
23202320
}
23212321

23222322
message GetCheckoutRequest {
2323-
string org_id = 1 [(validate.rules).string.min_len = 3];
2324-
// DEPRECATED: billing_id will be inferred from org_id
2325-
// ID of the billing account to get the subscriptions for
2323+
// DEPRECATED: org_id is not needed, checkout can be fetched by id alone
2324+
string org_id = 1 [
2325+
deprecated = true,
2326+
(validate.rules).string = {
2327+
ignore_empty: true,
2328+
min_len: 3
2329+
}
2330+
];
2331+
// DEPRECATED: billing_id is not needed, checkout can be fetched by id alone
23262332
string billing_id = 2 [
23272333
deprecated = true,
23282334
(validate.rules).string = {

0 commit comments

Comments
 (0)