Yes, it is automatically detected and relates to our card payments API. However you can still detect it yourself if you want and send it with the parameter customer.ip  as part of the initial POST request. 

If you keep this parameter empty, we will detect the user's IP address and set the customer.ip parameter.

Please view the API reference here :