Skip to main content
POST
Create rule config

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Body

application/json
merchant_id
string
required
Example:

"test_merchant"

config
object
required

Tagged config variant. type is successRate, elimination, or debitRouting. data holds the variant-specific fields.

Response

200 - application/json

Rule config created

message
string
merchant_id
string
config
object