Get Flight Delay Pass Price
POST Endpoint:
[BaseUrl]/api/v1/flight-delay-pass/get-priceOverview
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
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | String | Yes | Bearer token for authentication |
| Content-Type | String | Yes | application/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
| Field | Type | Description |
|---|---|---|
| success | Boolean | Indicates if the request was successful |
| uniqueTransId | String | Unique transaction ID for this pricing session (required for issue-pass) |
| code | Integer | HTTP status code |
| message | String | Response message |
| data.pricing | Array | Array of pricing objects for available products |
| data.pricing[].ProductCode | String | Product code identifier |
| data.pricing[].Price | Decimal | Base price of the product |
| data.pricing[].DiscountPrice | Decimal | Discount amount applied |
| data.pricing[].TotalPrice | Decimal | Final price after discount |
| data.pricing[].PassengerCount | Integer | Number of passengers this price applies to |
| data.currency | String | Currency code (e.g., BDT) |
Important Notes
- Save the
uniqueTransIdfrom 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.