LogoLogo
  • Introduction
  • Authentication
  • Endpoints
    • Content
    • Quote
    • Status
    • Update
    • Purchase
    • Cancel
    • InstantBooking
    • Update Customer
    • Notifications/list
    • Notification/update
    • GetAllPurchasedPolicies
    • GetAllCancelledPolicies
    • CoverOptOut
    • Invoice
  • Webhook
    • HMAC Verification
    • Events
      • Cancellation Event
  • Testing
  • Errors
    • Quote Errors
    • Purchase Errors
    • Cancel Errors
  • Supported Currencies
  • Supported Languages
  • Supported Regions
  • Non-API Functions
Powered by GitBook
On this page
  • Invalid Booking Reference
  • Cancellation Request Failed
  1. Errors

Cancel Errors

General errors will return a HTTP 400 response with a description of the error. See below for the list of Cancel general errors.

Invalid Booking Reference

An invalid booking reference was used to cancel a booking.

{
    "errors": {
        "Reference": "Booking not found"
    }
}

Cancellation Request Failed

The booking is still in quote status, only bookings in Confirmed status can be cancelled.

{
    "errors": [
        "Booking `2CJ2-XBB3-INS` can not be cancelled, already been cancelled on 2024-01-23 04:26:08"
    ]
}

The booking has a claim submitted against it and can not be cancelled.

{
    "errors": [
        "Booking `98PD-SEQN-INS` can not be cancelled, claim in progress"
    ]
}

The booking cannot be cancelled as the customer submitted a charge dispute with their bank.

{
    "errors": [
        "Booking `F8TU-62C6-INS` can not be cancelled as it has been disputed"
    ]
}
PreviousPurchase ErrorsNextSupported Currencies

Last updated 1 year ago