Skip to main content

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 — providerId 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.

input PaymentRuleRouteSplitInput {
providerId: ID
storeId: ID
pointOfSaleId: ID
percentage: Int!
}

Fields​

PaymentRuleRouteSplitInput.providerId ● ID scalar​

Provider to receive this share (when the action is route_split).

PaymentRuleRouteSplitInput.storeId ● ID scalar​

Store to receive this share (when the action is tag_store_split).

PaymentRuleRouteSplitInput.pointOfSaleId ● ID scalar​

Point of sale to receive this share (when the action is tag_pos_split).

PaymentRuleRouteSplitInput.percentage ● Int! non-null scalar​

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

Member Of​

PaymentRuleActionInput input