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.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"description": "Up to 50 EUR international transactions",
"entityKey": {
"entityReference": "BA3227C223222B5FN65355NR3",
"entityType": "balanceAccount"
},
"interval": {
"timeOfDay": "00:00:00",
"timeZone": "UTC",
"type": "daily"
},
"outcomeType": "hardBlock",
"reference": "YOUR_REFERENCE_B2634",
"requestType": "authorization",
"ruleRestrictions": {
"internationalTransaction": {
"operation": "equals",
"value": true
},
"totalAmount": {
"operation": "greaterThan",
"value": {
"currency": "EUR",
"value": 5000
}
}
},
"startDate": "2023-06-29T22:39:54.068487152+02:00",
"status": "active",
"type": "velocity",
"id": "TR3227C223222H5J4DB2X9V65"
} |
ENDPOINTS