- FR24_API_V2.0
- Guides
- API Reference
- OrderChangeInforming
- ShoppingPOST
- PricingPOST
- BookingPOST
- TicketingPOST
- OrderDetailPOST
- PresaleAncillaryShoppingPOST
- PostsaleAncillaryShoppingPOST
- seatMapPOST
- AncillaryBookingPOST
- AncillaryPurchasePOST
- AncillaryOrderDetailPOST
- ChangeReshopPOST
- ReissueRequestPOST
- RefundRequestPOST
- RefundConfirmingPOST
- VoidRequestPOST
- FileUploadPOST
- SelectBalancePOST
- About us
RefundConfirming
POST
/api/new/refundConfirming.do
1.
2.
Request
Header Params
Accept-Encoding
string
required
Default:
gzip, deflate, br
content-Type
string
required
Default:
application/json
appKey
string
required
Default:
{{appKey}}
Body Params application/json
authentication
object
User authentication
sign
string
Signature
timestamp
string
Unix timestamp
refundOrderNo
string
Refund order number
tktOrderNo
string
Ticket order number
passengers
array[object (Refund passenger information) {4}]
Refund passenger information
paxId
string
Passenger’s Id
name
string
Passenger’s name
birthday
string
Passenger’s date of birth
Match pattern:
^\d{4}-\d{2}-\d{2}$
gender
enum<string>
Passenger’s gender
Allowed values:
FM
segments
array [object {6}]
Refund segment information
carrier
string
Selling carrier
flightNo
string
Flight number
depAirport
string
Departure airport
depTime
string <date-time>
Departure time
arrAirport
string
Arrival airport
arrTime
string <date-time>
Arrival time
refundReason
enum<string>
Refund reason
Allowed values:
0123
remarks
string
Additional notes on the reason for ticket refund
fileId
array [object]
Proof documents
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": ""
"fileId": [
"DM/ITIz9fuE1AYGYc5sTGTopjvd6iZ6VCMQ==",
" DM/ITIz9fuE1AYGYc5sTGTopjvd6iZ6VCME=="
]
}
Request 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;' \
--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": ""
"fileId": [
"DM/ITIz9fuE1AYGYc5sTGTopjvd6iZ6VCMQ==",
" DM/ITIz9fuE1AYGYc5sTGTopjvd6iZ6VCME=="
]
}'
Responses
🟢200OK
application/json
Body
traceId
string
Traceability code
code
string
Status code
message
string
Error code message
processingTime
number
Processing time
>= 0
data
object (Refund response)
All the data returned according to the Request
refundOrderNo
string
Refund order number
tktOrderNo
string
Ticketing order number
refundOrderStatus
string
Refund order status
Example
{
"traceId": "",
"code": "000000",
"message": "success",
"processingTime": 160,
"data": {
"refundOrderNo": "",
"tktOrderNo": "",
"refundOrderStatus": "25"
}
}
Modified at 2025-01-16 10:10:29