# SearchCreditCardNumberInput

Input · GraphQL API

Input fields for searching for payments by payment method snapshot credit card number criteria.

## Fields

- `startsWith` (`String`): Up to the first six digits of the credit card number (the credit card's BIN).
- `endsWith` (`String`): Up to four digits of the last four digits of the credit card number.

## Used by

- [SearchPaymentCreditCardDetailsInput](/braintree/graphql/reference/types/search-payment-credit-card-details-input) — Input; number

## GraphQL definition

```graphql
input SearchCreditCardNumberInput {
  startsWith: String
  endsWith: String
}
```

---

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