Skip to content

Instantly share code, notes, and snippets.

@hebbian
Last active November 2, 2022 16:45
Show Gist options
  • Save hebbian/2d9f5b523a703918a94aed771cd757be to your computer and use it in GitHub Desktop.
Save hebbian/2d9f5b523a703918a94aed771cd757be to your computer and use it in GitHub Desktop.
Shuttle Tiketux PP

formattedOrderTiketUX

{
  tgl_berangkat: "2022-11-03",
  kode_jadwal: "132136116-486",
  nama_pemesan: "TESTING APPLE",
  alamat_pemesan: "BANDUNG",
  email_pemesan: "[email protected]",
  telp_pemesan: "+6287777779999",
  nama_penumpang: "TESTING APPLE",
  nomor_kursi: "1",
  id_layout: "14",
  payment: "paymentbydaytrans",
}

tiketuxServiceBooking

BDTR221102PVK9

tiketuxServiceReservasiDetail

{
  kode_booking: "BDTR221102PVK9",
  cabang_asal: "DIPATIUKUR",
  cabang_tujuan: "ATRIUM PLAZA",
  tgl_berangkat: "2022-11-03",
  jam_berangkat: "20:00",
  telp_pemesan: "087777779999",
  nama_pemesan: "TESTING APPLE",
  email_pemesan: "[email protected]",
  alamat_pemesan: "BANDUNG",
  waktu_pesan: "2022-11-02 23:28:40",
  kode_jadwal: "DPU-ATR(NEW20)",
  area_jemput: "",
  nama_area_jemput: "",
  alamat_jemput: "",
  area_antar: "",
  nama_area_antar: "",
  alamat_antar: "",
  harga: 135000,
  biaya_antar: 0,
  biaya_jemput: 0,
  discount: 0,
  harga_total: 135000,
  penumpang: [
    {
      nama: "TESTING APPLE",
      no_kursi: "1",
      qr_content: "9a85a021860cf67b84fcb678cdd57912",
      no_tiket: "TDTR221102COUH",
    },
  ],
  jenis_pembayaran: "PAYMENT BY DAYTRANS",
  payment_url: "",
  payment_data: "",
  payment_channel: "paymentbydaytrans",
  sales_channel: "test123",
  otp: "",
  kode_pembayaran: "",
  batas_pembayaran: "2022-11-03 00:28:40",
  waktu_bayar: "",
  is_mutasi: 0,
  is_rate: 0,
  rate: null,
  status: "BOOKED",
}

tiketuxServicePaid (orderId: S-1667407381084)

{
  result: {
    OTP: "980644",
  },
  status: "OK",
  pesan: "BERHASIL!",
  url: "http://daytransx-stg.asmat.app/api-whitelabel-daytrans/reservasi/paid.php",
  time: "2022-11-02 23:44:42",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment