# PaymentRuleRouteSplitInput

One bucket in a `route_split` / `tag_store_split` / `tag_pos_split` action: the share of matching traffic for one target. Set exactly the id matching the action `type` — `paymentProcessorId` for `route_split`, `storeId` for `tag_store_split`, `pointOfSaleId` for `tag_pos_split`. Percentages across all `splits` on the same action must sum to 100. A `route_split` may not name the same processor twice.

```
input PaymentRuleRouteSplitInput {

  paymentProcessorId: ID

  providerId: ID

  storeId: ID

  pointOfSaleId: ID

  percentage: Int!

}
```

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

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

Payment processor to receive this share (when the action is `route_split`): `monei` for MONEI, or the ID of a processor the merchant holds a contract with.

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

\*\*Deprecated.\*\* Use `paymentProcessorId`. When both are set, they must be equal.

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

ID of the store to receive this share (when the action is `tag_store_split`).

#### [`PaymentRuleRouteSplitInput.pointOfSaleId`](#point-of-sale-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id.md) scalar[​](#point-of-sale-id "Direct link to point-of-sale-id")

ID of the point of sale to receive this share (when the action is `tag_pos_split`).

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

Share of matching transactions for this target. Integer 1-100; sum of all `splits` must equal 100.

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

[`PaymentRuleActionInput`](https://docs.monei.com/apis/graphql/types/inputs/payment-rule-action-input.md) input
