PaymentInput

Model with the hotel payment information

BookingFlightsHotelsReservationsTravel

Properties

Name Type Description
iataTravelAgency object Agency IATA/ARC Number used to Guarantee the booking. If not provided it is taken form the Amadeus Office profile.
method string Indicates the method of payment. - CREDIT_CARD : It allows payment through a credit card. It is expected to provide the credit card information in the paymentCard section.
paymentCard object Credit card information. The full details of a credit card are expected : . credit card holder name (mandatory, maximum 64 chars) . credit card vendor code (mandatory) . credit card number (mandatory)
View JSON Schema on GitHub

JSON Schema

hotel-booking-payment-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-schema/hotel-booking-payment-input-schema.json",
  "title": "PaymentInput",
  "description": "Model with the hotel payment information",
  "type": "object",
  "properties": {
    "iataTravelAgency": {
      "type": "object",
      "description": "Agency IATA/ARC Number used to Guarantee the booking.\nIf not provided it is taken form the Amadeus Office profile.",
      "properties": {
        "iataNumber": {
          "type": "string"
        }
      }
    },
    "method": {
      "type": "string",
      "description": "Indicates the method of payment. \n- CREDIT_CARD : It allows payment through a credit card. It is expected to provide the credit card information in the paymentCard section.",
      "enum": [
        "CREDIT_CARD"
      ]
    },
    "paymentCard": {
      "type": "object",
      "description": "Credit card information.\nThe full details of a credit card are expected :\n  . credit card holder name (mandatory, maximum 64 chars) \n  . credit card vendor code (mandatory)\n  . credit card number (mandatory)\n  . credit card expiry date (mandatory)\n  . credit card security code (optional, it is anyway strongly recommended to always provide it for Aggregators)",
      "properties": {
        "paymentCardInfo": {
          "type": "object",
          "description": "Credit or Debits cards.",
          "title": "PaymentCard",
          "properties": {
            "vendorCode": {
              "type": "string",
              "example": "VI",
              "description": "Two-letter code card type or vendor code. E.g. VI for VISA, MA for MasterCard.",
              "maxLength": 30,
              "minLength": 0
            },
            "holderName": {
              "type": "string",
              "description": "Name of credit card holder.",
              "maxLength": 99,
              "minLength": 1
            },
            "cardNumber": {
              "type": "string",
              "description": "Card number"
            },
            "securityCode": {
              "type": "string",
              "description": "Card security code",
              "example": "193",
              "minLength": 3,
              "maxLength": 4
            },
            "expiryDate": {
              "type": "string",
              "description": "Date of the expiration of the card in the format MMYY"
            }
          },
          "required": [
            "vendorCode",
            "holderName",
            "cardNumber",
            "expiryDate"
          ]
        },
        "address": {
          "$ref": "#/definitions/Address"
        }
      },
      "required": [
        "paymentCardInfo"
      ]
    }
  },
  "required": [
    "method"
  ]
}

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/hotel-booking-payment-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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