hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

Modify profile and merchant_connector_account routes to use `ApiKeyAuthWithMerchantIdFromRoute` auth

Open tsdk02 opened this issue 8 months ago • 0 comments

Description:

Currently, the following routes use AdminApiAuthWithMerchantIdFromRoute for authentication:

  • Profile Create, Retrieve, Update
  • Merchant Connector Account Create, List, Retrieve, Update

This has to be updated to a more appropriate auth layer: ApiKeyAuthWithMerchantIdFromRoute, which validates that the merchant_id in the API key matches the one in the route.

tsdk02 avatar Mar 27 '25 13:03 tsdk02