# paymentRule

Fetches a single payment rule by ID.

```
paymentRule(

  id: ID!

): PaymentRule
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`paymentRule.id`](#id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#id "Direct link to id")

### Type[​](#type "Direct link to Type")

#### [`PaymentRule`](https://docs.monei.com/apis/graphql/types/objects/payment-rule/.md) object[​](#paymentrule- "Direct link to paymentrule-")

Merchant-defined rule evaluated per transaction. When `conditions` match, `action` is applied (e.g. route the transaction to a provider, hide a payment method at checkout, or decline).
