IP whitelisting is required for both the sandbox (test) and production environments. You configure it as a two-factor authentication (2FA) method in the Merchant Dashboard.
Prerequisites
Before you whitelist an IP address, ensure the following:- You have generated your API credentials.
- You have a public IPv4 address. Cashfree does not support IPv6 or private IP addresses, including the 10.x.x.x, 172.16.x.x to 172.31.x.x, and 192.168.x.x ranges, because these are not accessible over the public internet.
- You plan to whitelist no more than 10 IP addresses.
Whitelist an IP address
To whitelist your IP address, follow these steps:- Log in to the Merchant Dashboard.
- Go to Developers > Two-Factor Authentication under the Secure ID card.
- Select IP Whitelist from the Select 2FA Method drop-down.
- Select Add IP Address.
- Enter the IP address you want to whitelist and select Add IP Address to save.
