Skip to content

Commit 5127fe5

Browse files
authored
fix: skip BIC/IBAN phone verification for RULE_14 wallets (#3516)
RULE_14 already skips the age-based phone check but not the BIC/IBAN-based checks for banks like Swissquote. This adds the same exception to both phone verification conditions.
1 parent 1a4bab0 commit 5127fe5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/subdomains/core/aml/services/aml-helper.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ export class AmlHelperService {
308308

309309
if (
310310
!entity.userData.phoneCallCheckDate &&
311+
!entity.user.wallet.amlRuleList.includes(AmlRule.RULE_14) &&
311312
entity.userData.isPersonalAccount &&
312313
phoneCallList.some((b) =>
313314
b.matches([SpecialExternalAccountType.AML_PHONE_CALL_NEEDED_BIC_BUY], entity.bankTx.bic),
@@ -316,6 +317,7 @@ export class AmlHelperService {
316317
errors.push(AmlError.BIC_PHONE_VERIFICATION_NEEDED);
317318
if (
318319
!entity.userData.phoneCallCheckDate &&
320+
!entity.user.wallet.amlRuleList.includes(AmlRule.RULE_14) &&
319321
entity.userData.isPersonalAccount &&
320322
phoneCallList.some(
321323
(b) =>

0 commit comments

Comments
 (0)