# Index all credit lines Returns an array of all credit lines for all of your customers. Endpoint: GET /v1/persons/credit_lines Version: 1.0 ## Query parameters: - `page[number]` (integer) The number of result pages to return. - `page[size]` (integer) The size of each result page (maximum amount of results) to return. - `filter[person_id]` (string) Filter result by person_id - `filter[status]` (string) Filter results by credit line status. - `filter[granted_at_min]` (string) Filter results by the minimum date when the credit line was granted. - `filter[granted_at_max]` (string) Filter results by the maximum date when the credit line was granted. - `filter[id]` (string) Filter results by credit_line_id. - `filter[eligible_renewal_expires_at_min]` (string) Filter by minimal expiration date for eligible renewal - `filter[eligible_renewal_expires_at_max]` (string) Filter by maximal expiration date for eligible renewal ## Response 200 fields (application/json): - `id` (string, required) The unique ID of a credit line, generated after a credit line is created. Example: "1908331fb8384edcbfe63067366c4b6accln" - `limit` (object, required) The limit of the credit line. - `person_id` (string, required) The person ID of the customer who has the credit line. Example: "dc1a6812a14f6cc338cd084208535bcdcper" - `status` (string, required) The status of the credit line. Enum: "authorization_pending,", "account_creation_pending", "mandate_creation_pending", "open", "closed" - `granted_at` (string,null) The timestamp from when the credit line was granted to the customer. Example: "2022-02-07T11:57:42Z" ## Response 400 fields (application/json): - `code` (string) Example: "build_pagination_headers_failure" - `detail` (string) Example: "Cannot connect to database." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `title` (string) Example: "Failed to build pagination headers." ## Response 403 fields (application/json): - `code` (string) Example: "unauthorized_action" - `detail` (string) Example: "Unauthorized action is not allowed." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `title` (string) Example: "Unauthorized Action"