1. Void APIs
PKFARE Flight Buyer API
  • Guides
    • Quick Start
    • Tricks for Playing with PKFARE API
    • Book air tickets with ancillaries
    • Raise refund requests
    • Raise change requests
    • Receive flight rescheduled notification
    • Add Paid Bags after the Booking
    • Branded Fare Integration Guide
  • API Reference
    • Air ticket booking APIs
      • TicketIssuanceNotify_V2
      • Shopping V10
      • PrecisePricing V12
      • Penalty V4
      • PreciseBooking V8
      • CancelOrder
      • OrderPricing V6
      • Ticketing
      • OrderDetail V14
      • RequestTicketing
      • ModifyOrderStatus
    • Ancillary booking APIs
      • AncillaryStatusPush
      • AncillaryPricing V6
      • AncillaryBooking
      • CancelAncillaryOrder
      • AncillaryTicketing
      • AncillaryOrderDetail
    • Flight schedule change APIs
      • ScheduleChangeNotify
      • GetScheduleChangeReply
      • GetScheduleChangeList
      • AcknowledgeScheduleChange
      • AcceptScheduleChange
    • Refund APIs
      • RefundResultNotify
      • ReimbursedResultNotify
      • Refund Pricing
      • CheckRefundPricing
      • RefundRequest
      • CheckRefund
      • CheckReimbursed
      • DownloadAttachmentFile API
      • UploadAttachmentFile API
    • Change APIs
      • ChangeResultPush
      • Change Reshop
      • Change Request
      • Change Passenger Info
      • Change Reprice
      • ChangeRepricePush
    • Void APIs
      • ReimbursedResultPush
      • VoidRequest
        POST
    • Cache APIs
      • CacheShopping
      • ValidateItinerary API
    • APIs with all versions
      • CheckInInfoPush
      • Raise change requests Copy
      • Shopping
        • Shopping
        • Shopping_V2
        • Shopping_V4
        • Shopping V7
        • Shopping V9
        • Shopping V8
      • PrecisePricing
        • PrecisePricing
        • PrecisePricing_V2
        • PrecisePricing_V6
        • PrecisePricing V9
        • PrecisePricing V10
        • PrecisePricing V11
      • Penalty
        • Penalty
        • Penalty V2
        • Penalty V3
      • PreciseBooking
        • PreciseBooking
        • PreciseBooking_V2
        • PreciseBooking_V5
        • PreciseBooking V6
        • PreciseBooking V7
      • OrderPricing
        • OrderPricing_V2
        • OrderPricing V4
        • OrderPricing V5
      • Ticketing
        • Ticketing
      • TicketNumPush
        • TicketingNumPush
        • TicketingNumPush_V2
        • TicketingNumPush_V3
        • TicketIssuanceNotify
      • CancelOrder
        • CancelOrder
      • OrderDetail
        • OrderDetail_V2
        • OrderDetail_V3
        • OrderDetail_V4
        • OrderDetail_V5
        • Json_OrderDetail_V7
        • Json_OrderDetail_V8
        • OrderDetail V9
        • OrderDetail V13
      • AncillaryPricing
        • AncillaryPricing
        • AncillaryPricing V5
      • AncillaryBooking
        • AncillaryBooking
      • CancelAncillaryOrder
        • CancelAncillaryOrder
      • AncillaryTicketing
        • AncillaryTicketing_V2
      • AncillaryStatusPush
        • AncillaryStatusPush
      • AncillaryOrderDetail
        • AncillaryOrderDetail
      • RequestTicketing
        • RequestTicketing
      • ScheduleChangeNotify
        • ScheduleChangeNotify
      • GetScheduleChangeList
        • GetScheduleChangeList
      • AcknowledgeScheduleChange
        • AcknowledgeScheduleChange
      • AcceptScheduleChange
        • AcceptScheduleChange
      • GetScheduleChangeReply
        • GetScheduleChangeReply
      • RefundPricing
        • RefundPricing
      • CheckRefundPricing
        • CheckRefundPricing
      • RefundRequest
        • RefundRequest
      • RefundResultNotify
        • RefundResultNotify
      • CheckRefund
        • CheckRefund
      • ReimbursedResultNotify
        • ReimbursedResultNotify
      • CheckReimbursed
        • CheckReimbursed
      • UploadAttachmentFile
        • UploadAttachmentFile
      • DownloadAttachmentFile
        • DownloadAttachmentFile
      • ChangeReshop
        • ChangeReshop
      • ChangeRequest
        • ChangeRequest
      • ChangePassengerInfo
        • ChangePassengerInfo
      • VoidRequest
        • VoidRequest
        • VoidRequest_V2
      • ReimbursedResultPush
        • ReimburseResultPush_V2
  • Development Instructions
    • Signature
    • Order Status Explanation
    • Booking errors explanation and suggestions
    • Price Breakdown Explanation
    • Airlines available from PKFARE
    • PKFARE Operation Notice
    • How to retrieve airlines'PNR and ticket numbers
    • PKFARE Buyer API solutionId Usage Guide
  • Notice
    • Release Note
  • Schemas
    • Schemas
      • ShoppingReq
      • Result«ShoppingResult»
      • Authentication
      • SearchDTO
      • JourneysDTO_1
      • PassengersDTO
      • ShoppingResult
      • SegmentsDTO
      • SolutionsDTO
      • BaggageDTO
      • ConditionsDTO
      • ChangeDTO
      • OtherDTO
      • RefundDTO
      • JourneysDTO
      • SegmentInfoDTO
  1. Void APIs

ReimbursedResultPush

1 Document Description#

1.1 Function Description#

Buyer partners should provide a void result reception service URL based on HTTP/HTTPS protocol to PKFARE for pushing back void result.
After voiding request, PKFARE would generates a void order in PKFARE system to proceed void operation. PKFARE void order number and detail would be pushed back if succeed. Or feedback reason if fail.

1.2 Target Reader#

The ReimburseResultPush API document targets developers who work in the fields of network development, maintenance as well as management, and they should have the knowledge of at least one of the following programming languages: ASP, PHP, JAVA, ASP.NET or SQL.

1.3 Character Encoding#

The character code of this API is UTF-8.

1.4 Invoking Address#

This address URL is provided by buyers.

2 Versioning#

VersionSandbox Invoking AddressUpdate
ReimburseResultPushThis address is provided by the customer.
ReimburseResultPush_V2This address is provided by the customer.Add parent order number info

3 Request Parameter#

The request is sent by PKFARE API. Structure: JSON. Requesting method: POST.

3.1 Parameter Construction#

3.1.1 Basic Parameter#

NameTypeDescriptionSample
voidOrderNumstring[PKFARE] void order number916932661022462502
voidOrderStatusString[PKFARE] void order status, refer to 5.2VOID_TO_BE_REIM
remarkStringfailure reason. NOT null only if void operation is failed to proceedrejected reason
parentOrderNumString[PKFARE] parent order number916932661022462501
reimburseResultObjectvoid result details, refer to 3.1.2. NOT null only if void operation is successful-
passengersArraypassengers that request to void. Refer to 3.1.3

3.1.2 ReimburseResult#

NameTypeDescriptionSample
paymentsObjectPayment informationt
solutionsObjectPrice informationt
3.1.2.1 Payments#
NameTypeDescriptionSample
payMethodStringPayment methodPrepay
transactionFlowStringTransaction numberfb89dab6-f825-47be-a491-50c57ca49be2
3.1.2.2 Solutions#
NameTypeDescriptionSample
currencyStringcurrency of regarding amountUSD
voidServFeeBigDecimalvoid service fee for single adult4.00
voidReimAmountBigDecimalamount to be reimbursed after ticket voided (Alipay merchant fee is non-refundable)216.00
voidReimCouponBigDecimalcoupon was used for ticket issuance, and it will be call back after voided4.00
voidReimDistCostBigDecimaldistribution cost after voided to be call back234.00
voidReimMerFeeBigDecimalmerchain fee after voided to be return10.00
voidReimTktFeeBigDecimalticket service fee after voided to be return10.00

3.1.3 Passengers#

NameTypeDescriptionSample
cardTypeStringtravel document type. Refer to 5.1P
cardNumStringtravel document numberP1234567
lastNameStringlast nameWANG
firstNameStringfirst nameJANGO

3.2 Request Sample#

Case 1 Successful void operation, to be reimbursed.#

{
    "passengers": [
        {
            "birthday": "1989-09-01",
            "firstName": "JOHN",
            "lastName": "SMITH",
            "sex": "M"
        }
    ],
    "voidOrderNum": "916932661022462502",
    "voidOrderStatus": "VOID_TO_BE_REIM",
    "parentOrderNum": "916932661022462501",
    "reimburseResult": {
        "solutions": [
            {
                "currency": "USD",
                "voidReimAmount": 183.84,
                "voidReimCoupon": 0,
                "voidReimDistCost": 0,
                "voidReimMerFee": 0.0,
                "voidReimTktFee": 0.0,
                "voidServFee": 7.0
            }
        ]
    }
}

Case 2 Successful reimbursed.#

{
	"passengers": [
		{
			"birthday": "1989-09-01",
			"firstName": "JOHN",
			"lastName": "SMITH",
			"sex": "M"
		}
	],
	"voidOrderNum": "916932708029462502",
	"voidOrderStatus": "VOID_REIMED",
    "parentOrderNum": "916932661022462501",
	"reimburseResult": {
		"payments": [
			{
				"payMethod": "Prepay",
				"transactionFlow": "fb89dab6-f825-47be-a491-50c57ca49be2"
			}
		],
		"solutions": [
			{
				"currency": "USD",
				"voidReimAmount": 183.84,
				"voidReimCoupon": 0,
				"voidReimDistCost": 0,
				"voidReimMerFee": 0.0,
				"voidReimTktFee": 0.0,
				"voidServFee": 7.0
			}
		]
	}
}

Case 3 Void rejected.#

{
    "passengers": [
        {
            "birthday": "1989-09-01",
            "firstName": "JOHN",
            "lastName": "SMITH",
            "sex": "M"
        }
    ],
    "voidOrderNum": "916932661022462502",
    "voidOrderStatus": "VOID_REJ",
    "parentOrderNum": "916932661022462501",
    "remark": " Exceed the time limit for nullification"
}

4 Response Parameter#

This response is returned by the buyer partners. Please response in following format.

4.1 Response Parameter Construction#

NameTypeParameter DescriptionSample
errorCodeStringerror code0
errorMsgStringerror messageok

4.2 Response Sample#

4.2.1 Normal Response#

{"errorCode":0,"errorMsg":"ok"}

4.2.2 Error Response#

{"errorCode":1,"errorMsg":"Failure reason"}

5 Appendix#

5.1 Travel Document Type#

EnumDescription
Ppassport
Oothers

5.2 Order Status#

EnumDescription
VOID_TO_BE_REIMVoid,to be reimbursed
VOID_REIMEDVoid,reimbursed
VOID_REJVoid Rejected
#
Modified at 2025-02-19 02:49:52
Previous
ChangeRepricePush
Next
VoidRequest