Skip to main content
GET
/
routing
/
default
/
profile
Routing - Retrieve Default For Profile
curl --request GET \
  --url https://sandbox.hyperswitch.io/routing/default/profile \
  --header 'api-key: <api-key>'
{
  "profile_id": "profile_123",
  "connectors": [
    {
      "connector": "authipay",
      "merchant_connector_id": "<string>"
    }
  ]
}

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.

Response

Successfully retrieved default config

Default routing configuration associated with a business profile.

This represents the fallback routing connectors configured at the profile level.

profile_id
string
required

Unique identifier of the business profile.

Example:

"profile_123"
Example:

"profile_123"

connectors
object[]
required

List of connectors configured as default for this profile.

Example:

[
{
"connector": "stripe",
"merchant_connector_id": "mca_ExbsYfO1xFErhNtwY1PX"
}
]