POST api/account/exists
Checks if a bank account exists. This method is bank agnostic, i.e. you can check in the Arion service if an account from ISB exists
Request Information
URI Parameters
None.
Body Parameters
AccountExistsRequest
AccountExistsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| NationalRegistryId | string |
None. |
|
| Bank | string |
None. |
|
| Ledger | string |
None. |
|
| AccountNumber | string |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| SelectedBank | Bank |
None. |
Request Formats
application/json, text/json
Sample:
{
"nationalRegistryId": "sample string 1",
"bank": "sample string 2",
"ledger": "sample string 3",
"accountNumber": "sample string 4",
"userName": "sample string 5",
"password": "sample string 6",
"selectedBank": "Arion"
}
application/xml, text/xml
Sample:
<AccountExistsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BankingService.Application.Models.Account"> <Password xmlns="http://schemas.datacontract.org/2004/07/BankingService.Application.Models.Base">sample string 6</Password> <SelectedBank xmlns="http://schemas.datacontract.org/2004/07/BankingService.Application.Models.Base">Arion</SelectedBank> <UserName xmlns="http://schemas.datacontract.org/2004/07/BankingService.Application.Models.Base">sample string 5</UserName> <AccountNumber>sample string 4</AccountNumber> <Bank>sample string 2</Bank> <Ledger>sample string 3</Ledger> <NationalRegistryId>sample string 1</NationalRegistryId> </AccountExistsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountExistsResponse
AccountExistsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Exists | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"exists": true
}
application/xml, text/xml
Sample:
<AccountExistsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BankingService.Application.Models.Account"> <Exists>true</Exists> </AccountExistsResponse>