---
title: "Customer"
url: "https://portal.kongair.dev/apis/customer-api/versions/a7eb00bc-a257-47e7-b0c6-8815e1e19d81/schemas/Customer"
---

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

# Customer

## 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
components:
  schemas:
    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
    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.
```
