POST
/
blocklist
/
toggle
curl --request POST \
  --url https://sandbox.hyperswitch.io/blocklist/toggle \
  --header 'api-key: <api-key>'
{
  "blocklist_guard_status": "<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.

Query Parameters

status
boolean
required

Boolean value to enable/disable blocklist

Response

200
application/json
Blocklist guard enabled/disabled
blocklist_guard_status
string
required