# CreatePaymentRuleInput

Input for `createPaymentRule`.

```
input CreatePaymentRuleInput {

  ruleType: PaymentRuleType!

  conditions: PaymentConditionsInput!

  action: PaymentActionInput!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`CreatePaymentRuleInput.ruleType`](#rule-type) ● [`PaymentRuleType!`](https://docs.monei.com/apis/graphql/types/enums/payment-rule-type/.md) non-null enum[​](#rule-type "Direct link to rule-type")

What the rule controls.

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

Conditions that must match.

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

Action to apply on match.

### Member Of[​](#member-of "Direct link to Member Of")

[`createPaymentRule`](https://docs.monei.com/apis/graphql/operations/mutations/create-payment-rule/.md) mutation
