1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 18:23:44 +00:00

[PM-25123] Remove VerifyBankAsync Code (#6355)

* refactor: remove VerifyBankAsync from interface and implementation

* refactor: remove controller endpoint
This commit is contained in:
Stephon Brown
2025-09-22 13:51:36 -04:00
committed by GitHub
parent 8c238ce08d
commit ed5e4271df
3 changed files with 0 additions and 56 deletions

View File

@@ -211,18 +211,6 @@ public class OrganizationsController(
return new PaymentResponseModel { Success = true, PaymentIntentClientSecret = result };
}
[HttpPost("{id:guid}/verify-bank")]
[SelfHosted(NotSelfHostedOnly = true)]
public async Task PostVerifyBank(Guid id, [FromBody] OrganizationVerifyBankRequestModel model)
{
if (!await currentContext.EditSubscription(id))
{
throw new NotFoundException();
}
await organizationService.VerifyBankAsync(id, model.Amount1.Value, model.Amount2.Value);
}
[HttpPost("{id}/cancel")]
public async Task PostCancel(Guid id, [FromBody] SubscriptionCancellationRequestModel request)
{