Amadeus · Schema

CreditCard

credit card

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
brand string credit card brand
holder string card holder as on the card
number string card number
expiryDate string credit card expiration date following [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (YYYY-MM format, e.g. 2012-08)
securityCode string card security code
flightOfferIds array Id of the concern flightOffers
View JSON Schema on GitHub

JSON Schema

flight-create-orders-credit-card-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-create-orders-credit-card-schema.json",
  "title": "CreditCard",
  "description": "credit card",
  "type": "object",
  "allOf": [
    {
      "title": "creditCardCommon",
      "type": "object",
      "description": "credit card common attribute",
      "properties": {
        "brand": {
          "description": "credit card brand",
          "type": "string",
          "enum": [
            "VISA",
            "AMERICAN_EXPRESS",
            "MASTERCARD",
            "VISA_ELECTRON",
            "VISA_DEBIT",
            "MASTERCARD_DEBIT",
            "MAESTRO",
            "DINERS",
            "EASYPAY"
          ],
          "example": "VISA"
        },
        "holder": {
          "description": "card holder as on the card",
          "type": "string",
          "example": "MR DUPON DAMIEN"
        },
        "number": {
          "description": "card number",
          "type": "string",
          "example": "4012999999999999",
          "pattern": "[a-zA-Z0-9]{1,35}"
        },
        "expiryDate": {
          "description": "credit card expiration date following [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (YYYY-MM format, e.g. 2012-08)",
          "type": "string",
          "example": "2021-08"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "securityCode": {
          "description": "card security code",
          "type": "string",
          "example": "123"
        },
        "flightOfferIds": {
          "description": "Id of the concern flightOffers",
          "type": "array",
          "minItems": 1,
          "maxItems": 6,
          "items": {
            "type": "string"
          },
          "example": "1"
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-create-orders-credit-card"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.