> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iterapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /ipAddress/{merchantID} — Get IP address configuration

> Retrieve the IP address restriction currently configured for a merchant. Use this to verify which IP is allowlisted for API key authentication.

Use this endpoint to check which IP address is currently configured as the allowlisted address for a merchant's API key authentication. If no restriction is set, only the address field will be present with a `null` value.

<Info>
  IP address restrictions apply to API key authentication only. Bearer token requests are not restricted by this setting.
</Info>

<Note>
  This endpoint requires Bearer token authentication. API key authentication is not accepted.
</Note>

## Path parameters

<ParamField path="merchantID" type="string" required>
  The UUID of the merchant whose IP address configuration you want to retrieve.
</ParamField>

## Response

Returns a `200 OK` with the IP address configuration on success.

<ResponseField name="ipAddress" type="string">
  The IPv4 address currently allowlisted for this merchant. Returns `null` if no IP restriction has been configured.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://api.iterapay.com/ipAddress/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "ipAddress": "203.0.113.42"
  }
  ```
</ResponseExample>
