{"section":"tutorials","requestedLocale":"en","requestedSlug":"how-to-capture-the-ip-of-an-order","locale":"en","slug":"how-to-capture-the-ip-of-an-order","path":"docs/en/tutorials/payments/transactions/how-to-capture-the-ip-of-an-order.md","branch":"main","content":"To retrieve the IP of a customer that placed an order at your store, you can analyze information on the payment made, which will inform it. \n\n## Retrieve the IP manually\n\nWhen you open an order, click \"See transaction details\" in the payment box:\n\n![ip pedido1 EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/transactions/how-to-capture-the-ip-of-an-order_1.png)\n\nFinally, the IP is visualized on the top right corner:\n\n![ip pedido2 EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/transactions/how-to-capture-the-ip-of-an-order_2.png)\n\nSee more details on [How to visualize the order detail](/en/docs/tutorials/how-to-view-the-orders-details)\n\n## Get the IP by API\n\nTo capture the IP by integration, it is possible to check the API Get Order with the orderID.\n\n> ℹ️ [See documentation of API OMS](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/oms/pvt/orders/-orderId-)\n\nOnce the Order Json is obtained, it is possible to capture the `transactionId` and check the API **Get Transaction Details** with the transaction ID.\n\n> ℹ️ [See documentation of API Transaction](https://developers.vtex.com/docs/api-reference/payments-gateway-api#get-/api/pvt/transactions/-transactionId-)\n\nFinally, from this last call it is possible to check the `ipAddress` field."}