Routing
Routing - Create
Create a routing config
POST
/
routing
Authorizations
api-key
string
headerrequiredUse 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.
Body
application/json
name
string | null
description
string | null
algorithm
object
Routing Algorithm kind
profile_id
string | null
Response
200 - application/json
id
string
requiredprofile_id
string
requiredname
string
requiredkind
enum<string>
requiredAvailable options:
single
, priority
, volume_split
, advanced
, dynamic
description
string
requiredcreated_at
integer
requiredmodified_at
integer
requiredalgorithm_for
enum<string>
Available options:
payment
, payout