Trips Documentation
Trips Documentation
Trips Documentation
  • API Documentation
    • Getting Started
    • Flight Search
      • International Single Trip Flight Search
      • International Round Trip Flight Search
      • Domestic Single Trip Flight Search
      • Domestic Round Trip Flight Search
    • Confirm Ticket Price
      • Confirm Ticket Price - International (Single Trip)
      • Confirm Ticket Price - International (Round Trip)
      • Confirm Ticket Price - Domestic (Single Trip)
      • Confirm Ticket Price - Domestic (Round Trip)
    • Flight Booking
      • International - Flight Booking (Single Trip)
      • International - Flight Booking (Round Trip)
      • Domestic - Flight Booking (Round Trip)
      • Domestic - Flight Booking (Single Trip)
    • My Booking
    • Cancel Flight
    • My Reservation
Powered by GitBook
On this page
  1. API Documentation

Cancel Flight

PreviousMy BookingNextMy Reservation

Last updated 1 year ago

CancelFlight API: POST

This API is used to cancel booking reservation before ticket issuance.

API:

See sample request and response.

Request Header:

Authorization: {Bearer Token}

Content-Type: application/json

MerchantCode: {MerchantCode}

Request Payload

{
    "PNRNumber": "ZZZK4X",
    "Surname": "Oladipo "
   
}

Response:

{
    "WarningMessageList": [],
    "IsSuccess": true,
    "StatusCode": 200,
    "ResponseType": null,
    "ErrorMessageList": []
}
http://bsptrips.staging.vggdev.com/api/Flight/CancelFlight