Skip to main content

Mandatory for Production

IP Whitelist: API access from servers you allow.

Meet IP Whitelist: an additional security layer that limits Brick API access to the public IP addresses of your infrastructure.

Learn how to enable it
Incoming request validation Illustration
Request sourceYour application server203.0.113.10
BrickAPIIP Whitelist
Registered IP

Continue to authentication & API validation.

Explore the request flow
Educational simulation. No API requests are sent.

01 / Understand the basics

Credentials identify you.
A whitelist identifies the source.

An IP whitelist is a list of IP addresses permitted to access the Brick API. Brick checks the source IP of each incoming request. Registered IPs can proceed to authentication and other validation; requests from IPs outside the list are rejected.

For financial activities such as sending funds and accepting payments, this restriction helps reduce access from unknown servers and makes it easier to review permitted infrastructure.

An additional layer, not a replacement for authentication.

Keep your API credentials protected and maintain other security controls for your integration.

02 / Before you start

The right IPs. The right configuration.

Use the static public IP address that Brick actually sees when your server sends a request.

Static

Static public IPs

Dynamic IPs and private or local addresses cannot be used as the public source IP.

10 IPs

Up to 10 addresses

The limit applies to each whitelist configuration.

Sandbox / Production

Separate environments

Your Sandbox list does not automatically apply to Production, or vice versa.

Sub-account

Separate sub-accounts

Make sure the IP list is saved for the correct sub-account.

Using a NAT Gateway or proxy?
Register the public outbound IP (egress IP) visible to Brick, rather than the private IP of the server behind it.

03 / Configuration

Enable it in the Brick Dashboard.

Prepare your static public IP list, then follow these steps.

  1. Open your integration settings

    Log in to the Brick Dashboard, select Configuration → Callback URL, then find IP Whitelist / Incoming Request Validation.

  2. Add your static public IPs

    Check the selected environment and sub-account. Add all required outbound IPs, up to 10 IP addresses.

  3. Save, enable, and test

    Save the configuration and make sure IP Whitelist is enabled. Test API access from a registered IP to confirm that requests can be processed.

1. Open Configuration → Callback URL. Screenshot from the official documentation.

Configuration → Callback URL

Enlarged Configuration page showing the Callback URL tab

Screenshot from the official Brick documentation. Scroll horizontally if needed.

2. Configure your Client IP Whitelist. Screenshot from the official documentation.

IP Whitelist settings

Enlarged Client IP Whitelist settings from the official Brick documentation

IP addresses shown are documentation examples. Swipe horizontally to view the full image.

Read the full technical guide

04 / Troubleshooting

Request rejected? Check the source IP.

An unregistered IP receives HTTP 401 with the error code ip_not_whitelisted. Match your server’s public outbound IP against the whitelist for the correct environment and sub-account.

401 Unregistered IP
{
  "status": 401,
  "error": {
    "code": "ip_not_whitelisted",
    "message": "Request is not coming from whitelisted IP",
    "reason": "Source IP is not whitelisted in Brick servers"
  },
  "data": null
}

Example response from the official Brick documentation.

05 / Final checks

Before your first transaction.

Use this checklist to review your configuration.

If an outbound IP changes, update the whitelist first to keep your integration running. This checklist is a page-level reminder, not an account verification.

06 / Common questions

Frequently asked questions.

Is IP Whitelist mandatory?

Yes. Current Brick documentation requires every client to configure an IP whitelist before using the Brick API in Production.

Can I use a dynamic or local IP?

No. Use a static public IP as the request source. For servers behind a NAT or proxy, register the public outbound IP visible to Brick.

Do Sandbox settings apply to Production?

No. Sandbox and Production are managed separately. Each sub-account also has its own configuration.

Does whitelisting replace API authentication?

No. Requests from whitelisted IPs must still pass authentication and other API validation.

Content referenceClient IP Whitelist · Brick API Documentation ↗Checked against the live documentation on November 11, 2026.

Next step

Secure your request sources.

Manage permitted IPs in your Brick Dashboard settings.