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

# Customer API

OpenAPI specification document.

```json
{"openapi":"3.1.0","info":{"title":"Customer API","description":"The Customer API provides endpoints for retrieving customer information, such as contact details, payment methods, and frequent flyer numbers.","version":"0.1.0","contact":{"name":"Support","email":"support@kongair.dev"}},"servers":[{"url":"https://api.kong-air.com","description":"KongAir API Server"}],"paths":{"/health":{"get":{"summary":"Health check endpoint for Kubernetes","description":"Endpoint that returns the service health status.","operationId":"get-health","responses":{"200":{"description":"Service is healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"OK"}}}}}},"500":{"description":"Service is unhealthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"unhealthy"}}}}}}}}},"/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":{"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"}}},"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."}}},"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."}}}}},"tags":[]}
```
