Hotel Booking Payment Input Structure
Model with the hotel payment information
PaymentInput is a JSON Structure definition published by Amadeus Reservations, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-structure/hotel-booking-payment-input-structure.json",
"name": "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.",
"name": "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 Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/hotel-booking-payment-input-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.