Routing - Retrieve Default For Profile

GET /routing/default/profile

Try it

cURL

cURL
curl --request GET \
  --url https://sandbox.hyperswitch.io/routing/default/profile \
  --header 'api-key: <api-key>'

Example response (200)

Response (application/json)
{
  "profile_id": "<string>",
  "connectors": [
    {
      "connector": "authipay",
      "merchant_connector_id": "<string>"
    }
  ]
}
Authorizations

api-key (header, required)

  • Name: api-key

  • In: header

  • Type: string

  • Description: 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
  • Status: 200 application/json — Successfully retrieved default config

Response schema:

  • profile_id (string, required)

  • connectors (object[], required)

    • connector (string)

    • merchant_connector_id (string)

Related:

Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v1/routing/routing--retrieve-default-for-profile.mdx Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v1/routing/routing--retrieve-default-for-profile