Skip to main content
POST
Create routing rule

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Body

application/json
name
string
required
Example:

"default-priority"

created_by
string
required
Example:

"test_merchant"

algorithm
object
required
description
string
Example:

""

algorithm_for
enum<string>
default:payment
Available options:
payment,
payout,
three_ds_authentication
metadata
object | null

Arbitrary metadata attached to the rule.

Response

200 - application/json

Routing rule created

Summary record returned when a routing rule is created.

rule_id
string
Example:

"routing_e641380c-6f24-4405-8454-5ae6cbceb7a0"

name
string
Example:

"priority rule"

algorithm_for
string
Example:

"payment"

created_at
string
Example:

"2026-04-26 10:00:00.000000"

modified_at
string
Example:

"2026-04-26 10:00:00.000000"