---
updatedAt: 2025-05-28T20:06:59.000Z
agentTools:
  projectIndex: https://devportal.fintensy.com/llms.txt
---

# Gets the bank-accounts for a given group.

GET: /banks/bank-holder-groups/{guid}/accounts

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "OpenBanking API definitions",
    "description": "An overview of the API definitions used in the OpenBanking application.",
    "contact": {
      "name": "Fintensy",
      "url": "https://www.fintensy.com/"
    },
    "version": "v1"
  },
  "paths": {
    "/banks/bank-holder-groups/{groupId}/accounts": {
      "get": {
        "tags": [
          "BankHolderGroup"
        ],
        "summary": "Gets the bank-accounts for a given group.",
        "description": "GET: /banks/bank-holder-groups/{guid}/accounts",
        "parameters": [
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "includeRevoked",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OpenBanking.Web.Api.Models.BankHolderGroups.BankAccountModelInfo"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The entity has not been found."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Mozzeno.Banks.Enums.HolderType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "0 = Undefined, 1 = Other, 2 = Independent, 3 = Professional, 4 = SharedOther, 5 = SharedPartner, 6 = SinglePartner, 7 = SinglePrincipal",
        "format": "int32"
      },
      "Mozzeno.Web.Models.Api.ApiLink": {
        "type": "object",
        "properties": {
          "rel": {
            "type": "string",
            "nullable": true
          },
          "href": {
            "type": "string",
            "nullable": true
          },
          "method": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OpenBanking.Web.Api.Models.BankHolderGroups.BankAccountModelInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mozzeno.Web.Models.Api.ApiLink"
            },
            "nullable": true
          },
          "reference_id": {
            "type": "string",
            "format": "uuid"
          },
          "bank_name": {
            "type": "string",
            "nullable": true
          },
          "account_number": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "holder_name": {
            "type": "string",
            "nullable": true
          },
          "holder_type": {
            "$ref": "#/components/schemas/Mozzeno.Banks.Enums.HolderType"
          },
          "selected": {
            "type": "boolean",
            "nullable": true
          },
          "read_only": {
            "type": "boolean",
            "nullable": true
          },
          "extracted_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "servers": [
    {
      "url": "https://api.myproved.eu"
    }
  ]
}
```