---
title: "Fetch a customer's information"
url: "https://portal.kongair.dev/apis/customer-api/versions/a7eb00bc-a257-47e7-b0c6-8815e1e19d81/operations/getCustomerInfo"
---

> Full API specification: https://portal.kongair.dev/apis/customer-api/versions/a7eb00bc-a257-47e7-b0c6-8815e1e19d81.md

# Fetch a customer's information

`GET` `/customer`

Operation ID: `getCustomerInfo`

Fetches detailed information for a specific customer.

## Responses

- `200` - Successful retrieval of customer information.
- `404` - Customer Not Found

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Customer API
  version: 0.1.0
servers:
  - url: https://api.kong-air.com
    description: KongAir API Server
paths:
  /customer:
    get:
      summary: Fetch a customer's information
      description: Fetches detailed information for a specific customer.
      operationId: getCustomerInfo
      responses:
        "200":
          description: Successful retrieval of customer information.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Customer"
        "404":
          description: Customer Not Found
components:
  schemas:
    Customer:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the customer.
          example: cust-9876543210
        username:
          type: string
          description: Customer's username.
          example: johndoe
        name:
          type: string
          description: Customer's full name.
          example: John Doe
        information:
          $ref: "#/components/schemas/CustomerInformation"
          description: Additional customer information.
    CustomerInformation:
      type: object
      properties:
        address:
          type: string
          description: Customer's address.
          example: 123 Main St, Anytown
        phone_number:
          type: string
          description: Customer's phone number.
          example: 555-123-4567
        email:
          type: string
          description: Customer's email address.
          example: john.doe@example.com
        frequent_flier_number:
          type: string
          description: Customer's frequent flier number.
          example: FF123456789
        payment_methods:
          type: array
          items:
            $ref: "#/components/schemas/PaymentMethod"
          description: List of customer's payment methods.
    PaymentMethod:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the payment method.
          example: pm-1234567890
        redacted_card_number:
          type: string
          description: Redacted credit card number.
          example: "************1234"
        card_holder_name:
          type: string
          description: Name of the cardholder.
          example: John Doe
        expiration_date:
          type: string
          description: Expiration date of the card.
          example: 12/24
```
