# PaymentActionInput

Action input. Mirrors `PaymentAction`. See that type for which fields apply per `type`.

```
input PaymentActionInput {

  type: String!

  providerId: ID

  percentage: Int

  paymentMethod: String

  tokenizationMethod: String

}
```

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

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

Action to apply. One of `route_to`, `force_challenge`, `skip_challenge`, `decline`, `hide`, `show`.

#### [`PaymentActionInput.providerId`](#provider-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) scalar[​](#provider-id "Direct link to provider-id")

Provider to route to (when `type` is `route_to`).

#### [`PaymentActionInput.percentage`](#percentage) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#percentage "Direct link to percentage")

Percentage of matching transactions to route to `providerId`, 1-100 (when `type` is `route_to`).

#### [`PaymentActionInput.paymentMethod`](#payment-method) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#payment-method "Direct link to payment-method")

Payment method to hide/show (when `type` is `hide` or `show`).

#### [`PaymentActionInput.tokenizationMethod`](#tokenization-method) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#tokenization-method "Direct link to tokenization-method")

Tokenization method to hide/show (when `type` is `hide` or `show`).

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

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