hotel-purchases

Get Hotel Purchase Status

Changed on

Poll hotel purchase status for frontend.

get/hotel-purchases/{hotel_purchase_id}/status

Request

  • Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.helloaxel.com/hotel-purchases/{hotel_purchase_id}/status
  • Auth: HTTP bearer

Path parameters

hotel_purchase_idstring uuid required

Response

Successful Response

hotel_purchase_idstring uuid required
statestring required
display_statestring required
membership_statusstring nullable
final_charge_amount_centsinteger nullable
final_charge_currencystring nullable
failure_reasonstring nullable
failure_codestring nullable
credit_applied_centsinteger
supplier_confirmation_codestring nullable

Changes

    • breaking

      the response property const value second_booking was removed for the status

    • warning

      added the new repricing_backfill enum value to the // response property for the response status

    • warning

      added the new repricing_win enum value to the // response property for the response status

    • warning

      added the new second_booking enum value to the // response property for the response status

    • info

      added the optional property to the response with the status