Post blocklisttoggle
POST https://sandbox.hyperswitch.io/blocklist/toggle
Example — cURL
curl --request POST \
--url https://sandbox.hyperswitch.io/blocklist/toggle \
--header 'api-key: <api-key>'Authorization
Name: api-key
In: header
Type: string
Required: yes
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
Status: 200 Content-Type: application/json
Response body:
Field:
blocklist_guard_status (string) — required Blocklist guard enabled/disabled