Function# Through AncillaryTicketing API, you can request PKFARE to deduct ancillary order payment (currently only Prepay is supported). It’s not allowed to pay multiple ancillary orders with the same ancillary product type at the same time. After the payment, the status of the ancillary order will turn to be issued. Error Code List# errorCode errorMsg 0 ok S001 System error P001 ancillaryOrderNum is illegal B002 Partner is not exists B003 Illegal sign B009 Order status is invalid B010 Order number not exist B022 Ticketing failed B024 Order has been paid B082 It's not allowed to pay multiple ancillary orders with the same ancillary type at the same time.
Request Body Params application/json
{
"authentication" : {
"sign" : "{{sign}}" ,
"partnerId" : "{{partnerId}}"
} ,
"ticketing" : {
"ancillaryOrderNum" : [ "917739227145652402" ]
}
} Request Code Samples
curl --location 'https://api.pkfare.com/json/ancillaryTicketingV2' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"sign": "",
"partnerId": ""
},
"ticketing": {
"ancillaryOrderNum": ["917739227145652402"]
}
}' Responses application/json
Generate Code
{
"errorCode" : "0" ,
"errorMsg" : "ok" ,
"data" : {
"ancillaryOrderNum" : "917134367036776903" ,
"orderAmount" : 21.00 ,
"transactionExpense" : 0 ,
"payAmount" : 21.00
}
}
Modified at 2026-03-20 10:48:39