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

# Get Customer Hash

> Generate a hash for an existing customer based on their unique customerId.

The API call generates a hash for an existing customer based on their unique customerId. This hash is used to securely redeem loyalty points during transactions.

<Warning>
  **Security**: Requires **apikey** and **secretkey** headers.
</Warning>


## OpenAPI

````yaml GET /api/v4.0/integrations/customers/{customerId}/hash
openapi: 3.1.0
info:
  title: Gameball API
  description: >-
    Gameball REST API v4.0 - Complete API reference for integrating loyalty,
    gamification, and customer engagement features
  version: 4.0.0
servers:
  - url: https://api.gameball.co
security:
  - bearerAuth: []
paths:
  /api/v4.0/integrations/customers/{customerId}/hash:
    get:
      summary: Get Customer Hash
      description: >-
        Generate a hash for an existing customer based on their unique
        customerId.
      operationId: getCustomerHash
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier for the customer
      responses:
        '200':
          description: Customer hash generated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerHashResponse'
      security:
        - apiKey: []
          secretKey: []
components:
  schemas:
    CustomerHashResponse:
      type: object
      properties:
        hash:
          type: string
          description: >-
            A unique, rotating identifier generated for each customer for secure
            verification
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKey:
      type: apiKey
      in: header
      name: apikey
    secretKey:
      type: apiKey
      in: header
      name: secretkey

````