Limit international payments

POST {{baseUrl}}/transactionRules

Creates a transaction rule. When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see examples.

Request Body

{"description"=>"Up to 50 EUR international transactions", "reference"=>"{{$guid}}_B2634", "status"=>"active", "entityKey"=>{"entityType"=>"balanceAccount", "entityReference"=>"BA3227C223222B5FN65355NR3"}, "interval"=>{"type"=>"daily"}, "outcomeType"=>"hardBlock", "ruleRestrictions"=>{"totalAmount"=>{"operation"=>"greaterThan", "value"=>{"currency"=>"EUR", "value"=>5000}}, "internationalTransaction"=>{"operation"=>"equals", "value"=>true}}, "type"=>"velocity"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring