Previous Next JavaScript must be enabled to correctly display this content

## Gets the list of virtual and real accounts

get

/service/account/virtualRealAccountfetch

This endpoint is used to get the list of virtual and real accounts.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- accountNumber(optional): string
- branchCode(optional): string
- currencyCode(optional): string
- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- iban(optional): string
- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched
- virtualOrRealAccount(optional): string

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Successful operation.
Body ()
Root Schema : VirtualRealAccountCollection
Type: `object`
Collection of account.
Show Source

- data(optional): array data
- paging(optional): object PagingDto

    {
        "description":"Collection of account.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/VirtualRealAccountDTO"
                }
            },
            "paging":{
                "$ref":"#/definitions/PagingDto"
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object VirtualRealAccountDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/VirtualRealAccountDTO"
        }
    }

Nested Schema : PagingDto
Type: `object`
Show Source

- totalResults(optional): integer

    {
        "type":"object",
        "properties":{
            "totalResults":{
                "type":"integer"
            }
        }
    }

Nested Schema : VirtualRealAccountDTO
Type: `object`
Match All
Show Source

- object VirtualRealAccountDTO-allOf[0]

    {
        "type":"object",
        "allOf":[
            {
                "type":"object",
                "properties":{
                    "sourceSystem":{
                        "type":"string",
                        "description":""
                    },
                    "sourceSystemAccNo":{
                        "type":"string",
                        "description":""
                    },
                    "iban":{
                        "type":"string",
                        "description":""
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":""
                    },
                    "accountDescription":{
                        "type":"string",
                        "description":""
                    },
                    "accountOpenDate":{
                        "type":"string",
                        "description":""
                    },
                    "branchCode":{
                        "type":"string",
                        "description":""
                    },
                    "currencyCode":{
                        "type":"string",
                        "description":""
                    },
                    "customerId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[a-zA-Z0-9]{1,20}"
                    },
                    "isNoCredit":{
                        "type":"string",
                        "description":""
                    },
                    "isNoDebit":{
                        "type":"string",
                        "description":""
                    },
                    "isBlocked":{
                        "type":"string",
                        "description":""
                    },
                    "isDormant":{
                        "type":"string",
                        "description":""
                    },
                    "isFrozen":{
                        "type":"string",
                        "description":""
                    },
                    "accountType":{
                        "type":"string",
                        "description":""
                    },
                    "isVirtual":{
                        "type":"string",
                        "description":""
                    },
                    "accountClass":{
                        "type":"string",
                        "description":""
                    }
                }
            }
        ]
    }

Nested Schema : VirtualRealAccountDTO-allOf[0]
Type: `object`
Show Source

- accountClass(optional): string
- accountDescription(optional): string
- accountNumber(optional): string
- accountOpenDate(optional): string
- accountType(optional): string
- branchCode(optional): string
- currencyCode(optional): string
- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- iban(optional): string
- isBlocked(optional): string
- isDormant(optional): string
- isFrozen(optional): string
- isNoCredit(optional): string
- isNoDebit(optional): string
- isVirtual(optional): string
- sourceSystem(optional): string
- sourceSystemAccNo(optional): string

    {
        "type":"object",
        "properties":{
            "sourceSystem":{
                "type":"string",
                "description":""
            },
            "sourceSystemAccNo":{
                "type":"string",
                "description":""
            },
            "iban":{
                "type":"string",
                "description":""
            },
            "accountNumber":{
                "type":"string",
                "description":""
            },
            "accountDescription":{
                "type":"string",
                "description":""
            },
            "accountOpenDate":{
                "type":"string",
                "description":""
            },
            "branchCode":{
                "type":"string",
                "description":""
            },
            "currencyCode":{
                "type":"string",
                "description":""
            },
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "isNoCredit":{
                "type":"string",
                "description":""
            },
            "isNoDebit":{
                "type":"string",
                "description":""
            },
            "isBlocked":{
                "type":"string",
                "description":""
            },
            "isDormant":{
                "type":"string",
                "description":""
            },
            "isFrozen":{
                "type":"string",
                "description":""
            },
            "accountType":{
                "type":"string",
                "description":""
            },
            "isVirtual":{
                "type":"string",
                "description":""
            },
            "accountClass":{
                "type":"string",
                "description":""
            }
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 500 Response

Internal error
Back to Top