Skip to main content
POST
Routing - Evaluate

Authorizations

api-key
string
header
required

Use the API key created under your merchant account from the PaymntCloud dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.

Body

application/json
paymentInfo
object
required
merchantId
string
required
eligibleGatewayList
string[] | null
rankingAlgorithm
enum<string> | null
Available options:
SR_BASED_ROUTING,
PL_BASED_ROUTING,
NTW_BASED_ROUTING
eliminationEnabled
boolean | null

Response

Routing rules evaluated successfully

decided_gateway
string | null
gateway_priority_map
unknown
filter_wise_gateways
unknown
priority_logic_tag
string | null
routing_approach
string | null
gateway_before_evaluation
string | null
priority_logic_output
object | null
reset_approach
string | null
routing_dimension
string | null
routing_dimension_level
string | null
is_scheduled_outage
boolean | null
is_dynamic_mga_enabled
boolean | null
gateway_mga_id_map
unknown