# Payment PaymentMethod Criterion

The `PaymentMethod` Search Criterion searches for payments based on a payment method applied to them.

## Arguments

- `method_id` - integer that represents an ID of the payment method that you want to match

## Example

### PHP

```
$query->query = new \Ibexa\Contracts\Payment\Payment\Query\Criterion\PaymentMethod(2);
```
