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

AncillaryPurchase

POST
/api/new/ancillaryPurchase.do
Calling the API to pay for post-sales ancillary orders.
This API is used for order payment & ancillary purchase. Only.
Making payments and request by calling the AncillaryPurchase API. The partner calls this API to inform FR24 to deduct balance for the order requested. If the API called successfully, the payment will be successfully processed.
After the order is created, the order has to be paid within payment deadline, otherwise the order will be canceled.

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{timestamp}}"
    },
    "auxOrderNo": "17981648020443136",
    "orderNo": "17981635587543040",
    "partnerAuxOrderNo": "",
    "currency": "USD",
    "totalPrice": 45.64,
    "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/ancillaryPurchase.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": ""
    },
    "auxOrderNo": "17981648020443136",
    "orderNo": "17981635587543040",
    "partnerAuxOrderNo": "",
    "currency": "USD",
    "totalPrice": 45.64,
    "paymentMethod": "0"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "auxPay_NEWAPI24093010570430107711",
    "code": "000000",
    "message": "ok",
    "processingTime": 1243,
    "data": {
        "auxOrderNo": "17981648020443136",
        "orderNo": "17981635587543040",
        "currency": "USD",
        "totalPrice": 45.64
    }
}
Modified at 2025-04-17 06:24:00
Previous
AncillaryBooking
Next
AncillaryOrderDetail
Built with