What IP addresses does Payfast use?

What IP addresses does Payfast use?

As a merchant communicating with Payfast, you may have backend systems that will programmatically speak with Payfast's API or website callback services. Depending on the calling infrastructure, your environment may need to make some changes to be aware of new IP addresses.


Payfast has published our inbound and outbound IP addresses as A records on DNS entries to make it easier for your firewalls to keep track of these.


Please ensure that your firewalls and any NAT Chains will be configured to permit outbound and inbound traffic from the following addresses:

  • www.payfast.co.za

  • api.payfast.co.za

  • ips.payfast.co.za

  • w1w.payfast.co.za

  • w2w.payfast.co.za

The A records within these records may change from time to time as Payfast’s network grows and becomes more distributed, so we advise you to keep sync with these records for the future.



    • Related Articles

    • Whitelisting IP addresses

      As part of our ongoing efforts to enhance stability, resilience and overall customer experience, by 31 July 2025 we will have migrated our Payment API from an on-premises environment to Amazon Web Services (AWS). This transition will result in a ...
    • How do I integrate Payfast with WooCommerce?

      Please find the below steps for the WooCommerce integration with Payfast. Find your Payfast Merchant Details Log in to - Payfast dashboard > Settings > Developer Settings. Copy your Merchant ID and Merchant Key (top right) to use during the setup of ...
    • How do I integrate PayFast with WHMCS?

      In order to use PayFast with WHMCS, you will need to install the PayFast payment module for WHMCS which is provided by PayFast. Installation requirements A working WHMCS installation Installation and testing  To install the PayFast payment module, do ...
    • How do I integrate PayFast with osCommerce?

      In order to use PayFast with osCommerce, you will need to install the PayFast payment module for osCommerce which is provided by PayFast. Installation requirements A working osCommerce installation Installation and testing To install the PayFast ...
    • How do I integrate PayFast with VirtueMart?

      In order to use PayFast with VirtueMart, you will need to install the PayFast payment module for VirtueMart which is provided by PayFast. Installation requirements A working Joomla 3.4.* and VirtueMart 3.3.* installation PHP cURL extension Ask your ...