PaymentAction
Action a payment rule applies when its conditions match. Which fields are populated depends on type.
type PaymentAction {
type: String!
providerId: ID
percentage: Int
paymentMethod: String
tokenizationMethod: String
}
Fields
PaymentAction.type ● String! non-null scalar
Action to apply. One of route_to, force_challenge, skip_challenge, decline (card routing), or hide, show (payment-method visibility).
PaymentAction.providerId ● ID scalar
Provider to route to. Only used when type is route_to.
PaymentAction.percentage ● Int scalar
Percentage of matching transactions to route to providerId, 1-100. Only used when type is route_to. Use to split traffic across providers.
PaymentAction.paymentMethod ● String scalar
Payment method to hide/show (e.g. card, bizum, paypal). Only used when type is hide or show.
PaymentAction.tokenizationMethod ● String scalar
Tokenization method to hide/show (e.g. googlePay, applePay, clickToPay). Only used when type is hide or show.
Member Of
PaymentRule object