# On Behalf Of...

<p>
    If you are making REST API calls directly as a direct result of an end-customer interaction,
    (e.g. the customer is clicking a <code>PAY NOW</code> button in your application, or something similar)
    we encourage you to pass the end-customer's IP address and any identifying information
    (e.g. a username, email address, user ID, etc.) in your API calls.
</p>
<p>
    <strong>Do not</strong> pass this information if <i>you</i> are initiating the action, and not the customer.
    (e.g. if you are triggering an automated payment without the customer's direct interaction, <i>do not</i>
    pass these parameters!)
</p>
<p>
    This information can be used for by ChargeOver's fraud detection services, and also
    relayed to payment gateways and merchant accounts for use by their fraud detection routines.
</p>
<p>
    Pass this information in these two fields, as query string parameters to your REST API request:
</p>
<ul>
    <li><code>on_behalf_addr=(the end-customers IP address here)</code></li>
    <li><code>on_behalf_details=(the end-customers username, email address, or user ID in your app here)</code></li>
</ul>

<p>
    ```php title="API REQUEST"
    POST /api/v3/transaction?action=pay&on_behalf_addr=173.132.15.83&on_behalf_details=johndoe@example.com
    ```
</p>
