POST
/
routing
/
default
/
profile
/
{profile_id}
curl --request POST \
  --url https://sandbox.hyperswitch.io/routing/default/profile/{profile_id} \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '[
  {
    "connector": "adyenplatform",
    "merchant_connector_id": "<string>"
  }
]'
{
  "profile_id": "<string>",
  "connectors": [
    {
      "connector": "adyenplatform",
      "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.

Path Parameters

profile_id
string
required

The unique identifier for a profile

Body

application/json · object[]
connector
enum<string>
required

RoutableConnectors are the subset of Connectors that are eligible for payments routing

Available options:
adyenplatform,
phonypay,
fauxpay,
pretendpay,
stripe_test,
adyen_test,
checkout_test,
paypal_test,
aci,
adyen,
airwallex,
authorizedotnet,
bankofamerica,
billwerk,
bitpay,
bambora,
bamboraapac,
bluesnap,
boku,
braintree,
cashtocode,
checkout,
coinbase,
coingate,
cryptopay,
cybersource,
datatrans,
deutschebank,
digitalvirgo,
dlocal,
ebanx,
elavon,
fiserv,
fiservemea,
fiuu,
forte,
globalpay,
globepay,
gocardless,
helcim,
iatapay,
inespay,
itaubank,
jpmorgan,
klarna,
mifinity,
mollie,
moneris,
multisafepay,
nexinets,
nexixpay,
nmi,
noon,
novalnet,
nuvei,
opennode,
paybox,
payme,
payone,
paypal,
payu,
placetopay,
powertranz,
prophetpay,
rapyd,
razorpay,
riskified,
shift4,
signifyd,
square,
stax,
stripe,
trustpay,
tsys,
volt,
wellsfargo,
wise,
worldline,
worldpay,
xendit,
zen,
plaid,
zsl
merchant_connector_id
string | null

Response

200
application/json
Successfully updated default config for profile
profile_id
string
required
connectors
object[]
required