process Batch CC Auth
PUT {{HostName}}/fof/v1/hotels/{{HotelId}}/batchReservationAuthorizations
It is expected the external system would do a get authorizationReservations first and have all the reservations that need authorizing. And with that data populate this put operation.
Request Body
{"reservations"=>[{"guestFirstName"=>"Stephen", "room"=>"2443", "paymentMethods"=>[{"paymentCard"=>{"cardId"=>{"type"=>"CreditCard", "id"=>"12345"}, "currentAuthorizedAmount"=>{"amount"=>"21820.5", "currencyCode"=>"USD"}, "approvalAmountNeeded"=>{"amount"=>"1718", "currencyCode"=>"USD"}, "cardType"=>"Ax"}, "balance"=>{"amount"=>"23538.5", "currencyCode"=>"USD"}, "folioView"=>"1"}], "guestName"=>"Jones", "reservationId"=>{"type"=>"Reservation", "id"=>"{{ReservationId}}"}}, {"guestFirstName"=>"Melissa", "room"=>"407", "paymentMethods"=>[{"paymentCard"=>{"cardId"=>{"type"=>"CreditCard", "id"=>"451002"}, "currentAuthorizedAmount"=>{"amount"=>"200", "currencyCode"=>"USD"}, "approvalAmountNeeded"=>{"amount"=>"362", "currencyCode"=>"USD"}, "cardType"=>"Ax"}, "balance"=>{"amount"=>"685.22", "currencyCode"=>"USD"}, "folioView"=>"5"}], "guestName"=>"Smithson", "reservationId"=>{"type"=>"Reservation", "id"=>"{{ReservationId}}"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |