api-reference/decision-engine-api-reference/api-reference/guides/scoring-config/config-endpoints.mdx
The dashboard uses this route to discover valid rule builder keys.
curl "$BASE_URL/config/routing-keys" \
--header "$AUTH_HEADER"
curl --location "$BASE_URL/config-sr-dimension" \
--header "$AUTH_HEADER" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "merchant_demo",
"dimensions": ["payment_method_type", "payment_method", "currency"]
}'
Read back the SR scoring dimensions currently configured for a merchant.
curl "$BASE_URL/config-sr-dimension/merchant_demo" \
--header "$AUTH_HEADER"
{
"merchant_id": "merchant_demo",
"paymentInfo": {
"udfs": [],
"fields": ["payment_method_type", "payment_method", "currency"]
}
}
Returns an empty default (fields: null) when nothing has been configured for the merchant yet.
Gateway Status Mapper rule catalog — the error-code classification options used by the gsm-scoring-filter merchant feature (see Merchant Features).
curl "$BASE_URL/gsm/options" \
--header "$AUTH_HEADER"
{
"rules": [
{
"connector": "stripe",
"flow": "authorize",
"subFlow": "card",
"errorCode": "card_declined",
"errorMessage": "Your card was declined.",
"errorCategory": "soft_decline",
"unifiedCode": "UE_001",
"unifiedMessage": "Card declined by issuer",
"decision": "retry"
}
]
}