Amadeus · Schema

CreditCard

information about payment card

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
number string card number
holderName string card holder name
vendorCode string card vendor code, e.g VI – VISA, CA – MasterCard, AX – American Express etc
expiryDate string card expiry date in format MMYY, e.g. 0237 for February 2037
cvv string cerification calue number, as indicated on the credit card. Only for query
View JSON Schema on GitHub

JSON Schema

transfer-book-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/transfer-book-credit-card-schema.json",
  "title": "CreditCard",
  "description": "information about payment card",
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "pattern": "[0-9]{16}",
      "description": "card number",
      "example": 1
    },
    "holderName": {
      "type": "string",
      "description": "card holder name",
      "example": "Sample Name"
    },
    "vendorCode": {
      "type": "string",
      "pattern": "[a-zA-Z]{2}",
      "description": "card vendor code, e.g VI \u2013 VISA, CA \u2013 MasterCard, AX \u2013 American Express etc",
      "example": "string-value"
    },
    "expiryDate": {
      "type": "string",
      "pattern": "^(0[1-9]|1[0-2])[0-9]{2}$",
      "description": "card expiry date in format MMYY, e.g. 0237 for February 2037",
      "example": "2026-08-15"
    },
    "cvv": {
      "type": "string",
      "pattern": "[a-zA-Z0-9]{3,4}",
      "description": "cerification calue number, as indicated on the credit card. Only for query",
      "example": "string-value"
    }
  },
  "required": [
    "number",
    "holderName",
    "vendorCode",
    "expiryDate"
  ]
}