{ "$schema": "https://json-structure.org/draft/v0/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/transfer-book-payment-structure.json", "title": "Payment", "description": "defines the payment in transfer reservation. For \"CREDIT_CARD\" - creditCard is mandatory, for \"TRAVEL_ACCOUNT\" - paymentReference is optional, for \"PAYMENT_SERVICE_PROVIDER\" - paymentServiceProvider and paymentReference are mandatory.\n", "type": "object", "properties": { "methodOfPayment": { "type": "string", "description": "Method of payment required when PaymentType equal BT (applicable only for reservation action)." }, "paymentReference": { "type": "string", "description": "payment refence that will be passed to provider in case \"TRAVEL_ACCOUNT\" method of payment" }, "paymentServiceProvider": { "type": "string", "description": "payment service provider details will be passed to provider in case \"PAYMENT_SERVICE_PROVIDER\" method of payment." }, "creditCard": { "type": "object", "description": "information about payment card" } } }