# MerchantAccountSearchInput

Input · GraphQL API

Input fields for searching for merchant accounts.

## Fields

- `id` (`SearchValueInput`) — deprecated since 2026-07-31: Find merchant accounts with an id or ids.
- `paypalAccountId` (`SearchValueInput`): Find merchant accounts associated with a given PayPal account ID.
- `merchantAccountId` (`SearchTextValueInput`): Find merchant accounts by their merchant account ID (token).

## Used by

- [Merchant](/braintree/graphql/reference/types/merchant) — Object; merchantAccounts(input)

## GraphQL definition

```graphql
input MerchantAccountSearchInput {
  id: SearchValueInput @deprecated(reason: "Use merchantAccountId instead.")
  paypalAccountId: SearchValueInput
  merchantAccountId: SearchTextValueInput
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)