KashierDevelopersKashier Developers
API reference and playgroundCredentials and access

Enable or disable the whole allow-list

curl -X PUT "https://test-api.kashier.io/v2/ip-address/toggle-all" \  -H "Content-Type: application/json" \  -d '{    "isActive": false  }'
{}

Turns every entry on the allow-list active or inactive in one call — the escape hatch for when the list has locked you out. Sending isActive: false deactivates every entry, which leaves no active entries, which means every IP is allowed again.

Requires both the edit-IP and create-IP permissions on your user's role.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

PUT
/v2/ip-address/toggle-all