# PaymentRuleType

Type of payment rule. Determines which engine evaluates the rule and which `action` types are valid.

* `CARD_ROUTING` - Routing/3DS rule applied to card payments. Valid actions: `route_to`, `force_challenge`, `skip_challenge`, `decline`.
* `PAYMENT_METHOD_VISIBILITY` - Checkout-time rule that shows or hides a payment method. Valid actions: `hide`, `show`.

```
enum PaymentRuleType {

  CARD_ROUTING

  PAYMENT_METHOD_VISIBILITY

}
```

### Values[​](#values "Direct link to Values")

#### [`PaymentRuleType.CARD_ROUTING`](#card-routing)[​](#card-routing "Direct link to card-routing")

#### [`PaymentRuleType.PAYMENT_METHOD_VISIBILITY`](#payment-method-visibility)[​](#payment-method-visibility "Direct link to payment-method-visibility")

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

[`CreatePaymentRuleInput`](https://docs.monei.com/apis/graphql/types/inputs/create-payment-rule-input/.md) input ● [`PaymentRule`](https://docs.monei.com/apis/graphql/types/objects/payment-rule/.md) object ● [`UpdatePaymentRuleInput`](https://docs.monei.com/apis/graphql/types/inputs/update-payment-rule-input/.md) input
