---
agentTools:
  projectIndex: https://usegraph.readme.io/llms.txt
---

# List Whitelist Accounts

Get a list of whitelisted bank accounts that have been linked to a particular account on Graph

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.useoval.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/bank_account/{account_id}/whitelist": {
      "get": {
        "summary": "List Whitelist Accounts",
        "description": "Get a list of whitelisted bank accounts that have been linked to a particular account on Graph",
        "operationId": "list-accounts-copy",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "account_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": [\n        {\n            \"id\": \"bk-wli-8d9b453a-1703-11ef-a9fb-0242ac160003\",\n            \"bank_id\": \"bk-6bf16e99-1313-11ef-b566-0242ac160005\",\n            \"account_id\": \"7bf7f1070b4d11ef92d40242ac160005\",\n            \"account_number\": \"0420382491\",\n            \"account_name\": \"John Doe\",\n            \"created_at\": \"2024-05-20T23:49:09Z\",\n            \"updated_at\": \"2024-05-20T23:49:09Z\"\n        }\n    ],\n    \"message\": \"Whitelist accounts retrieved successfully\",\n    \"meta\": null,\n    \"status\": \"success\"\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "bk-wli-8d9b453a-1703-11ef-a9fb-0242ac160003"
                          },
                          "bank_id": {
                            "type": "string",
                            "example": "bk-6bf16e99-1313-11ef-b566-0242ac160005"
                          },
                          "account_id": {
                            "type": "string",
                            "example": "7bf7f1070b4d11ef92d40242ac160005"
                          },
                          "account_number": {
                            "type": "string",
                            "example": "0420382491"
                          },
                          "account_name": {
                            "type": "string",
                            "example": "John Doe"
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2024-05-20T23:49:09Z"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2024-05-20T23:49:09Z"
                          }
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Whitelist accounts retrieved successfully"
                    },
                    "meta": {},
                    "status": {
                      "type": "string",
                      "example": "success"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "637d9e0aeb8873003ad62eac:664c994bae2e8600554e015a"
}
```