> ## 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 /weebhook/{merchantID} — Get webhook configuration

> Retrieve the current webhook URL and creation timestamp for a merchant. Use this to verify your webhook endpoint is registered correctly.

Use this endpoint to inspect the webhook configuration currently registered for a merchant. This is useful for confirming which URL will receive event notifications, or for auditing when the webhook was last configured.

<Note>
  The endpoint path is `/weebhook/{merchantID}` — note the double 'e'. Use this exact path in your requests.
</Note>

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

## Path parameters

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

## Response

Returns a `200 OK` with the webhook configuration object on success.

<ResponseField name="url" type="string">
  The HTTPS URL registered to receive webhook event payloads.
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of when the webhook was last created or updated.
</ResponseField>

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "url": "https://yoursite.com/webhooks/iterapay",
    "createdAt": "2024-01-01T00:00:00Z"
  }
  ```
</ResponseExample>
