KashierDevelopersKashier Developers
API reference and playgroundCredentials and access

Update an allow-list entry

curl -X PUT "https://test-api.kashier.io/v2/ip-address/string" \  -H "Content-Type: application/json" \  -d '{    "name": "Production API server",    "ipAddress": "203.0.113.25",    "userId": "507f1f77bcf86cd799439012"  }'
{}

Changes the address or label on an existing entry. Send the whole entry, not just the field you are changing. Requires the edit-IP permission 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

Path Parameters

ipId*string

The entry's identifier.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

An entry on the secret-key IP allow-list.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

PUT
/v2/ip-address/{ipId}