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

rule_id
string | null
Example:

"rule_abc123"

name
string
description
string
created_by
string
Example:

"test_merchant"

algorithm_for
string
algorithm
object
metadata
object | null

Arbitrary metadata attached to the rule.