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

# Get Subscriber

> Retrieve subscriber details by ID

## Request

<ParamField header="Authorization" type="string" required>
  `Bearer olive_live_xxx` or `Bearer eyJ...` (JWT)
</ParamField>

### Path Parameters

<ParamField path="id" type="string" required>
  Subscriber UUID (e.g., `sub_abc123`)
</ParamField>

***

## Response

<ResponseField name="subscriber" type="object">
  <Expandable title="Subscriber Object">
    <ResponseField name="id" type="string">
      Unique subscriber UUID
    </ResponseField>

    <ResponseField name="phone_number" type="string">
      Phone number in E.164 format
    </ResponseField>

    <ResponseField name="first_name" type="string">
      First name
    </ResponseField>

    <ResponseField name="last_name" type="string">
      Last name
    </ResponseField>

    <ResponseField name="email" type="string">
      Email address
    </ResponseField>

    <ResponseField name="kyc_level" type="integer">
      KYC verification level (1-3)
    </ResponseField>

    <ResponseField name="status" type="string">
      Account status: `ACTIVE`, `BLOCKED`, `PENDING`
    </ResponseField>

    <ResponseField name="balance" type="string">
      Current wallet balance (formatted)
    </ResponseField>

    <ResponseField name="created_at" type="string">
      Account creation timestamp
    </ResponseField>
  </Expandable>
</ResponseField>

***

## Examples

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://demo.api.vultlocal.com/api/v1/subscribers/sub_abc123" \
    -H "Authorization: Bearer olive_live_xxx"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "subscriber": {
      "id": "sub_abc123",
      "phone_number": "+23279123456",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john@example.com",
      "date_of_birth": "1990-05-15",
      "address": "123 Main Street, Freetown",
      "kyc_level": 2,
      "status": "ACTIVE",
      "balance": "125,000.00 SLE",
      "id_number": "SL12345678",
      "id_type": "NATIONAL_ID",
      "vult_wallet_id": "vult_xyz789",
      "cards_count": 2,
      "max_child_cards": 4,
      "created_at": "2025-01-15T10:30:00Z",
      "updated_at": "2025-01-20T14:45:00Z"
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": "Subscriber not found",
    "code": "NOT_FOUND"
  }
  ```
</ResponseExample>

***

## Errors

| Status | Code             | Description                  |
| ------ | ---------------- | ---------------------------- |
| 401    | `UNAUTHORIZED`   | Invalid or missing API key   |
| 404    | `NOT_FOUND`      | Subscriber ID does not exist |
| 500    | `INTERNAL_ERROR` | Server error                 |


## OpenAPI

````yaml olive-openapi.json GET /subscribers/{id}
openapi: 3.0.0
info:
  description: >-
    API Gateway for OLIVE NFC Card Payment System - Comprehensive payment, card
    management, agent operations, and admin authentication. All /api/v1 routes
    require authentication using either API Key or JWT token.
  title: OLIVE NFC Card Payment API
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    email: support@olive.sl
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://olive-gateway-a6ba.onrender.com/api/v1
security: []
paths:
  /subscribers/{id}:
    get:
      tags:
        - Subscribers
      summary: Get subscriber details
      description: Get subscriber details by subscriber ID
      parameters:
        - description: Subscriber ID
          name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Subscriber details
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Subscriber not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      description: >-
        API Key for third-party integrations (WhatsApp, Smart PAY, VULT).
        Format: 'Bearer olive_live_xxxxxxxxxxxxx'
      type: apiKey
      name: Authorization
      in: header
    BearerAuth:
      description: >-
        JWT token from admin login for administrative operations. Format:
        'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
      type: apiKey
      name: Authorization
      in: header

````