I think everyone has come across a situation where, at the beginning of the month, the subscriber’s Internet service provider’s balance decreases to zero or becomes negative, and when you try to replenish your account with a card at some stage, the bank’s page becomes unavailable.
This is usually due to the fact that the banks issuing cards, by default, activate the 3DSecure service on their cards, and there are thousands of such banks in the world. In turn, the Internet provider has the ability to add to the white list only the IP address of the bank through which the payment gateway is connected to the processing of cards and it’s quite difficult for him to understand which bank cards he will pay for and on which domains these banks have a 3DSecure page

If you find yourself in a similar situation from the client’s side of such a provider, or from the other side, the network administrator’s side, then this project is for you.
')
→
https://github.com/cloudipsp/all_banks_ipsThe project contains a list of domains and IP addresses of most banks in the world, demarcated by country. You need to add the necessary addresses to the white list on the provider side, and then the entire payment cycle, starting from entering the card number and ending with 3DSecure with a password, must pass without taking into account paid traffic.
The list is kept up to date, but if you need to poll IP addresses regularly, run the script:
python2.7 get_ips.py