Module: webhook

Webhooks. Note: This interface is not provided by the YSystem, but by the channel server, which the YSystem calls.

Methods


<static> order(header, body)

POST Order update

Parameters:
Name Type Description
header YHeader

HTTP request header

body object

HTTP request body

Properties
Name Type Description
action string

Action

  • bookingSubmitted Booking submitted
  • bookingSucceeded Booking succeeded
  • bookingFailed Booking failed
  • bookingCancelled Cancellation succeeded
  • completed Completed
order Order

Order

Since:
  • 1.0.0