Update the reservations payment method
PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}
To update an existing reservation in OPERA by adding or removing Payment Methods
Request Body
{"reservations"=>{"reservationPaymentMethods"=>[{"paymentCard"=>{"cardType"=>"Va", "cardNumber"=>"4111111111111111", "expirationDate"=>"2025-12-31", "cardHolderName"=>"Test card name", "cardOrToken"=>"CardNumber"}, "authorizationRule"=>{"code"=>"5", "amount"=>{"amount"=>"123.45", "currencyCode"=>"USD"}}, "paymentMethod"=>"VA", "description"=>"Visa", "folioView"=>"1"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |