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
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

profile_id
string
required

The unique identifier for a profile

Body

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

Connectors 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,
cryptopay,
cybersource,
datatrans,
dlocal,
ebanx,
fiserv,
forte,
globalpay,
globepay,
gocardless,
helcim,
iatapay,
klarna,
mifinity,
mollie,
multisafepay,
nexinets,
nmi,
noon,
nuvei,
opennode,
payme,
payone,
paypal,
payu,
placetopay,
powertranz,
prophetpay,
rapyd,
razorpay,
riskified,
shift4,
signifyd,
square,
stax,
stripe,
trustpay,
tsys,
volt,
wise,
worldline,
worldpay,
zen,
zsl
merchant_connector_id
string | null

Response

200 - application/json
profile_id
string
required
connectors
object[]
required