| Field name | Type | Required | Description |
|---|---|---|---|
| is_round_trip | boolean | yes | Tuỳ chọn mua vé khứ hồi - True: 2 chiều - False: 1 chiều |
| orders | array | Thông tin đơn hàng | |
| orders[0].booker_info | object | yes | Thông tin người đặt vé - orders[0] Chiều đi - orders[1] Chiều về |
| orders[0].booker_info.address | string | no | Địa chỉ |
| orders[0].booker_info.booker | string | yes | Họ và tên |
| orders[0].booker_info.email | string | yes | |
| orders[0].booker_info.phone | string | yes | Điện thoại |
| orders[0].schedule_id | string | yes | Mã lịch trình |
| orders[0].ticket_infos | array | yes | Thông tin hành khách |
| orders[0].ticket_infos[0].full_nm | string | yes | Họ và tên |
| orders[0].ticket_infos[0].gender | string | yes | Giới tính |
| orders[0].ticket_infos[0].email | string | no | |
| orders[0].ticket_infos[0].phone | string | no | Điện thoại |
| orders[0].ticket_infos[0].yob | string | yes | Ngày sinh |
| orders[0].ticket_infos[0].nation_id | string | yes | Mã Quốc gia, lấy từ API get nations |
| orders[0].ticket_infos[0].ticket_price_id | string | yes | Mã giá vé, lấy từ API get seats |
| orders[0].ticket_infos[0].seat_id | string | yes | Mã chỗ ngồi, lấy từ API get seats |
| request_id | string | yes | Mã tham chiếu để tạo yêu cầu giữ chỗ được tạo từ phía đối tác |
| signature | string | yes | client_Id+request_Id key = securekey |
client_Id : rci_e51db537-5dcf-4055-b138-21fbeb4610f9request_Id : request_id_20250219securekey rsk_7fd14b85-d703-4d2b-a9fa-21926e7817efsignature : 6a1496b16fc266f433f1af7b71e52e26b2455c3388664df6ce12eb5007f0fd0878baef608dc1c168cb8f4d09e730130f501afc74efd9daee808663971b3a12f3| Field name | Type | Description |
|---|---|---|
| booking_id | string | Mã đặt chỗ |
| request_id | string | Mã tham chiếu để tạo yêu cầu giữ chỗ được tạo từ phía đối tác |
| status | string | Trạng thái của đặt chỗ: request, holding, canceled, paid, failed |
| fee_amount | number | Tổng cộng các loại phí |
| ticket_amount | number | Tổng cộng giá vé |
| total_amount | number | Tổng cộng số tiền phải thanh toán |