Booking APIS
Ticket Status Webhook

Ticket Status Update Webhook API

POST

Endpoint:

[YourBaseURL]/webhooks/ticket-status-update

Note: Please provide the webhook endpoint URL where our system can send ticket status updates after ticket confirmation and issuance.

Overview

This API is used to update ticket status in your system based on the Booking Transaction ID.

  • Once a ticket has been successfully confirmed and issued, our system automatically triggers a webhook and pushes the ticket status update to your endpoint in real time.
  • All webhook requests are authenticated using our API key, which has already been shared with you for testing and live is a different key.
  • To verify the authenticity of each request, your system must validate the API key provided in the Authorization header as a Bearer token before processing the request.

Request Headers

HeaderValue
Content-Typeapplication/json
Accept-Encodingapplication/json
AuthorizationBearer {api_key}
Request Body
{
    "BookingTransactionRef": "NZ48980452471047237",
    "PNR": "ABC123",
    "AirlinesPNR": "LMN456, XYZ789",
    "BookingRefNumber": "NZ-2026-0001",
    "TicketInfoes": [
        {
            "PassengerInfo": {
                "NameElement": {
                    "FirstName": "SHARIFUL",
                    "LastName": "ISLAM,
                    "DocumentNumber": "A1234567"
                }
            },
            "TicketNumbers": [
                "ETKT1234567890",
                "ETKT1234567891"
            ]
        },
        {
            "PassengerInfo": {
                "NameElement": {
                    "FirstName": "Jane",
                    "LastName": "Smith",,
                    "DocumentNumber": "A7654321"
                }
            },
            "TicketNumbers": [
                "ETKT9876543210"
            ]
        }
    ]
}
 

Request Parameters

TypeHTTP CodeResponse FieldMessage TypeMessage Example
Success200messagestring"Ticket Status Updated Successfully"
Validation Error422messagearray["The unique trans id field is required."]
Booking Not Found422messagearray["Air Booking Info not found"]
Ticket Not Found422messagearray["Ticket info not found"]
Exception Error422messagearray["Something went wrong..."]
Response
 
Success Response
{
    "code": 200,
    "msg": "Ticket Status Updated Successfully"
}
Error Response
{
    "code": 422,
    "message": [
        "Error message here"
    ]
}