v1

latestOpenAPI 3.0.02026-07-242444105.9 KB
Virtual Accounts

List Accounts

List all virtual accounts for the given segregated account

get/v1/accounts/{accountId}/virtual/all-account-data

Path parameters

accountIdnumber required
Example:123

The account id for the segregated account

Query parameters

pageIndexnumber

The page offset of results to return

pageSizenumber

The limit of number of results to return

Response

The virtual accounts were retrieved successfully

countnumber required

Count of virtual accounts

Example response

{
  "count": 2,
  "results": [
    {
      "virtualAccountDetails": {
        "id": "71c33ef0-4af9-4814-b81e-d5f4dfa96dec",
        "status": "ACTIVE",
        "iban": "GB33BUKB20201555555555",
        "accountNumber": "55555555",
        "sortCode": "202015",
        "bic": "MONZGB2LXXX"
      },
      "ownerDetails": {
        "iban": "GB33BUKB20201555555555",
        "accountNumber": "55555555",
        "sortCode": "202015",
        "bic": "MONZGB2LXXX"
      }
    }
  ]
}