Customer API

Customer API

0.1.0OAS 3.1

The Customer API provides endpoints for retrieving customer information, such as contact details, payment methods, and frequent flyer numbers.

API Base URL
  • Server 1:https://api.kong-air.com

    KongAir API Server

Additional Information

Health check endpoint for Kubernetes

Endpoint that returns the service health status.

get
https://api.kong-air.com/health

Response

application/json

Service is healthy

statusstring

Example:OK

get/health
 
application/json

Fetch a customer's information

Fetches detailed information for a specific customer.

get
https://api.kong-air.com/customer

Response

application/json

Successful retrieval of customer information.

Customer

idstring

Unique identifier for the customer.

Example:cust-9876543210

usernamestring

Customer’s username.

Example:johndoe

namestring

Customer’s full name.

Example:John Doe

informationobject

Additional customer information.

Show Child Parameters
get/customer
 
application/json

PaymentMethod

object
idstring

Unique identifier for the payment method.

Example:pm-1234567890

redacted_card_numberstring

Redacted credit card number.

Example:************1234

card_holder_namestring

Name of the cardholder.

Example:John Doe

expiration_datestring

Expiration date of the card.

Example:12/24

Example

CustomerInformation

object
addressstring

Customer’s address.

Example:123 Main St, Anytown

phone_numberstring

Customer’s phone number.

Example:555-123-4567

emailstring

Customer’s email address.

Example:john.doe@example.com

frequent_flier_numberstring

Customer’s frequent flier number.

Example:FF123456789

payment_methodsarray[object]

List of customer’s payment methods.

Show Child Parameters
Example