Skip to main content

CreatePaymentRuleInput

Input for creating a payment rule

input CreatePaymentRuleInput {
ruleType: PaymentRuleType!
conditions: PaymentConditionsInput!
action: PaymentActionInput!
}

Fields

CreatePaymentRuleInput.ruleType ● PaymentRuleType! non-null enum

Type of payment rule

CreatePaymentRuleInput.conditions ● PaymentConditionsInput! non-null input

The conditions that must be met for this rule to apply

CreatePaymentRuleInput.action ● PaymentActionInput! non-null input

The action to take when conditions are met

Member Of

createPaymentRule mutation