Skip to content

Commit

Permalink
Revert "feat(frontier): add rpc to get billing account portal url"
Browse files Browse the repository at this point in the history
This reverts commit 31ca597.
  • Loading branch information
rsbh committed Apr 30, 2024
1 parent 31ca597 commit 0f75c73
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions raystack/frontier/v1beta1/frontier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1460,15 +1460,6 @@ service FrontierService {
};
}

rpc GetBillingAccountPortalURL(GetBillingAccountPortalURLRequest) returns (GetBillingAccountPortalURLResponse) {
option (google.api.http) = {get: "/v1beta1/organizations/{org_id}/billing/{id}/portal"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
tags: "Billing";
summary: "Get billing account portal URL";
description: "Get a billing account portal url by ID.";
};
}

rpc GetBillingBalance(GetBillingBalanceRequest) returns (GetBillingBalanceResponse) {
option (google.api.http) = {get: "/v1beta1/organizations/{org_id}/billing/{id}/balance"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
Expand Down Expand Up @@ -1841,19 +1832,6 @@ message DeleteBillingAccountRequest {

message DeleteBillingAccountResponse {}

message GetBillingAccountPortalURLRequest {
// ID of the billing account to get
string id = 1 [(validate.rules).string.min_len = 1];

string org_id = 2 [(validate.rules).string.min_len = 1];

string return_url = 3;
}

message GetBillingAccountPortalURLResponse {
string url = 1;
}

message GetBillingBalanceRequest {
// ID of the billing account to get the balance for
string id = 1 [(validate.rules).string.uuid = true];
Expand Down

0 comments on commit 0f75c73

Please sign in to comment.