From e8c6183dcdce6b370fd24934dec826ef38d14e3b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sun, 13 Aug 2017 00:48:14 -0400 Subject: [PATCH] bank account status --- src/Core/Models/Business/BillingInfo.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Core/Models/Business/BillingInfo.cs b/src/Core/Models/Business/BillingInfo.cs index 5a51c1a11c..7c5ecce737 100644 --- a/src/Core/Models/Business/BillingInfo.cs +++ b/src/Core/Models/Business/BillingInfo.cs @@ -31,9 +31,11 @@ namespace Bit.Core.Models.Business break; case SourceType.BankAccount: Type = PaymentMethodType.BankAccount; - Description = $"{source.BankAccount.BankName}, *{source.BankAccount.Last4}"; + Description = $"{source.BankAccount.BankName}, *{source.BankAccount.Last4} - " + + (source.BankAccount.Status == "verified" ? "verified" : + source.BankAccount.Status == "errored" ? "invalid" : + source.BankAccount.Status == "verification_failed" ? "verification failed" : "unverified"); break; - // bitcoin? default: break; }