# Index a person's accounts Returns an array containing all accounts owned by the person specified in the request URL. Endpoint: GET /v1/persons/{person_id}/accounts Version: 1.0 ## Path parameters: - `person_id` (string, required) ## Query parameters: - `page[number]` (string) The number of results pages to return. - `page[size]` (string) The size of each page in the response. - `filter[iban]` (string) Filters the results by IBAN. ## Response 200 fields (application/json): - `id` (string) The ID of the account. Example: "efdd8c5e7ec0b4e36768c6de39e6cfc0cacc" - `iban` (string) The account's IBAN. Example: "DE05011010100000000043" - `bic` (string) The account's BIC. Example: "SOBKDEB2XXX" - `type` (string) The type of account. Enum: "BASIC_ACCOUNT", "BILLING_ACCOUNT", "CALL_MONEY", "CASH_DEPOSIT", "CHECKING_BUSINESS", "CHECKING_BUSINESS_CREDITLINE", "CHECKING_FIXED_MATURITY", "CHECKING_OVERDRAFT", "CHECKING_OVERDRAFT_FLEXIBLE", "CHECKING_PERSON_CREDIT_LINE", "CHECKING_PERSON_INSTALMENT_LOAN", "CHECKING_PERSONAL", "CHECKING_PERSONAL_OVERDRAFT", "CHECKING_SOLE_PROPRIETOR", "CLEARING_ACCOUNT", "COLLECTION_ACCOUNT", "DECOUPLED_CARD_BUSINESS", "DEPOSIT_FIXED_TERM_BUSINESS", "DEPOSIT_TIME_PASSIVE", "EMONEY_PARKING", "EMONEY_PREPAID", "EMONEY_PREPAID_POOLING", "ESCROW_LIABILITY", "EXTERNAL_ACCOUNT", "FACTORING", "GENERAL_LEDGER", "GUARANTEE", "INDIVIDUAL_SPECIFIC_PROVISIONS", "LIABILITY_ASSUMPTION", "LOAN_ACCOUNT_CREDIT_LINE", "LOAN_ACCOUNT_MUNICIPALITIES", "LOAN_BALLOON", "LOAN_BULLET", "LOAN_RATE_FIXED", "LOAN_RATE_VARIABLE", "LORO", "SDD_DEPOSIT", "SETTLEMENT", "SME_LOAN", "SURETY", "TAGESGELD_ACTIVE" - `purpose` (string) The purpose of the account. Example: "primary" - `opened_at` (string) UTC timestamp from when the account was opened. Example: "2020-04-25T12:50:33Z" - `status` (string) Current status of the account Example: "ACTIVE" - `locking_status` (string) Indicates whether or not funds can be transferred to or from the account. Enum: "BLOCK", "CREDIT_BLOCK", "DEBIT_BLOCK", "NO_BLOCK" - `locking_reasons` (array) Read-only indicator of the reason a block was applied to the account. If the account is not blocked, then this value will contain an empty array. Enum: "AML_FOLLOW_UP_OVERDUE", "COMPANY_FOUNDATION", "COMPLIANCE", "CUSTOMER_WISH", "DECOUPLED_CARD_DUNNING", "DECOUPLED_CARD_TERMINATION", "IDENTIFICATION_FAILED", "IDENTIFICATION_DOCUMENT_EXPIRED", "IN_CLOSURE", "INSOLVENCY", "LOAN_RESERVATION", "MISSING_TAX_INFORMATION", "OTHER", "SEIZURE" - `person_id` (string) Person ID of the account owner. Example: "0ba2211cab11af6094d60ead81f2bd9dcper" - `business_id` (string) ID of the business that owns the account (if applicable). Example: "52e6a9b8a559d842ed7d8901b0e1bf4bcbiz" - `overdraft` (object) Object describing an overdraft on the account. - `overdraft.rate` (number) The overdraft rate. - `overdraft.limit` (integer) The overdraft limit. ## Response 400 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `code` (string) Example: "build_pagination_headers_failure" - `title` (string) Example: "Failed to build pagination headers." - `detail` (string) Example: "Cannot connect to database." ## Response 403 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `code` (string) Example: "unauthorized_action" - `title` (string) Example: "Unauthorized Action" - `detail` (string) Example: "Unauthorized action is not allowed." ## Response 404 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `detail` (string) Example: "Couldn't find 'Solaris::Identification' for id 'bbbcccfff388923eb899a5852df6cidt'." ## Response 500 fields (application/json): - `id` (string) Example: "e8915041-9d8c-4d96-9dd1-04e8522ecdbf" - `status` (string) Example: "500" - `code` (string) Example: "generic_error" - `title` (string) Example: "Generic Error" - `detail` (string) Example: "There was an error."