FlightRoutes24 API(Purchaser)
  1. FR24_API_V1.1.0
FlightRoutes24 API(Purchaser)
  • FR24_API_V1.1.0
    • API Work Flow
    • Introduction
    • Appendix
    • 错误码
    • Error Code
    • Shopping
      POST
    • Pricing
      POST
    • PresaleAncillaryShopping
      POST
    • Booking
      POST
    • Ticketing
      POST
    • OrderDetail
      POST
    • PostsaleAncillaryShopping
      POST
    • AncillaryBooking
      POST
    • AncillaryPurchase
      POST
    • AncillaryOrderDetail
      POST
    • ChangeReshop
      POST
    • ReissueRequest
      POST
    • RefundRequest
      POST
    • RefundConfirming
      POST
    • VoidRequest
      POST
  1. FR24_API_V1.1.0

Ticketing

POST
/api/new/ticketing.do
This API is used for order payment & ticket issue.
Make payments and request ticketing by calling the Ticketing API. Partner calls this API to inform FR24 to deduct balance for the order requested. If the API call successfully, the payment completed successfully. The ticket number will be obtained via OrderChangeInforming API, or via the OrderDetail API.
After the order is created, the order has to be paid within payment deadline, otherwise the order will be canceled.
Note: Requesting the API of Ticketing successfully only means FR24 has received the ticketing application, and it will be pending rather than being instantly confirmed and issued. FR24 will notify the order status change via orderChangeInforming API if the booking is confirmed and the ticket can be issued.

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{timestamp}}"
    },
    "orderNo": "17981635587543040",
    "partnerOrderNo": "",
    "totalPrice": 355.22,
    "currency": "USD",
    "paymentMethod": "0"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://flight-test.flightroutes24.com/api/new/ticketing.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": ""
    },
    "orderNo": "17981635587543040",
    "partnerOrderNo": "",
    "totalPrice": 355.22,
    "currency": "USD",
    "paymentMethod": "0"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "applyticket_NEWAPI24093010521029707707",
    "code": "000000",
    "message": "ok",
    "processingTime": 2418,
    "data": {
        "orderNo": "17981635587543040",
        "orderStatus": null,
        "partnerOrderNo": "",
        "instantTicketing": [
            {
                "airlinePnr": "WLWBUN,WLWBUN",
                "gdsPnr": "IVUAKU",
                "paxId": "1",
                "paxName": "YGVU/ZTMII",
                "ticketNo": ""
            }
        ],
        "totalPrice": 355.22,
        "currency": "USD"
    }
}
Modified at 2025-04-17 06:24:00
Previous
Booking
Next
OrderDetail
Built with