# 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 "Enlace directo al Fields")

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

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

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

Kind of value the field holds.

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

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

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

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