# SearchPaymentPaymentMethodSnapshotInput

Input · GraphQL API

Input fields for searching for payments by payment method snapshot criteria.

## Fields

- `type` (`SearchPaymentMethodSnapshotTypeInput`): Find payments based on the payment instrument type.
- `creditCardDetails` (`SearchPaymentCreditCardDetailsInput`): Find payments made with credit cards, based on the details of the credit card used for the payment. Passing an object with non-empty, non-null fields will scope your search to *only* credit card payment methods. This overrides the `type` field.
- `payPalDetails` (`SearchPaymentPayPalDetailsInput`): Find payments made with PayPal, based on the PayPal details used for the payment. Passing a value here will scope your search to *only* PayPal payment methods. This overrides the `type` field.
- `sepaDirectDebitDetails` (`SearchPaymentSEPADirectDebitDetailsInput`): Find SEPA payments with SEPA details. Passing a value here will scope your search to *only* SEPA Direct Debit payment methods. This overrides the `type` field.

## Used by

- [SearchPaymentPaymentMethodInput](/braintree/graphql/reference/types/search-payment-payment-method-input) — Input; paymentMethodSnapshot

## GraphQL definition

```graphql
input SearchPaymentPaymentMethodSnapshotInput {
  type: SearchPaymentMethodSnapshotTypeInput
  creditCardDetails: SearchPaymentCreditCardDetailsInput
  payPalDetails: SearchPaymentPayPalDetailsInput
  sepaDirectDebitDetails: SearchPaymentSEPADirectDebitDetailsInput
}
```

---

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