Skip to end of metadata
Go to start of metadata

Here is an example PHP script which uses the API to print the gateway's uptime. The completed script is available as an attachment on this page. Many thanks to the kind anonymous author for allowing me to post this example!


  • PHP
  • cURL


Download the full source code.

  1. Start a new PHP script. Configure the script for your particular gateway
  2. Log in to your gateway. This will save your authentication cookies in memory so that subsequent calls will be allowed.
  3. Build a call to the gateway.list method to get information about the gateway.
  • No labels