Booking Terms

Update payment configuration for apartment

Replaces existing payment configurations with new ones for apartment

post/v2/apartments/payment-configuration

Request

  • Base URL: https://provider-api-sandbox.holidu.com
  • URL: https://provider-api-sandbox.holidu.com/v2/apartments/payment-configuration
  • Auth: API key in header api-key

Query parameters

providerApartmentIdstring
providerstring
holiduApartmentIdinteger

Request body

paymentMethodsstring[] required
rateIdstring string

Rate identifier

Example request

{
  "paymentRates": {
    "ratePaidOnBookingInPercentage": 30,
    "ratesPerDate": [
      {
        "daysBeforeArrival": 10,
        "rateAmountInPercentage": 70
      }
    ]
  },
  "rateId": "NON_REFUNDABLE"
}

Response

Successfully updated payment configuration

paymentMethodsstring[] required
rateIdstring string

Rate identifier

Example response

{
  "paymentRates": {
    "ratePaidOnBookingInPercentage": 30,
    "ratesPerDate": [
      {
        "daysBeforeArrival": 10,
        "rateAmountInPercentage": 70
      }
    ]
  },
  "rateId": "NON_REFUNDABLE"
}

Changes

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