# createPaymentRule

Creates a payment rule on the authenticated account.

```
createPaymentRule(

  input: CreatePaymentRuleInput!

): PaymentRule!
```

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

#### [`createPaymentRule.input`](#input) ● [`CreatePaymentRuleInput!`](https://docs.monei.com/apis/graphql/types/inputs/create-payment-rule-input/.md) non-null input[​](#input "Direct link to input")

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

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

Conditional rule the merchant configures to control card routing or payment-method visibility. Rules are evaluated per transaction; when `conditions` match, `action` is applied.
