Skip to main content

API Keys IPs

Description

The API Keys IPs functionality allows you to restrict access to API methods only to specified IP addresses or subnets.
If no whitelist IPs are defined for the merchant, access is allowed from any IP address.

Key Features

  • Supports individual IP addresses (e.g., 192.168.0.1)
  • Supports IP ranges in CIDR format (e.g., 192.168.0.0/24)
  • Multiple IPs and CIDR ranges can be added
  • Filtering is activated only if at least one IP is added
  • If the request's IP does not match the whitelist, the API responds with 403 Forbidden
  • CIDR allows defining IP ranges — for example, 10.244.0.0/16 allows all IPs in the 10.244.*.* range

Default Behavior

Whitelist Entries PresentAccess Behavior
No entriesAccess allowed from any IP
At least one entryAll non-listed IPs are blocked (403)

CIDR Ranges

The whitelist supports the CIDR (Classless Inter-Domain Routing) format for defining IP address ranges.

Examples:

CIDR RangeAllowed IPs Description
10.244.0.0/16All IPs from 10.244.0.0 to 10.244.255.255 (e.g., 10.244.6.159)
192.168.1.0/24All IPs like 192.168.1.*
203.0.113.45/32Only the single IP address 203.0.113.45

How to add new allowed IP address?

  1. Click on the Settings tab

  2. Click Allows List and choose API keys IPs

  3. In the IP address box, enter the new address.

  4. In the Description box, enter user-friendly name for the new address.

  5. Click Save Address to save the new IP address.