### Enable Specific Use Cases Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Enables the functionality for specific use cases within the SingleView SDK. Prior setup of a use case is required before it can be accessed. ```javascript sv.setUseCase("enter-usecase-tag"); ``` -------------------------------- ### Get Standing Orders (JavaScript) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all standing orders associated with accounts linked to a specified `consentId`. The `consentId` can include multiple accounts from the same bank. ```javascript sv.getStandingOrder( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Get All Accounts Standing Orders (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Provides a list of standing orders for all accounts associated with a specific consent and bank. Requires `Context` and an `ArrayList` of `SVRequestBank` objects. ```java SingleViewSDK.Companion.getAllAccountsStandingOrders( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ``` -------------------------------- ### Get Standing Orders Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all standing orders associated with accounts linked to the specified consentId. The consentId can cover single or multiple accounts from the same bank. ```APIDOC ## GET /standing-orders ### Description Retrieves the information on all the standing orders concerned to the account(s) connected to the specified consentId. ### Method GET ### Endpoint /standing-orders ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id" } ] } ``` ### Response #### Success Response (200) - **standingOrders** (array) - A list of standing order objects. #### Response Example ```json { "standingOrders": [ { "standingOrderId": "so_101", "description": "Rent Payment", "amount": { "currency": "USD", "value": "-1200.00" }, "nextPaymentDate": "2023-11-01", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Get Party/Parties Information with SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web The `.getParties()` method fetches the account ownership details for all accounts included in the provided `consentId`. This provides information about the account holders. ```javascript sv.getParties( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Get Standing Orders By Account ID Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves standing order information for a specific bank account linked to a given Consent ID. Requires consentId and accountId. ```APIDOC ## GET /standing-orders/by-account-id ### Description Retrieves information of standing orders for the specified bank account included in the specific Consent ID. ### Method GET ### Endpoint /standing-orders/by-account-id ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. - **accountId** (string) - Required - The ID of the bank account. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id", "accountId": "your-account-id" } ] } ``` ### Response #### Success Response (200) - **standingOrders** (array) - A list of standing order objects for the specified account. #### Response Example ```json { "standingOrders": [ { "standingOrderId": "so_102", "description": "Loan Repayment", "amount": { "currency": "USD", "value": "-300.00" }, "nextPaymentDate": "2023-11-15", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Get All Accounts using SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web The `.getAccounts()` method retrieves a list of all accounts linked to a specific consent. It requires the bank object's `code` and `consentId` as parameters. ```javascript sv.getAccounts( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Get Balance for Accounts using SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web The `.getBalance()` method retrieves the balance for one or more accounts associated with the provided `consentId`. If multiple accounts are linked, it lists the balance for each. ```javascript sv.getBalance( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Get All Merchants in Kotlin and Java Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Retrieves a list of all merchants associated with a specific client ID and client code. This method requires context, page number, and page count. ```kotlin SingleViewSDK.getAllMerchants( context: Context, pageNo: String, pageCount: String ){ result -> println("$response") } ``` ```java SingleViewSDK.Companion.getAllMerchants( Context context, String pageNo, String pageCount, o -> { System.out.println(“”+ o) return null; }); ``` -------------------------------- ### Get Standing Orders by Account ID (JavaScript) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves standing order information for a specific bank account within a given Consent ID. Requires `consentId` and `accountId` parameters. ```javascript sv.getStandingOrderByAccountId( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id", "accountId": "your-account-id" } ] }); ``` -------------------------------- ### Transaction Data Structure Example (JSON) Source: https://docs.onesingleview.com/docs/open-banking-api-ais-transactions An example JSON structure representing a financial transaction. It includes details such as transaction ID, dates, amounts, currency, merchant information, card instrument, and account details for both debtor and creditor. ```json { "transactionId": "0d41fa13-0e63-401a-951b-8710291d9424", "transactionDateTime": "2017-01-17T00:00:00.000Z", "transactionReference": "a7e9fa2c-8ae7-4346-b6cd-368599179b5e", "transactionType": "KSAOB.LocalBankTransfer", "subTransactionType": "KSAOB.Withdrawal", "paymentModes": "KSAOB.Offline", "creditDebitIndicator": "KSAOB.Credit", "status": "KSAOB.Booked", "transactionMutability": "KSAOB.Mutable", "bookingDateTime": "2017-01-17T00:00:00.000Z", "valueDateTime": "2017-01-17T00:00:00.000Z", "amount": { "amount": "38.70", "currency": "SAR" }, "chargeAmount": { "amount": "38.70", "currency": "SAR", "chargeIncluded": false }, "balance": { "creditDebitIndicator": "KSAOB.Credit", "type": "KSAOB.ClosingAvailable", "amount": { "amount": "10.00", "currency": "SAR" } }, "merchantDetails": { "merchantName": "merchantName", "merchantCategoryCode": "test", "merchantId": 1234 }, "localTimeZone": "UTC+03:00", "terminalId": 12345678, "chargeAmountVat": { "amount": "71.5806", "currency": "SAR" }, "flags": [ "KSAOB.DirectDebit" ], "cardInstrument": { "cardSchemeName": "KSAOB.AmericanExpress", "instrumentType": "KSAOB.ApplePay", "name": "test", "identification": "1234********4321" }, "creditorAccount": [ {} ], "debtorAccount": { "identificationType": "KSAOB.IBAN", "identification": "string", "name": "string" }, "transactionInformation": "TFL.GOV.UK/CP TFL TRAVEL CH", "bankTransactionCode": { "domain": "domain", "domainCode": "domainCode", "family": "family", "familyCode": "familyCode", "subFamily": "subFamily", "subFamilyCode": "subFamilyCode" }, "proprietaryBankTransactionCode": { "code": "code", "issuer": "issuer" }, "creditorAgent": { "identificationType": "KSAOB.BICFI", "identification": "KSAOB.BICFI", "postalAddress": { "addressType": "KSAOB.Business", "streetName": "streetName", "buildingNumber": "1234", "postalCode": "postCode", "city": "townName", "country": "SA", "shortAddress": "address", "unitNumber": 1234, "secondaryNumber": "1234", "district": "district" }, "name": "Alf" }, "debtorAgent": { "identificationType": "KSAOB.BICFI", "identification": "string", "postalAddress": { "addressType": "KSAOB.Business", "streetName": "streetName", "buildingNumber": "1234", "postalCode": "postCode", "city": "townName", "country": "SA", "shortAddress": "address", "unitNumber": 1234, "secondaryNumber": "1234", "district": "district" }, "name": "string" }, "billDetails": { "billerId": 100004, "billNumber": "1234", "billPaymentType": "KSAOB.Renewal" } } ``` -------------------------------- ### Connect to SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Establishes a connection with the SingleView SDK using your credentials. This method is essential before calling other SDK methods. Requires clientId, clientCode, merchantId, version, and language. ```javascript sv.connect({ clientId: "your-client-id", //Available in console portal clientCode: "your-client-code", //Available in console portal merchantId: "your-merchant-id", //Generated using .createMerchant() method version: "v1", lang: "your-language", //en or ar for English and Arabic language }); ``` -------------------------------- ### Get Transactions By Account ID Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves transaction information for a specific bank account within a given consent. Requires consentId and accountId. ```APIDOC ## GET /transactions/by-account-id ### Description Retrieves transaction information for the specified bank account included in the specific consent. ### Method GET ### Endpoint /transactions/by-account-id ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. - **accountId** (string) - Required - The ID of the bank account. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id", "accountId": "your-account-id" } ] } ``` ### Response #### Success Response (200) - **transactions** (array) - A list of transaction objects. #### Response Example ```json { "transactions": [ { "transactionId": "txn_123", "description": "Online Purchase", "amount": { "currency": "USD", "value": "-50.00" }, "date": "2023-10-27" } ] } ``` ``` -------------------------------- ### Get Transactions by Account ID (JavaScript) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves transaction information for a specific bank account within a given consent. Requires `consentId` and `accountId`. ```javascript sv.getTransactionsByAccountId( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id", "accountId": "your-account-id" } ] }); ``` -------------------------------- ### Initialize SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-ios Initializes the SingleView SDK with client credentials and merchant information. This is a mandatory step before making any SDK calls. It requires clientID, clientCode, version, and merchantID. Language and customization are optional. ```swift import UIKit import SingleViewSDK class ViewController: UIViewController { let clientID = "your-client-id" let clientSecret = "your-client-secret" let version = "version" var customisation: SVSDKCustomisation? let merchantID = "your-merchant-id" override func ViewDidLoad() { super.viewDidLoad() SVSDK.shared.connect(clientID:clientID, clientCode: clientcode, version: String, merchantID: String, language: SVSDKLanguage(Optional), customization: SVSDKCustomisation(Optional)) { status in // Handle connection status } } } ``` -------------------------------- ### Initialize SingleView SDK in Android (Kotlin) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Demonstrates how to initialize the SingleView SDK within an Android Activity using Kotlin. It requires context, client credentials, merchant ID, version, language, and customization settings. ```kotlin class Activity : AppCompatActivity() { private var context: Context = Activity.this private var clientID: String = "Your-Client-Id" private var clientCode: String = "Your-Client-Code" private var merchantID: String = "Your-Merchant-ID" private var version: String = "Version" private var customization: String = SingleViewSDK.Companion.SVSDK.Customization override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity) // Initializing SingleView SDK SingleViewSDK.connect( context, clientID, clientCode, version, merchantID, true, SingleViewSDK.Companion.Language.ENGLISH, customization ) { result -> println("$response") } } } ``` -------------------------------- ### Get Scheduled Payments by Account (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Retrieves scheduled payments for a specific account. Requires `Context` and an `ArrayList` of `SVRequestBank` objects, including the `AccountID`. ```java SingleViewSDK.Companion.getSchedulePaymentsByAccount( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ``` -------------------------------- ### Get Scheduled Payments Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all scheduled payments associated with accounts linked to the specified consentId. The consentId can cover single or multiple accounts from the same bank. ```APIDOC ## GET /scheduled-payments ### Description Retrieves the information on all the scheduled payments concerned to the account(s) connected to the specified consentId. ### Method GET ### Endpoint /scheduled-payments ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id" } ] } ``` ### Response #### Success Response (200) - **scheduledPayments** (array) - A list of scheduled payment objects. #### Response Example ```json { "scheduledPayments": [ { "scheduledPaymentId": "sp_201", "description": "Utility Bill", "amount": { "currency": "USD", "value": "-75.00" }, "nextPaymentDate": "2023-11-05", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Configure build.gradle for SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Add the SingleView SDK as a dependency in your app-level build.gradle file. This step ensures the SDK is available for use in your project. ```gradle implementation(files("libs/SingleViewSDK.aar")) ``` -------------------------------- ### Integrate SingleView Web SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Include this script tag in your web application's HTML to integrate the SingleView SDK. It loads the necessary JavaScript bundle from the provided CDN URL. ```html ``` -------------------------------- ### Get Direct Debits Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all direct debits associated with accounts linked to the specified consentId. The consentId can cover single or multiple accounts from the same bank. ```APIDOC ## GET /direct-debits ### Description Retrieves the information on all the direct debits concerned to the account(s) connected to the specified consentId. ### Method GET ### Endpoint /direct-debits ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id" } ] } ``` ### Response #### Success Response (200) - **directDebits** (array) - A list of direct debit objects. #### Response Example ```json { "directDebits": [ { "directDebitId": "dd_456", "description": "Monthly Subscription", "amount": { "currency": "USD", "value": "-25.00" }, "startDate": "2023-01-01", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Initialize SingleView SDK in Android (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Shows how to initialize the SingleView SDK within an Android Activity using Java. It requires context, client credentials, merchant ID, version, language, and callback for results. ```java public class Activity extends AppCompatActivity{ private final Context context = this; private ActivityBinding binding; private final String version= "Version"; private final String clientID = "Your-Client-ID"; private final String clientCode = "Your-Client-Code"; private final String merchantID = "Your-Merchant-ID"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); binding = ActivityBinding.inflate(getLayoutInflater()); setContentView(binding.getRoot()); Language language = Language.ENGLISH; // Initializing SingleView SDK with Merchant SingleViewSDK.Companion.connect( context, clientID, clientCode, version, merchantID, true, language, null, o -> { println("$response") return null; }); } } ``` -------------------------------- ### Get Scheduled Payments (JavaScript) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all scheduled payments associated with accounts linked to a specified `consentId`. The `consentId` can include multiple accounts from the same bank. ```javascript sv.getSchedulePayments( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Create Consent in Kotlin and Java Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Facilitates the creation of a consent for a bank account to enable balance and transaction retrieval. Requires a Context and a UseCase enum value. Callbacks are provided for success and error. ```kotlin SingleViewSDK.createConsent(context: Context, type: UseCase) ``` ```java SingleViewSDK.Companion.createConsent(Context context, UseCase type); ``` ```kotlin override fun onConsentCreation(response: Any) { println("$response") } override fun onSDKError(error: Any) { println("$error") } ``` ```java @Override public void onConsentCreation(@NonNull Object o) { System.out.println("onConsentCreation => Object = " + o); } @Override public void onSDKError(@NonNull Object o) { System.out.println("onSDKError => Object = " + o); } ``` -------------------------------- ### Create Consent in Kotlin and Java Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Facilitates the creation of a consent for a bank account to retrieve balance and transaction information. Requires a Context and a UseCase type. Handles success and error responses. ```kotlin SingleViewSDK.createConsent(context: Context, type: UseCase) ``` ```java SingleViewSDK.Companion.createConsent(Context context, UseCase type); ``` ```kotlin override fun onConsentCreation(response: Any) { println("$response") } override fun onSDKError(error: Any) { println("$error") } ``` ```java @Override public void onConsentCreation(@NonNull Object o) { System.out.println("onConsentCreation => Object = " + o); } @Override public void onSDKError(@NonNull Object o) { System.out.println("onSDKError => Object = " + o); } ``` -------------------------------- ### Get Direct Debits (JavaScript) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves information on all direct debits associated with accounts linked to a specified `consentId`. The `consentId` can encompass multiple accounts from the same bank. ```javascript sv.getDirectDebits( { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId":"your-consent-id" } ] }); ``` -------------------------------- ### Create Consent for Bank Account Data Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Facilitates the creation of consent for accessing bank account information. Requires merchantId, bank code, expiry date, transaction date range, and desired permissions. Date values must be in ISO string format. ```javascript sv.createConsent( "merchantId": "your-merchant-id", banks: [ { code: "your-bank-code", expiryDate: "YYYY-MM-DDTHH:MM:SS.XXXZ", //In ISO string format txnFromDate: "YYYY-MM-DDTHH:MM:SS.XXXZ", txnToDate: "YYYY-MM-DDTHH:MM:SS.XXXZ", permissions: [ "enter-permission", "enter-permission", ], } ] ); ``` -------------------------------- ### Get Scheduled Payments By Account ID Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves scheduled payment information for a specific bank account linked to a given Consent ID. Requires consentId and accountId. ```APIDOC ## GET /scheduled-payments/by-account-id ### Description Retrieves information of the scheduled payments for the specified bank account included in the mentioned Consent ID. ### Method GET ### Endpoint /scheduled-payments/by-account-id ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. - **accountId** (string) - Required - The ID of the bank account. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id", "accountId": "your-account-id" } ] } ``` ### Response #### Success Response (200) - **scheduledPayments** (array) - A list of scheduled payment objects for the specified account. #### Response Example ```json { "scheduledPayments": [ { "scheduledPaymentId": "sp_202", "description": "Credit Card Payment", "amount": { "currency": "USD", "value": "-150.00" }, "nextPaymentDate": "2023-11-10", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Enable View Binding in Android Gradle Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Configures the Android project to use view binding, a feature that simplifies UI interactions in Android development. This is typically done in the app-level build.gradle file. ```kotlin android { .. buildFeatures { viewBinding = true } } ``` -------------------------------- ### Get Direct Debits By Account ID Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Retrieves direct debit information for a specific bank account linked to a given Consent ID. Requires consentId and accountId. ```APIDOC ## GET /direct-debits/by-account-id ### Description Retrieves information of direct debits for the specified bank account included in the specific Consent ID. ### Method GET ### Endpoint /direct-debits/by-account-id ### Parameters #### Query Parameters - **consentId** (string) - Required - The ID of the consent. - **accountId** (string) - Required - The ID of the bank account. ### Request Example ```json { "merchantId": "your-merchant-id", "banks": [ { "code": "your-bank-code", "consentId": "your-consent-id", "accountId": "your-account-id" } ] } ``` ### Response #### Success Response (200) - **directDebits** (array) - A list of direct debit objects for the specified account. #### Response Example ```json { "directDebits": [ { "directDebitId": "dd_789", "description": "Software Subscription", "amount": { "currency": "USD", "value": "-15.00" }, "startDate": "2023-03-01", "frequency": "Monthly" } ] } ``` ``` -------------------------------- ### Retrieve Merchant Information Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Fetches a list of merchant information associated with your company's 'sv-app-token'. This method is used to view existing merchant data. ```javascript sv.getMerchant(); ``` -------------------------------- ### Retrieve All Accounts Standing Orders (Kotlin) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Provides a list of standing orders for all accounts linked to a specific consent and bank. Requires Context and a list of SVRequestBank objects. ```kotlin SingleViewSDK.getAllAccountsStandingOrders( context: Context, bank: MutableList) {result -> println("$response") } ``` -------------------------------- ### Get All Accounts Scheduled Payments (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Retrieves a list of scheduled payments for all accounts associated with a specific consent and bank. Requires `Context` and an `ArrayList` of `SVRequestBank` objects. ```java SingleViewSDK.Companion.getAllAccountsSchedulePayments( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ``` -------------------------------- ### Create New Merchant with SingleView SDK Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-ios Creates a new merchant entry within the SingleView SDK. This method requires the merchant's name, email, and mobile number as parameters. It is used for onboarding new merchants. ```swift @IBAction func toCreateNewMerchant() { SVSDK.shared.createNewMerchant(name : name, email: email, mobile: mobile) { result in print(result) } } ``` -------------------------------- ### Get Standing Orders by Account (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Retrieves Standing Orders associated with a particular account. Requires `Context` and an `ArrayList` of `SVRequestBank` objects, including the Account ID. ```java SingleViewSDK.Companion.getStandingOrdersByAccount( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ``` -------------------------------- ### Retrieve All Accounts Standing Orders (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-android Provides a list of standing orders for all accounts linked to a specific consent and bank. Requires Context and a list of SVRequestBank objects. ```java SingleViewSDK.Companion.getAllAccountsStandingOrders( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ``` -------------------------------- ### Create a New Merchant Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect-web Creates a new merchant profile within the SingleView system by assigning a unique application user ID. This ID is crucial for identifying and managing merchants. ```javascript sv.createMerchant({ app_user_id: "enter-unique-id" //Unique Id }); ``` -------------------------------- ### Get Direct Debits by Account (Java) Source: https://docs.onesingleview.com/docs/open-banking-sdk-connect Retrieves Direct Debits associated with a particular account. Requires `Context` and an `ArrayList` of `SVRequestBank` objects, including the Account ID. ```java SingleViewSDK.Companion.getDirectDebitsByAccount( Context context, ArrayList bank,o -> { System.out.println(""+ o) return null; }); ```