# Payment Method Name Criterion

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/5.0/llms.txt).

Payment Method Name Search Criterion

Editions: Commerce

The `Name` Search Criterion searches for payment methods based on the existing payment method name.

## Arguments

- `name` - string that represents the payment method name

## Example

### PHP

```php
use Ibexa\Contracts\Payment\PaymentMethod\PaymentMethodQuery;

$query = new PaymentMethodQuery(
    new \Ibexa\Contracts\Payment\PaymentMethod\Query\Criterion\Name('Credit Card')
);
```
