# SearchPaymentPaymentMethodInput

Input · GraphQL API

Input fields for searching for payments by payment method criteria.

## Fields

- `paymentMethodId` (`SearchValueInput`): The ID of the vaulted payment method used for the payment.
- `paymentMethodSnapshot` (`SearchPaymentPaymentMethodSnapshotInput`): The snapshot of the payment method at the time of payment creation.

## Used by

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

## GraphQL definition

```graphql
input SearchPaymentPaymentMethodInput {
  paymentMethodId: SearchValueInput
  paymentMethodSnapshot: SearchPaymentPaymentMethodSnapshotInput
}
```

---

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