The full list of IP addresses that api.stripe.com may resolve to is:
50.18.212.157
50.18.212.223
52.25.214.31
52.26.11.205
52.26.14.11
52.8.19.58
52.8.8.189
54.149.153.72
54.187.182.230
54.187.199.38
54.187.208.163
54.67.48.128
54.67.52.245
54.68.165.206
54.68.183.151
107.23.48.182
107.23.48.232
As a reminder, you should always use the api.stripe.com DNS name to contact our API. Also be sure to subscribe to our API announce mailing list to be notified of any changes to this list. We’ll give seven days notice through that mailing list before making any IP address changes.
The full list of IP addresses that webhook notifications may come from is:
54.187.174.169
54.187.205.235
54.187.216.72
54.241.31.99
54.241.31.102
54.241.34.107
As a convenience, both lists are available in other formats for easy import into iptables or similar tools: