Saltar al contenido principal

ProviderRulesInput

Routing rules of a processor the merchant holds a contract with: conditions a payment must meet for the processor to take it. A field left out or null adds no condition.

input ProviderRulesInput {
minAmount: Int
maxAmount: Int
shopNameLike: String
descriptionLike: String
}

Fields​

ProviderRulesInput.minAmount ● Int scalar​

Minimum payment amount in the smallest currency unit (cents for EUR). It can only raise the minimum that the payment method and the processor set, never lower it.

ProviderRulesInput.maxAmount ● Int scalar​

Maximum payment amount in the smallest currency unit. It can only lower the maximum that the payment method and the processor set, never raise it.

ProviderRulesInput.shopNameLike ● String scalar​

Regular expression tested against the shop name of the payment (Shop.name). Case-sensitive; a match anywhere in the name passes. A payment without a shop name passes. An unsafe pattern is rejected.

ProviderRulesInput.descriptionLike ● String scalar​

Regular expression tested against the payment description. Case-sensitive; a match anywhere in the description passes. A payment without a description passes. An unsafe pattern is rejected.

Member Of​

CreatePaymentProcessorInput input ● UpdatePaymentProcessorInput input