Flight Delay Pass API
Get Price

Get Flight Delay Pass Price

POST Endpoint: [BaseUrl]/api/v1/flight-delay-pass/get-price

Overview

The Get Price API retrieves the current pricing information for flight delay pass products. This endpoint generates a unique transaction ID that must be used for subsequent operations.

Authentication

This endpoint requires Bearer token authentication. Include your access token in the Authorization header.

Request Parameters

This endpoint does not require any request body parameters. The pricing is retrieved based on the authenticated agent's credentials.

Request Headers

HeaderTypeRequiredDescription
AuthorizationStringYesBearer token for authentication
Content-TypeStringYesapplication/json
Request
{
  
}

Response

Response
{
  "success": true,
  "uniqueTransId": "NZFDP2510129830",
  "code": 200,
  "message": "Price retrieved successfully",
  "data": {
    "pricing": [
      {
        "ProductCode": "GMAT60MINS",
        "Price": 261,
        "DiscountPrice": 0,
        "TotalPrice": 261,
        "PassengerCount": 1
      }
    ],
    "currency": "BDT"
  }
}

Response Fields

FieldTypeDescription
successBooleanIndicates if the request was successful
uniqueTransIdStringUnique transaction ID for this pricing session (required for issue-pass)
codeIntegerHTTP status code
messageStringResponse message
data.pricingArrayArray of pricing objects for available products
data.pricing[].ProductCodeStringProduct code identifier
data.pricing[].PriceDecimalBase price of the product
data.pricing[].DiscountPriceDecimalDiscount amount applied
data.pricing[].TotalPriceDecimalFinal price after discount
data.pricing[].PassengerCountIntegerNumber of passengers this price applies to
data.currencyStringCurrency code (e.g., BDT)

Important Notes

  • Save the uniqueTransId from the response as it's required for issuing a pass
  • The transaction ID has a limited validity period
  • Pricing may vary based on agent configuration and product availability
  • Currently supports GMAT60MINS product (60 minutes delay coverage)

Next Steps

After retrieving the price, use the uniqueTransId to proceed with Issue Pass.