FR24 OpenAPI
  1. API Reference
FR24 OpenAPI
  • FR24_API_V2.0
    • Guides
      • API Work Flow
      • Introduction
      • Appendix
      • Version History
      • Error Code
    • API Reference
      • shopping
        POST
      • pricing
        POST
      • presaleAncillaryShopping
        POST
      • seatMap
        POST
      • booking
        POST
      • ticketing
        POST
      • orderChangeInforming
        POST
      • orderDetail
        POST
      • postsaleAncillaryShopping
        POST
      • ancillaryBooking
        POST
      • ancillaryPurchase
        POST
      • ancillaryOrderDetail
        POST
      • changeReshop
        POST
      • reissueRequest
        POST
      • refundRequest
        POST
      • refundConfirming
        POST
      • voidRequest
        POST
      • fileUpload
        POST
      • selectBalance
        POST
    • About us
      • API capability
      • Business Cooperation
      • Portal
  • Schemas
    • 缺失的数据
      • Flight information
      • Contact information for order changes
      • Response
      • Searching for segment information
      • Ancillary can be added to segments
    • AuxOrderRqDetail(New)
    • User authentication
    • Price information
    • Itinerary information
    • The information required to be provided by passenger to create the booking
    • Passenger information
    • Booking response
    • Ancillary information
    • Refund passenger information
    • Refund response
    • The content of ancillary pre-sales
    • Ancillary booking response
    • Original flight segment information
    • Ticket request
    • Ticket response
    • ApiAuxSearchRs
    • OrderChangeInforming request
    • OrderChangeInforming response
  1. API Reference

refundConfirming

POST
/api/new/refundConfirming.do
Confirmation of Refund Interface. By invoking the refundConfirm interface, FR24 will be notified to process the refund.
It supports two scenarios:
1.
Call this interface to initiate a refund after pricing is completed.
2.
Support directly calling this API to initiate a refund.

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{time}}"
    },
    "refundOrderNo": "{{refundOrderNo}}",
    "tktOrderNo": "{{orderNo_detail}}",
    "passengers": [
        {
            "paxId": "1",
            "name": "{{pname_detail}}",
            "birthday": "{{pbirthday_detail}}",
            "gender": "{{pgender_detail}}"
        }
    ],
    "segments": [
        {
            "carrier": "{{carrier_detail}}",
            "flightNo": "{{flightNo_detail}}",
            "depAirport": "{{depAirport_detail}}",
            "depTime": "{{depTime_detail}}",
            "arrAirport": "{{arrAirport_detail}}",
            "arrTime": "{{arrTime_detail}}"
        }
    ],
    "refundReason": "1",
    "remarks": "",
    "fileData": [
        {
            "fileId": "hEHKCr/s+PmDM/Ih4mbYcGt1aOd7gQ2TYNUTNfSMLcSalTIz9fuE1AYGYc5sTGTopjvd6iZ6GTA2TyNQv0VCMQ==",
            "fileName": "avatar.png"
        }
    ]
}

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/refundConfirming.do' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'appKey: ' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": "{{time}}"
    },
    "refundOrderNo": "{{refundOrderNo}}",
    "tktOrderNo": "{{orderNo_detail}}",
    "passengers": [
        {
            "paxId": "1",
            "name": "{{pname_detail}}",
            "birthday": "{{pbirthday_detail}}",
            "gender": "{{pgender_detail}}"
        }
    ],
    "segments": [
        {
            "carrier": "{{carrier_detail}}",
            "flightNo": "{{flightNo_detail}}",
            "depAirport": "{{depAirport_detail}}",
            "depTime": "{{depTime_detail}}",
            "arrAirport": "{{arrAirport_detail}}",
            "arrTime": "{{arrTime_detail}}"
        }
    ],
    "refundReason": "1",
    "remarks": "",
    "fileData": [
        {
            "fileId": "hEHKCr/s+PmDM/Ih4mbYcGt1aOd7gQ2TYNUTNfSMLcSalTIz9fuE1AYGYc5sTGTopjvd6iZ6GTA2TyNQv0VCMQ==",
            "fileName": "avatar.png"
        }
    ]
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "",
    "code": "000000",
    "message": "success",
    "processingTime": 160,
    "data": {
        "refundOrderNo": "",
        "tktOrderNo": "",
        "refundOrderStatus": "25"
    }
}
Modified at 2025-07-28 03:53:17
Previous
refundRequest
Next
voidRequest
Built with