Saltar al contenido principal

paymentRule

Returns one payment rule of the current account by ID. A rule that is not found returns a NotFound error. Arguments: - id: Payment rule ID (PaymentRule.id), as paymentRules returns it.

paymentRule(
id: ID!
): PaymentRule

Arguments​

paymentRule.id ● ID! non-null scalar​

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.