Constructor
# new IdentityPassBankAccountService()
Methods
# async compareBankAccount(data) → {Promise.<VerificationResponse.<BankAccountVerificationData>>}
Compare Bank Account with Name
Parameters:
| Name | Type | Description |
|---|---|---|
data |
BankAccountComparisonRequest
|
Promise.<VerificationResponse.<BankAccountVerificationData>>
# async listBankCodes() → {Promise.<VerificationResponse.<Array>>}
List Bank Codes
Promise.<VerificationResponse.<Array>>
# mapBankAccountData()
Map Bank Account API response to BankAccountVerificationData Handles various response field formats from Prembly API
# async verifyBankAccount(data) → {Promise.<VerificationResponse.<BankAccountVerificationData>>}
Verify Bank Account Number (Basic)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
BankAccountVerificationRequest
|
Promise.<VerificationResponse.<BankAccountVerificationData>>
# async verifyBankAccountAdvance(data) → {Promise.<VerificationResponse.<BankAccountVerificationData>>}
Retrieve Financial Accounts Linked to BVN (Advance) This is a multi-step process (Initialize → Get Consent → Retrieve)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
BankAccountAdvanceVerificationRequest
|
- Deprecated:
- This method requires multi-step OTP flow - use verifyBankAccount for simple verification
- See:
View Source identitypass/services/bank-account-verification.service.ts, line 104
Promise.<VerificationResponse.<BankAccountVerificationData>>