Saltar al contenido principal

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​

PaymentRuleRouteSplitInput.paymentProcessorId ● ID scalar​

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 ● ID scalar​

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

PaymentRuleRouteSplitInput.storeId ● ID scalar​

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

PaymentRuleRouteSplitInput.pointOfSaleId ● ID scalar​

ID of the 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