# CreatePaymentRuleInput

Input for `createPaymentRule`.

```
input CreatePaymentRuleInput {

  ruleType: PaymentRuleType!

  conditions: PaymentConditionsInput!

  action: PaymentActionInput!

}
```

### Fields[​](#fields "Enlace directo al Fields")

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

What the rule controls.

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

Conditions that must match.

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

Action to apply on match.

### Member Of[​](#member-of "Enlace directo al Member Of")

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