# Lookup Hub

Endpoint: GET /api/webhooks/hubs/{hub_id}
Version: 1.0
Security: key

## Security:

  - `key` (unknown)
    apiKey in query key

## Path parameters:

  - `hub_id` (string, required)

## Response 200:

  - `200` (unknown)
    200

## Response 200 fields (application/json):

  - `id` (integer)
    Example: 3

  - `name` (string)
    Example: Hub #3

  - `phone` (string)
    Example: +61400000000

  - `merchant` (integer)
    Example: 1

  - `location` (object)

  - `location.id` (integer)
    Example: 143

  - `location.address` (string)
    Example: 1 Example St, Melbourne VIC 3000, Australia

  - `location.location` (string)
    Example: -37.813600,144.963100

  - `location.description` (string)

## Response 401:

  - `401` (unknown)
    401

## Response 401 fields (application/json):

  - `errors` (any)

  - `detail` (string)
    Example: Merchant API key is not provided, wrong or unavailable.

## Response 404:

  - `404` (unknown)
    404

## Response 404 fields (application/json):

  - `errors` (any)

  - `detail` (string)
    Example: Not found.

