2. Authentication

Authentication is done by 2 measures:
  1. Whitelisted IP list - submitted during the development and certification process
  2. XML node with a username and password - also provided during the development and certification process
Example of an Authentication node:

<auth>
    <username>example-user</username>
    <password>example-password</password>
    <agent>example-agent</agent>
    <clientIp>1.2.3.4</clientIp>
    <clientUserAgent>example user agent</clientUserAgent>
  </auth>

There are 2 optional nodes that can be sent: clientIp and clientUserAgent. These nodes are used for some providers to get special rates for specific device/browser/OS users. It is not mandatory to include them, but you might be missing out on some special rates.


Comments