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

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

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

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

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

#### [`PaymentActionInput.percentage`](#percentage) ● [`Int`](https://docs.monei.com/es/es/apis/graphql/types/scalars/int/.md) scalar[​](#percentage "Enlace directo al 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/es/es/apis/graphql/types/scalars/string/.md) scalar[​](#payment-method "Enlace directo al payment-method")

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

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

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

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

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