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
  1. Errors

Purchase Errors

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

  • Booking details not found

  • Invalid or expired coupon, please try again or remove coupon

  • Payment validation failed, please make sure your credit card details are correct or try another card

  • Booking not found

Purchase Request Failed

The booking details differ from the quoted details, e.g. country of residence, country of destination, etc. and booking cannot be purchased.

{
    "errors": {
        "policyCode": [
            "Policy not found"
        ]
    }
}

A policy cannot be purchased after the start date of travel.

{
    "errors": [
        "Policy cannot be purchased or modified after the date of travel"
    ]
}
PreviousQuote ErrorsNextCancel Errors

Last updated 1 year ago