Routing Rules
Create routing rule
Create a new Euclid declarative routing rule for a merchant. Supports advanced (full Euclid DSL), priority (ordered gateway list), single (fixed gateway), and volume_split (percentage-based distribution) algorithm types.
post/routing/create
Request body
Example request
{
"name": "default-priority",
"created_by": "test_merchant",
"algorithm": {
"type": "priority"
}
}Response
Routing rule created
Example response
{
"rule_id": "rule_abc123",
"created_by": "test_merchant",
"algorithm": {
"type": "priority"
}
}