PaymentRuleActionType
Action applied when a payment rule's conditions match. The selected type determines which other fields on the action are populated.
route_to- Route the transaction to a single provider. RequiresproviderId.route_split- Split traffic across providers by percentage. Requiressplits; percentages must sum to 100.decline- Decline the transaction. No other fields required.hide- Hide one or more payment methods at checkout. RequirespaymentMethods.block_provider- Remove a provider from the candidate pool for the matching transaction. RequiresproviderId.force_challenge- Force a 3DS challenge for matching card transactions. No additional fields required. [AUTHENTICATION]skip_challenge- Skip the 3DS challenge for matching card transactions (SCA exemption). No additional fields required. [AUTHENTICATION]trigger_fraud_check- Run fraud detection for matching transactions, overriding the account-level fraud detector setting. No additional fields required. [FRAUD_DETECTION]tag_store- Tag the operation with a store (set-if-absent). RequiresstoreId. [OPERATION_TAGGING]tag_pos- Tag the operation with a point of sale (set-if-absent). RequirespointOfSaleId. [OPERATION_TAGGING]tag_store_split- Tag the operation with a store chosen by percentage split. Requiressplits(withstoreId); percentages must sum to 100. [OPERATION_TAGGING]tag_pos_split- Tag the operation with a point of sale chosen by percentage split. Requiressplits(withpointOfSaleId); percentages must sum to 100. [OPERATION_TAGGING]
enum PaymentRuleActionType {
route_to
route_split
decline
hide
block_provider
force_challenge
skip_challenge
trigger_fraud_check
tag_store
tag_pos
tag_store_split
tag_pos_split
}
Values
PaymentRuleActionType.route_to
PaymentRuleActionType.route_split
PaymentRuleActionType.decline
PaymentRuleActionType.hide
PaymentRuleActionType.block_provider
PaymentRuleActionType.force_challenge
PaymentRuleActionType.skip_challenge
PaymentRuleActionType.trigger_fraud_check
PaymentRuleActionType.tag_store
PaymentRuleActionType.tag_pos
PaymentRuleActionType.tag_store_split
PaymentRuleActionType.tag_pos_split
Member Of
PaymentRuleActionInput input