# SearchPaymentCustomerInput

Input · GraphQL API

Input fields for searching payments by customer.

## Fields

- `id` (`SearchValueInput`): Find payments with a given customer ID.
- `firstName` (`SearchTextInput`): Find payments with a given first name.
- `lastName` (`SearchTextInput`): Find payments with a given last name.
- `company` (`SearchTextInput`): Find payments with a given customer company.
- `email` (`SearchTextInput`): Find payments with a customer email.
- `fax` (`SearchTextInput`): Find payments with a customer fax.
- `phone` (`SearchTextInput`): Find payments with a customer phone.
- `website` (`SearchTextInput`): Find payments with a customer website.

## Used by

- [PaymentSearchInput](/braintree/graphql/reference/types/payment-search-input) — Input; customer
- [RefundSearchInput](/braintree/graphql/reference/types/refund-search-input) — Input; customer
- [TransactionSearchInput](/braintree/graphql/reference/types/transaction-search-input) — Input; customer

## GraphQL definition

```graphql
input SearchPaymentCustomerInput {
  id: SearchValueInput
  firstName: SearchTextInput
  lastName: SearchTextInput
  company: SearchTextInput
  email: SearchTextInput
  fax: SearchTextInput
  phone: SearchTextInput
  website: SearchTextInput
}
```

---

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