Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Server IP Allow-list

Restrict IVB API-key access to trusted server IP addresses through the dashboard in TEST and LIVE environments.

Restrict which server IP addresses are allowed to use your API keys. This is a per-business security control, configured in the Dashboard: there is no API endpoint for it, and it is separate from webhook signature verification.


Where to Configure It

Dashboard → Settings → API and Webhooks → API IP allow-list

The allow-list applies to both your TEST and LIVE API keys: there is a single list per business, not one per environment. Only users with the Owner or Admin role can add, edit, or clear the list; other roles can view the current list but not change it.


How It Works

Scenario
Behaviour

No IPs configured

Any IP can call your API with a valid key (default state)

One or more IPs configured

Only requests from a listed IP are accepted for any API-key-authenticated endpoint

Dashboard login (email/password, JWT session)

Never restricted: you can always log in to the dashboard from anywhere

403 Forbidden
{
  "statusCode": 403,
  "message": "Request IP 198.51.100.7 is not in the business's allowed list",
  "error": "Forbidden"
}

Mandatory for LIVE Payouts

POST /v1/crypto-transfer and POST /v1/fiat-transfer cannot be called in LIVE mode until you have configured at least one restricted IP or CIDR range. This is not optional: it is a fixed security requirement for moving real funds out of your account.

This mandatory check does not apply to TEST-mode payouts, or to read-only endpoints like listing banks or verifying a transaction.


Entry Format

Rule
Detail

Format

IPv4, IPv6, or CIDR notation (e.g. 203.0.113.10, 2001:db8::10, 203.0.113.0/24)

Bare addresses

Automatically treated as a single host (/32 for IPv4, /128 for IPv6)

Maximum entries

50 per business

Catch-all ranges

0.0.0.0/0 and ::/0 (and any other /0) are rejected: you cannot "allow everything"

Separator

Comma-separated list in the dashboard textarea

Example allow-list:


Best Practices

  1. Configure this before you go live. If you plan to use LIVE payouts, set up your allow-list during integration: don't wait until your first LIVE payout attempt fails.

  2. Use the narrowest range that covers your infrastructure. Prefer individual server IPs (/32) over broad ranges. If your servers sit behind a NAT gateway or load balancer, allow-list that gateway's outbound IP, not your whole office network.

  3. Update the list when you change hosting providers or scale out: a forgotten new server IP will fail with a 403 on its first LIVE payout attempt.

  4. This does not replace webhook signature verification. The allow-list controls who can call Ivorypay; signature verification controls whether a webhook claiming to be from Ivorypay is genuine. Use both.

Last updated