Skip to main content

PaymentCondition

Single condition evaluated against a transaction field (e.g. amount, currency, paymentMethod.card.brand, sessionDetails.countryCode).

type PaymentCondition {
id: ID!
field: String!
operator: String!
value: String
valueSource: String!
}

Fields

PaymentCondition.id ● ID! non-null scalar

Condition ID (UUID, stable across updates).

PaymentCondition.field ● String! non-null scalar

Dot-path of the transaction field to evaluate (e.g. amount, paymentMethod.card.brand).

PaymentCondition.operator ● String! non-null scalar

Comparison operator. One of =, !=, <, >, <=, >=, in.

PaymentCondition.value ● String scalar

Value to compare against. For in use a comma-separated list.

PaymentCondition.valueSource ● String! non-null scalar

How value is interpreted: value (literal) or field (path to another transaction field).

Member Of

PaymentConditions object