| error code | error message | description |
|---|---|---|
| 0 | Ok | success |
| P001 | xxx is illegal | invalid parameters |
| B002 | Partner is not exists | Partner is not exists |
| B003 | Illegal sign | Illegal sign |
| B048 | Invalid buyer | Invalid buyer |
| B137 | RefundPricingId is not exist | RefundPricingId is not exist |
| S001 | System error | System error |
{
"authentication": {
"sign": "",
"partnerId": ""
},
"data": {
"refundPricingId": "16786982431662414"
}
}curl --location 'https://api.pkfare.com/json/refundPricing/check' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"sign": "",
"partnerId": ""
},
"data": {
"refundPricingId": "16786982431662414"
}
}'{
"data": {
"merchantFee": 0,
"needUploadFileId": 0,
"orderNum": "917141251521581901",
"passengerPriceList": [
{
"birthday": "1999-04-22",
"cardNum": "K06065609",
"cardType": "P",
"firstName": "Hoi Ching",
"lastName": "Ng",
"segmentList": [
{
"airPnr": "42NN8L",
"arrival": "TPE",
"bookingCode": "N",
"cabinClass": "ECONOMY",
"departure": "HKG",
"flightNum": "CI924",
"pnr": "42NN8L",
"segmentNo": 1,
"ticketNum": "29770346473"
},
{
"airPnr": "42NN8L",
"arrival": "HKG",
"bookingCode": "N",
"cabinClass": "ECONOMY",
"departure": "TPE",
"flightNum": "CI921",
"pnr": "42NN8L",
"segmentNo": 1,
"ticketNum": "29770346473"
}
],
"sex": "F"
}
],
"refundPriceId": "17142189997610810",
"refundPricingStatus": "refund pricing",
"refundReason": 0,
"refundType": 0
},
"errorCode": "0",
"errorMsg": "ok"
}