POST
/
rest
/
v1
/
hotel
/
rate_verification
cURL
curl --request POST \
  --url https://sandbox.travel.selfbook.com/rest/v1/hotel/rate_verification \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "booking_code": "2QN57JU",
  "chain_code": "HI",
  "channel_code": "SBT1",
  "check_in_date": "2024-05-20",
  "check_out_date": "2024-05-25",
  "guests": {
    "adults": 1,
    "children": 123
  },
  "property_code": "E8597"
}'
{
  "booking_code": "2QN57JU",
  "channel_code": "SBT1",
  "check_in_date": "2024-05-20",
  "check_out_date": "2024-05-25",
  "hotel": {
    "chain_code": "HI",
    "name": "Holiday Inn",
    "property_code": "E8597"
  },
  "price": {
    "base_price": 139,
    "total_price": 166.48,
    "total_taxes": 25.24,
    "additional_fees": 2.24,
    "currency_code": "USD",
    "fees": [
      {
        "amount": 2.24,
        "currency_code": "USD",
        "description": "National government tax",
        "included_in_base": false,
        "included_in_total": false
      }
    ],
    "taxes": [
      {
        "amount": 25.24,
        "currency_code": "USD",
        "description": "State Tax",
        "included_in_base": false
      }
    ]
  },
  "terms": [
    {
      "accepted_credit_cards": [
        "AX",
        "CA",
        "DC",
        "VI"
      ],
      "cancel_penalties": [
        {
          "cancel_short_description": "An estimated cancellation fee of 177.44 USD applies starting from 2024-09-17T00:00-05:00[America/Chicago].",
          "deadline_local": "2024-09-17T00:00:00-05:00",
          "penalty": {
            "currency_amount": {
              "amount": 177.44,
              "currency": "USD"
            },
            "estimated_amount": false
          },
          "refundable": true
        }
      ],
      "deposit_policies": {},
      "description": [
        "Flexible Rate",
        "1 King Mobility Accessible With/Bathtub"
      ],
      "guarantee_type": [
        "DepositRequired"
      ],
      "rate_payment_info": "PrePay"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication where:

  • user-id is a partner account ID
  • user-password is an API key token associated with the partner account

Body

application/json

Response

200
application/json

OK

The response is of type object.