createPaymentRule
Creates a payment rule in the current account and returns it. At most 20 rules of an account can be enabled. Arguments: - input: Rule to create.
createPaymentRule(
input: CreatePaymentRuleInput!
): PaymentRule!
Arguments
createPaymentRule.input ● CreatePaymentRuleInput! non-null input
Type
PaymentRule object
Rule of the current account that is checked on each payment. When conditions match, action applies: for example, route the payment to a processor, hide a payment method at checkout, or decline the payment. Settings > Payments orchestration shows the rules.
Enabled rules run in priority order, and rules of equal priority in creation order. Every matching rule applies. For routing, store and point of sale tags, 3DS challenge and MONEI Flex, only the first matching rule counts. hide, block_provider and trigger_fraud_check rules add up.
¿Te ha resultado útil esta página?