# PaymentRuleField

A field a payment rule condition may reference. `path` is the value to use in a condition's `var`; the same list is enforced when a rule is created or updated.

```
type PaymentRuleField {

  path: String!

  valueType: PaymentRuleFieldValueType!

  enumValues: [String!]

}
```

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

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

Dotted path usable in a condition, e.g. `paymentMethod.card.brand`.

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

Kind of value the field holds.

#### [`PaymentRuleField.enumValues`](#enum-values) ● [`[String!]`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) list scalar[​](#enum-values "Direct link to enum-values")

Allowed values when `valueType` is `ENUM`; absent otherwise.

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

[`PaymentRuleFieldRegistry`](https://docs.monei.com/apis/graphql/types/objects/payment-rule-field-registry/.md) object
