diff --git a/src/Api/Billing/Controllers/BillingController.cs b/src/Api/Billing/Controllers/TaxController.cs similarity index 90% rename from src/Api/Billing/Controllers/BillingController.cs rename to src/Api/Billing/Controllers/TaxController.cs index b19c779d2..bb947535e 100644 --- a/src/Api/Billing/Controllers/BillingController.cs +++ b/src/Api/Billing/Controllers/TaxController.cs @@ -6,14 +6,14 @@ using Microsoft.AspNetCore.Mvc; namespace Bit.Api.Billing.Controllers; -[Route("billing")] +[Route("tax")] [Authorize("Application")] -public class BillingController( +public class TaxController( IStripeAdapter stripeAdapter) : Controller { [HttpPost] - [Route("calculate-tax")] - public async Task CalculateTaxAsync([FromBody] CalculateTaxRequestModel requestBody) + [Route("calculate")] + public async Task CalculateAsync([FromBody] CalculateTaxRequestModel requestBody) { var options = new Stripe.Tax.CalculationCreateOptions {