admin

Create a shareable customer checkout link

post/v1/admin/checkouts/payment-link

Request

  • Base URL: https://api.getmyhotels.com
  • URL: https://api.getmyhotels.com/v1/admin/checkouts/payment-link
  • Auth: HTTP bearer

Request body

hotelPublicIdstring required
hotelNamestring required
roomNamestring required
checkInstring required
checkOutstring required
pricenumber required
stayTotalnumber
nightlyPricenumber
pricingBasis'stay_total' | 'nightly'
availableRoomsnumber
currencystring required
offerRefstring
requiresLatinGuestNamesboolean
supplierCodestring
supplierHotelIdstring
supplierRoomIdstring
hotelStarRatingnumber
hotelCitystring
hotelCountrystring
addressstring
reviewScorenumber
reviewCountnumber
propertyobject

Supplier property display snapshot.

roomMaxOccupancynumber
roomBedTypestring
bookingRoomsnumber
adultsnumber
childGuestsnumber
childrenAgesnumber[]
infantsnumber
cancellationSummarystring
refundableboolean
freeCancellationUntilstring nullable
mealPlanstring
rateConditionsstring[]
roomPromotionsstring[]
amenitiesstring[]
withTransfersboolean
perNightRatesnumber[]
savedPaymentMethodPublicIdstring

Response

Success

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.