Skip to content

IP Allowlist ​

Restrict which IP addresses can submit payments and orders for your account. Admin users manage allowlisted IP addresses from Developer > IP Allowlist in the Dashboard.

How It Works ​

The IP allowlist applies to payment and order endpoints:

  • POST /v2/topup (direct topups and the MCP topup tool)
  • POST /v2/sdk/catalog/orders/{orderId}/payment
  • POST /v2/orders/calculate and POST /v2/orders

Read-only and account management endpoints (such as balance, transaction history, catalog, and bill presentment) do not check the IP allowlist. Delegated topups dispatched internally for Catalog SDK, Payments, and subscriptions are also exempt (the originating payment or order request is checked instead).

  • Empty list (default): Requests from any IP address are accepted.
  • One or more IPs added: Only requests whose client IP matches an allowlisted address are accepted. Requests from an unlisted IP — or requests whose client IP cannot be determined or parsed — are refused.

Refused Requests ​

When a request is refused by the IP allowlist, the API returns HTTP 401 Unauthorized and does not create a transaction or order:

  • On POST /v2/topup and POST /v2/sdk/catalog/orders/{orderId}/payment, the response body contains {"message": "Unauthorized", ...}.
  • On POST /v2/orders/calculate and POST /v2/orders, the response uses the standard Payments error envelope with error.code set to "unauthorized".

WARNING

Once you add your first IP address, payment and order requests from any non-allowlisted IP — or without a determinable client IP — are refused immediately with 401 Unauthorized. Add all required egress IPs before relying on the allowlist.

Adding IP Addresses ​

Only admin users can add or remove allowlisted IP addresses.

  1. Navigate to Developer > IP Allowlist
  2. Click the Add button

IP Allowlist page with Add button highlighted

  1. Enter one or more IPv4 addresses (one per line) in standard four-octet decimal format (for example, 203.0.113.10). CIDR ranges are not supported.
  2. Click Add to save

You can add multiple IPs at once by entering each on a new line in the modal.

Matching, Duplicates, and Removal ​

Allowlist entries and caller IPs are compared as parsed IP addresses rather than raw strings:

  • New entries are stored in canonical form (for example, 01.02.03.04 is stored as 1.2.3.4).
  • Adding an equivalent spelling of an address already on the list is treated as a duplicate and skipped.
  • Removing an address deletes every equivalent spelling of that address from the list.
  • IPv4-mapped IPv6 caller addresses (such as ::ffff:203.0.113.10) match the corresponding IPv4 entry.

Managing the Allowlist ​

The IP Allowlist table shows all configured IP addresses:

ColumnDescription
IP AddressThe allowlisted IPv4 address
ActionsRemove the IP from the allowlist

IP Allowlist table showing configured IP addresses

To remove an IP address, click the delete icon in the Actions column and confirm the removal.

Best Practices ​

  • Add all required IPs first before enabling the allowlist to avoid locking yourself out
  • Include backup IPs for failover scenarios
  • Document your IPs so team members know which addresses are allowlisted
  • Review regularly and remove IPs that are no longer in use

TIP

If you're using a load balancer or CDN, make sure to allowlist the egress IPs of your infrastructure, not the end-user IPs.

IIMMPACT API Documentation