Train Ticket
This page discuss the extended information for payment order scenarios, please also check the base API.
Order Status
Flow Chart
Notification can start from any status below and status can be skipped if necessary. |
Order Status | Description | Display Sample (Index Page) | Display Sample (Notification Center) |
AWAIT_SCREENING | When the user is about to board. | ||
CLOSED | When the notification has to hide. | Will not display. | Will not display. |
Below shows the languageBusinessInfo
of this scenario.
All fields are when status is |
Request parameters
check_point Array<string>
Check-in gate of the train in array of strings.
end_time string
Arrival time in yyyy-MM-dd HH:mm:ss
.
from string
Name of the departure station.
order_url string
An URL to redirect when user clicks the notification but not the button.
refund_or_change_url string
An URL for user to refund or modify order.
seat_num Array<string>
Seat number of the ticket in array of strings.
shift_number string
Identify number of the train.
start_time string
Departure time in yyyy-MM-dd HH:mm:ss
.
to string
Name of the arrival station.