---
updatedAt: 2026-07-29T17:57:20.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# List filter templates

List all filter templates available for the organization with pagination support.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core platform - Balance configurations",
    "version": "1.0.0",
    "description": "API responsible for indicating how the Authorizer will impact the Ledger according to predefined rules set up by the client",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.pismolabs.io/balances-config",
      "description": "Sandbox API server for testing."
    }
  ],
  "tags": [
    {
      "name": "Filter templates",
      "description": "Endpoints to manage filter templates."
    }
  ],
  "components": {
    "parameters": {
      "OrgIdHeader": {
        "in": "header",
        "name": "x-tenant",
        "description": "Organization ID",
        "required": true,
        "schema": {
          "type": "string",
          "example": "20167751b-efd4-494c-9e4f-4b939560ff05"
        }
      },
      "XCidHeader": {
        "in": "header",
        "name": "x-cid",
        "description": "The Correlation Identifier UUID field links related API requests and events. The `x-cid` can help the Pismo engineering team track everything related to a call. If not passed, this field is automatically generated.",
        "schema": {
          "type": "string",
          "example": "12345"
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Account access token. Tokens can expire quickly, which can result in an \"Unauthorized\" error.",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "AccountType": {
        "type": "string",
        "description": "Account type that impacts limit or different account.\nAccount types:\n\"00\" = Non-specified account\n\"10\" = Savings account\n\"20\" = Checking account\n\"30\" = Credit card account\n",
        "enum": [
          "00",
          "10",
          "20",
          "30"
        ],
        "example": "00"
      },
      "CurrencyCode": {
        "type": "string",
        "description": "Alphanumeric ISO 4217 standard currency code that impacts different limits or accounts.",
        "example": "USD"
      },
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message that describes the error.",
            "example": "An Internal Server Error found, please contact the administrator"
          },
          "code": {
            "type": "string",
            "description": "Code that identifies the error type.",
            "example": "EBLC9999"
          }
        }
      },
      "ErrorDetails": {
        "type": "object",
        "properties": {
          "location": {
            "description": "Location describes the attribute when the error is present.",
            "type": "string",
            "example": "payload.attribute"
          },
          "message": {
            "type": "string",
            "description": "Message that describes the error detail.",
            "example": "attribute is null"
          }
        }
      },
      "ErrorWithDetails": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message that describes the error.",
            "example": "An Internal Server Error found, please contact the administrator"
          },
          "code": {
            "type": "string",
            "description": "Code that identifies the error type.",
            "example": "EBLC9999"
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        }
      },
      "FilterTemplate": {
        "type": "object",
        "description": "Filter template response",
        "properties": {
          "id": {
            "type": "string",
            "description": "Filter template ID",
            "maxLength": 36,
            "example": "filter-template-123"
          },
          "org_id": {
            "type": "string",
            "description": "Organization ID",
            "example": "20167751b-efd4-494c-9e4f-4b939560ff05"
          },
          "description": {
            "type": "string",
            "description": "Filter template description",
            "maxLength": 50,
            "example": "Standard retail transactions filter"
          },
          "filters": {
            "$ref": "#/components/schemas/FilterTemplateFilters"
          }
        }
      },
      "FilterTemplateFilters": {
        "type": "object",
        "description": "Filter criteria for the template",
        "required": [
          "processing_codes"
        ],
        "properties": {
          "processing_codes": {
            "type": "array",
            "description": "Array of processing codes",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "example": [
              "0000",
              "0001",
              "0100"
            ]
          },
          "min_installments": {
            "type": "integer",
            "description": "Minimum number of installments",
            "minimum": 0,
            "example": 1
          },
          "max_installments": {
            "type": "integer",
            "description": "Maximum number of installments",
            "minimum": 0,
            "maximum": 99,
            "example": 12
          },
          "mcc": {
            "type": "array",
            "description": "Merchant Category Codes",
            "items": {
              "type": "string"
            },
            "example": [
              "5411",
              "5912"
            ]
          },
          "account_type": {
            "$ref": "#/components/schemas/AccountType"
          },
          "currency_code": {
            "$ref": "#/components/schemas/CurrencyCode"
          }
        }
      },
      "FilterTemplateListResponse": {
        "type": "object",
        "description": "Paginated list of filter templates",
        "properties": {
          "total_items": {
            "type": "integer",
            "description": "Total number of filter templates",
            "example": 100
          },
          "pages": {
            "type": "integer",
            "description": "Total number of pages",
            "example": 10
          },
          "current_page": {
            "type": "integer",
            "description": "Current page number",
            "example": 1
          },
          "per_page": {
            "type": "integer",
            "description": "Number of items per page",
            "example": 10
          },
          "items": {
            "type": "array",
            "description": "Array of filter templates",
            "items": {
              "$ref": "#/components/schemas/FilterTemplate"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/v1/balances-configs/filter-templates": {
      "get": {
        "operationId": "get-v1-filter-templates",
        "summary": "List filter templates",
        "description": "List all filter templates available for the organization with pagination support.\n",
        "tags": [
          "Filter templates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OrgIdHeader"
          },
          {
            "$ref": "#/components/parameters/XCidHeader"
          },
          {
            "in": "query",
            "name": "perPage",
            "description": "Maximum number of items to return (1-200)",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200,
              "default": 10
            }
          },
          {
            "in": "query",
            "name": "page",
            "description": "Page number (starting from 1)",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterTemplateListResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorWithDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}
```