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
  1. API Reference

refundRequest

POST
/api/new/refundRequest.do
Refund Request Interface. By invoking the refundRequest interface, a refund pricing application will be initiated to FR24.
The pricing result will be pushed through the orderChangeInforming API

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{time}}"
    },
    "partnerOrderNo": "",
    "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/refundRequest.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": "{{time}}"
    },
    "partnerOrderNo": "",
    "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": "{{refundOrderNo}}",
        "tktOrderNo": "ticketing order number",
        "refundOrderStatus": ""
    }
}
Modified at 2025-07-28 03:49:51
Previous
reissueRequest
Next
refundConfirming
Built with