POST
/
routing
/
{algorithm_id}
/
activate
curl --request POST \
  --url https://sandbox.hyperswitch.io/routing/{algorithm_id}/activate \
  --header 'api-key: <api-key>'
{
  "id": "<string>",
  "profile_id": "<string>",
  "name": "<string>",
  "kind": "single",
  "description": "<string>",
  "created_at": 123,
  "modified_at": 123,
  "algorithm_for": "payment"
}

Authorizations

api-key
string
headerrequired

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.

Path Parameters

algorithm_id
string
required

The unique identifier for a config

Response

200 - application/json
id
string
required
profile_id
string
required
name
string
required
kind
enum<string>
required
Available options:
single,
priority,
volume_split,
advanced
description
string
required
created_at
integer
required
modified_at
integer
required
algorithm_for
enum<string>
Available options:
payment