1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 11:13:27 +00:00

[PM-15048] Update bank account verification to use descriptor code (#5048)

* Update verify bank account process to use descriptor code

* Run dotnet format
This commit is contained in:
Alex Morask
2024-11-20 14:36:50 -05:00
committed by GitHub
parent eb20adb53e
commit 052235bed6
7 changed files with 56 additions and 38 deletions

View File

@@ -141,13 +141,13 @@ public interface ISubscriberService
TaxInformation taxInformation);
/// <summary>
/// Verifies the subscriber's pending bank account using the provided <paramref name="microdeposits"/>.
/// Verifies the subscriber's pending bank account using the provided <paramref name="descriptorCode"/>.
/// </summary>
/// <param name="subscriber">The subscriber to verify the bank account for.</param>
/// <param name="microdeposits">Deposits made to the subscriber's bank account in order to ensure they have access to it.
/// <param name="descriptorCode">The code attached to a deposit made to the subscriber's bank account in order to ensure they have access to it.
/// <a href="https://docs.stripe.com/payments/ach-debit/set-up-payment">Learn more.</a></param>
/// <returns></returns>
Task VerifyBankAccount(
ISubscriber subscriber,
(long, long) microdeposits);
string descriptorCode);
}