---
agentTools:
  projectIndex: https://docs.developer.plastiq.com/llms.txt
---

# Search Billers

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Plastiq Public API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://connect.sandbox.plastiq.com/api",
      "description": "Sandbox server"
    },
    {
      "url": "https://connect.plastiq.com/api",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/billers": {
      "get": {
        "summary": "Search Billers",
        "tags": [
          "Billers"
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "description": "The Business Name",
            "schema": {
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "postalCode",
            "in": "query",
            "required": false,
            "description": "The Business PostalCode",
            "schema": {
              "type": "string",
              "format": "string"
            }
          },
          {
            "name": "groupId",
            "in": "query",
            "required": false,
            "description": "The Business Group Id",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "$ref": "#/components/parameters/TraceId"
          },
          {
            "$ref": "#/components/parameters/EndUserAgent"
          },
          {
            "$ref": "#/components/parameters/EndUserDeviceId"
          },
          {
            "$ref": "#/components/parameters/EndUserIp"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of Billers",
            "headers": {
              "Trace-Id": {
                "$ref": "#/components/headers/Trace-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Billers"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "token"
      }
    },
    "headers": {
      "Trace-Id": {
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "description": "The trace ID for the request"
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad Request",
        "headers": {
          "Trace-Id": {
            "$ref": "#/components/headers/Trace-Id"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "headers": {
          "Trace-Id": {
            "$ref": "#/components/headers/Trace-Id"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "headers": {
          "Trace-Id": {
            "$ref": "#/components/headers/Trace-Id"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not found",
        "headers": {
          "Trace-Id": {
            "$ref": "#/components/headers/Trace-Id"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "headers": {
          "Trace-Id": {
            "$ref": "#/components/headers/Trace-Id"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "GENERIC_ERROR"
          },
          "message": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "details": {
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "description": "Request field the error applies to. Only present on validation errors that name a field, e.g. `businessAddress`.",
                  "example": "businessAddress"
                }
              }
            }
          },
          "traceId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "Billers": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "format": "uuid",
            "example": "478d120a-df4a-5ae7-a102-600a78d0444f"
          },
          "billers": {
            "type": "array",
            "items": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/components/schemas/Biller"
                }
              ]
            }
          }
        }
      },
      "Biller": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "example": "c577fd87-2294-5455-9d8e-0fa472c23ee7"
          },
          "businessName": {
            "type": "string",
            "example": "Verizon"
          },
          "groupId": {
            "type": "string",
            "format": "uuid",
            "example": "478d120a-df4a-5ae7-a102-600a78d0444f"
          },
          "businessAddress": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/RecipientAddress"
              }
            ]
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "d7a2beba-0c2c-42de-9690-26f00ba08339"
          }
        }
      },
      "RecipientAddress": {
        "type": "object",
        "required": [
          "line1",
          "country",
          "city",
          "state",
          "postalCode"
        ],
        "properties": {
          "line1": {
            "type": "string",
            "description": "Address line 1 (e.g., street, PO Box, or company name).",
            "example": "19439 Stevens Creek Blvd"
          },
          "line2": {
            "type": "string",
            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
            "example": null
          },
          "city": {
            "type": "string",
            "description": "City, district, suburb, town, or village.",
            "example": "Cupertino"
          },
          "state": {
            "type": "string",
            "description": "State, county, province, or region.",
            "example": "CA"
          },
          "postalCode": {
            "type": "string",
            "description": "ZIP or postal code.",
            "example": "95014"
          },
          "country": {
            "type": "string",
            "description": "Two-letter country code (ISO 3166-1 alpha-2).",
            "example": "US"
          }
        }
      }
    },
    "parameters": {
      "TraceId": {
        "in": "header",
        "name": "Trace-Id",
        "schema": {
          "type": "string"
        },
        "description": "A valid UUID (V4) for tracing requests. Will be returned as a header. If not present or invalid, a generated UUID will be returned."
      },
      "EndUserAgent": {
        "name": "End-User-Agent",
        "in": "header",
        "schema": {
          "type": "string"
        },
        "description": "A string representing the User Agent of the end user. Recommended for compliance. Required only when the request is not coming from the end user's browser."
      },
      "EndUserDeviceId": {
        "name": "End-User-Device-Id",
        "in": "header",
        "schema": {
          "type": "string"
        },
        "description": "A unique identifier for the end user's device. Recommended for compliance."
      },
      "EndUserIp": {
        "name": "End-User-Ip",
        "in": "header",
        "schema": {
          "type": "string"
        },
        "description": "The IP address of the end user. Recommended for compliance."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 186,
      "2": 221,
      "3": 177,
      "4": 47,
      "5": 247,
      "6": 88,
      "7": 60,
      "8": 163,
      "9": 25,
      "10": 117,
      "11": 185
    }
  }
}
```