KingTravel Shopping API
  1. Ticket Booking API
KingTravel Shopping API
ShoppingAPI
  • ShoppingAPI
  • Ticket Booking Process
    • Booking Process
  • Ticket Booking API
    • Search
      POST
    • Verify
      POST
    • Booking
      POST
    • Cancel
      POST
    • Pay
      POST
    • Query
      POST
  • Ticket Booking Notification
    • Notify
      POST
  • Error Codes
    • Search
    • Verify
    • Booking
  • Attachment
    • About Booking AES Encryption
  1. Ticket Booking API

Cancel

POST
/ndc/v1/cancel
If you want to cancel the reservation before issuing the ticket, please call this method.

Request

Authorization
API Key
Add parameter in header
appKey
Example:
appKey: ********************
API Key
Add parameter in header
appSecret
Example:
appSecret: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200成功
application/json
success
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:9002/api/ndc/v1/cancel' \
--header 'appKey: <api-key>' \
--header 'appSecret: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "platFormOrderId": "AF19987663562124",
    "recordNo": "AEDFAC"
}'
Response Response Example
{
    "status": 0,
    "msg": "string"
}
Modified at 2025-12-03 04:24:53
Previous
Booking
Next
Pay
Built with