GET
/
routing
/
active
curl --request GET \
  --url https://sandbox.hyperswitch.io/routing/active \
  --header 'api-key: <api-key>'
{
  "algorithm": {
    "id": "<string>",
    "profile_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "algorithm": {
      "type": "single",
      "data": {
        "connector": "adyenplatform",
        "merchant_connector_id": "<string>"
      }
    },
    "created_at": 123,
    "modified_at": 123,
    "algorithm_for": "payment"
  }
}

Authorizations

api-key
string
header
required

Use the API key created under your merchant account from the HyperSwitch 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.

Query Parameters

profile_id
string | null

The unique identifier for a merchant profile

Response

200
application/json
Successfully retrieved active config

Response of the retrieved routing configs for a merchant account

algorithm
object

Routing Algorithm specific to merchants