Profile - Deactivate routing algorithm

PATCH /v2/profiles/{id}/deactivate-routing-algorithm

Try it

cURL
curl --request PATCH \
  --url https://sandbox.hyperswitch.io/v2/profiles/{id}/deactivate-routing-algorithm \
  --header 'api-key: <api-key>'

Response (200 application/json)

Example response
{
  "id": "<string>",
  "profile_id": "<string>",
  "name": "<string>",
  "kind": "single",
  "description": "<string>",
  "created_at": 123,
  "modified_at": 123,
  "algorithm_for": "payment",
  "decision_engine_routing_id": "<string>"
}

Authorizations

  • api-key (string, header, required)

Path parameters

  • id (string, required) — The unique identifier for the profile

Response (200) — Successfully deactivated routing config

  • id — string (required)

  • profile_id — string (required)

  • name — string (required)

  • kind — enum (required) Available options: single, priority, volume_split, advanced, dynamic, three_ds_decision_rule

  • description — string (required)

  • created_at — integer (required)

  • modified_at — integer (required)

  • algorithm_for — enum Available options: payment, payout, three_ds_authentication

  • decision_engine_routing_id — string | null


Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v2/profile/profile--deactivate-routing-algorithm.mdx

Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v2/profile/profile--deactivate-routing-algorithm