User Journey

User can choose Tiket Pesawat on the menu

The user will select the following on this screen:
- Departure airport and destination
- Select the date of the flight
- If the user needs a round-trip ticket, the user needs to switch the toggle and select the return date as well
- Choose the number of passengers
- Once the user has filled all the required fields. click on "Cari Tiket Pesawat" button

List of available plane

Form Passenger Information

This is the last screen for booking a flight ticket. Ayoconnect will send the callback to the partner and the user will be redirected to the payment confirmation page
API Documentation
- Enrollment API
Enrollment Registration Endpoint/api/v2/enrollment/register
{
"partnerId" : "partner-id",
"account_number" : "211123",
"product_code" : "product-code",
"ref_number" : "567894039"
}
{
"responseCode": 200,
"success": true,
"message": {
"id": "Success.",
"en": "Success."
},
"data": {
"ayoconnect_ref_number": "23289",
"accountNumber": "211123",
"productName": "product-name",
"productCode": "product-code",
"category": "Tiket Pesawat",
"url": "{base-url}?ID=16811872195565"
}
}
- Callback API
{
"responseCode": 200,
"success": true,
"message": {
"ID": "success",
"EN": "success"
},
"data": {
"ayoconnectRefNumber": "475",
"enrollmentId": "99946728",
"refNumber": "567894039",
"extraDetails": []
}
}
- Inquiry
{
"partnerId": "ayopop",
"accountNumber": "99946728",
"productCode": "product-code"
}
{
"responseCode": 300,
"success": true,
"message": {
"ID": "Inkuiri berhasil",
"EN": "Inquiry is successful"
},
"data": {
"inquiryId": 8682016,
"accountNumber": "99946728",
"customerName": "Test User",
"productName": "product-name",
"productCode": "product-code",
"category": "Tiket Pesawat",
"amount": 1204200,
"totalAdmin": 1000,
"processingFee": 0,
"denom": "",
"validity": "",
"customerDetails": [
{
"key": "Tanggal & Waktu Pembayaran",
"value": "11 Apr 2023 | 11:53"
},
{
"key": "Nama Pelanggan",
"value": "Test User"
},
{
"key": "Nomor HP",
"value": "628111111111111"
},
{
"key": "Email",
"value": "[email protected]"
}
],
"billDetails": [
{
"billId": "1",
"billInfo": [],
"isMandatory": true,
"key": "Jumlah Tagihan",
"value": 1204200
},
{
"billId": "0",
"billInfo": [],
"isMandatory": true,
"key": "Biaya Administrasi",
"value": 1000
}
],
"productDetails": [
{
"key": "Kode Booking",
"value": "99946728"
}
],
"extraFields": [
{
"key": "passengerDetails",
"value": [
{
"key": "Penumpang1",
"value": [
{
"key": "Sapaan",
"value": "MR"
},
{
"key": "Nama",
"value": "Test User"
},
{
"key": "Jenis Kelamin",
"value": "M"
},
{
"key": "Tanggal Lahir",
"value": "04-14-2016"
},
{
"key": "Negara Asal",
"value": "N/A"
},
{
"key": "Nomor ID",
"value": "N/A"
},
{
"key": "Tanggal Kadaluwarsa",
"value": "N/A"
},
{
"key": "Tanggal Penerbitan",
"value": "N/A"
},
{
"key": "Tipe Dokumen",
"value": "N/A"
},
{
"key": "Kewarganegaraan",
"value": "ID"
},
{
"key": "Tempat Lahir",
"value": "N/A"
},
{
"key": "Tipe Bagasi",
"value": "KG"
},
{
"key": "Jumlah Bagasi",
"value": "1"
},
{
"key": "Berat Bagasi",
"value": "20"
},
{
"key": "Pilihan Makan",
"value": "N/A"
}
]
}
]
},
{
"key": "ticketDetails",
"value": [
{
"key": "Route1",
"value": [
{
"key": "Waktu Berangkat",
"value": "1845"
},
{
"key": "Waktu Tiba",
"value": "2015"
},
{
"key": "Tanggal Berangkat",
"value": "04-11-2023"
},
{
"key": "Tanggal Tiba",
"value": "04-11-2023"
},
{
"key": "Kelas Kursi",
"value": "ECONOMY"
},
{
"key": "Sub Kelas",
"value": "G"
},
{
"key": "Bandara Asal",
"value": "CGK"
},
{
"key": "Bandara Tujuan",
"value": "SUB"
},
{
"key": "Brand Penerbangan",
"value": "IU"
},
{
"key": "Kode Penerbangan",
"value": "IU-342"
},
{
"key": "Terminal Keberangkatan",
"value": ""
},
{
"key": "Terminal Kedatangan",
"value": ""
}
]
}
]
}
]
}
}
- Payment
{
"partnerId": "partner-id",
"productCode": "product-code",
"accountNumber": "688959",
"inquiryId": 5388773,
"amount": 17500,
"refNumber": "AYE9999999"
}
{
"responseCode": 0,
"success": true,
"message": {
"ID": "Transaksi Anda Telah Berhasil",
"EN": "Your transaction was successful"
},
"data": {
"requestId": "160000122101",
"refNumber": PLANEREF123,
"transactionId": 15075445,
"accountNumber": "89567304",
"amount": 9924600,
"totalAdmin": 2000,
"productCode": "product-code",
"productName": "product-name",
"category": "Tiket Pesawat",
"token": "89567304",
"customerName": "",
"validity": "",
"customerDetails": [
{
"key": "Tanggal & Waktu Pembayaran",
"value": "05 Jan 2021 | 16:42"
},
{
"key": "Nama Pelanggan",
"value": "TEST"
},
{
"key": "Nomor HP",
"value": "6281808080808"
},
{
"key": "Email",
"value": "[email protected]"
}
],
"billDetails": [
{
"billId": "1",
"billInfo": [],
"key": "Jumlah Tagihan",
"isMandatory": true,
"value": 9924600
},
{
"billId": "0",
"billInfo": [],
"key": "Biaya Administrasi",
"isMandatory": true,
"value": 2000
}
],
"productDetails": [
{
"key": "Nomor Referensi",
"value": "Ayo000001"
},
{
"key": "Kode Booking",
"value": "89567304"
},
],
"extraFields": [
{
"key": "passengerDetails",
"value": [
{
"key": "Penumpang1",
"value": [
{
"key": "Sapaan",
"value": "MR"
},
{
"key": "Nama",
"value": "TEST"
},
{
"key": "Jenis Kelamin",
"value": "M"
},
{
"key": "Tanggal Lahir",
"value": "02-15-1998"
},
{
"key": "Negara Asal",
"value": "N/A"
},
{
"key": "Nomor ID",
"value": "1171023011810006"
},
{
"key": "Tanggal Kadaluwarsa",
"value": "N/A"
},
{
"key": "Tanggal Penerbitan",
"value": "N/A"
},
{
"key": "Tipe Dokumen",
"value": "NATIONAL_ID"
},
{
"key": "Kewarganegaraan",
"value": "ID"
},
{
"key": "Tempat Lahir",
"value": "N/A"
},
{
"key": "Tipe Bagasi",
"value": "KG"
},
{
"key": "Jumlah Bagasi",
"value": "1"
},
{
"key": "Berat Bagasi",
"value": "20"
},
{
"key": "Pilihan Makan",
"value": "N/A"
}
]
{
"key": "Penumpang2",
"value": [
{
"key": "Sapaan",
"value": "MRS"
},
{
"key": "Nama",
"value": "TEST ONE"
},
{
"key": "Jenis Kelamin",
"value": "F"
},
{
"key": "Tanggal Lahir",
"value": "02-15-1996"
},
{
"key": "Negara Asal",
"value": "N/A"
},
{
"key": "Nomor ID",
"value": "1171023011810004"
},
{
"key": "Tanggal Kadaluwarsa",
"value": "N/A"
},
{
"key": "Tanggal Penerbitan",
"value": "N/A"
},
{
"key": "Tipe Dokumen",
"value": "NATIONAL_ID"
},
{
"key": "Kewarganegaraan",
"value": "ID"
},
{
"key": "Tempat Lahir",
"value": "N/A"
},
{
"key": "Tipe Bagasi",
"value": "KG"
},
{
"key": "Jumlah Bagasi",
"value": "1"
},
{
"key": "Berat Bagasi",
"value": "20"
},
{
"key": "Pilihan Makan",
"value": "N/A"
}
]
{
"key": "Penumpang3",
"value": [
{
"key": "Sapaan",
"value": "MISS"
},
{
"key": "Nama",
"value": "TEST TWO"
},
{
"key": "Jenis Kelamin",
"value": "F"
},
{
"key": "Tanggal Lahir",
"value": "02-15-2017"
},
{
"key": "Negara Asal",
"value": "N/A"
},
{
"key": "Nomor ID",
"value": "1171023011810001"
},
{
"key": "Tanggal Kadaluwarsa",
"value": "N/A"
},
{
"key": "Tanggal Penerbitan",
"value": "N/A"
},
{
"key": "Tipe Dokumen",
"value": "NATIONAL_ID"
},
{
"key": "Kewarganegaraan",
"value": "ID"
},
{
"key": "Tempat Lahir",
"value": "N/A"
},
{
"key": "Tipe Bagasi",
"value": "KG"
},
{
"key": "Jumlah Bagasi",
"value": "1"
},
{
"key": "Berat Bagasi",
"value": "20"
},
{
"key": "Pilihan Makan",
"value": "N/A"
}
]
}
]
}
]
},
{
"key": "ticketDetails",
"value": "[
{
"key": "Route1",
"value": [
{
"key": "Waktu Berangkat",
"value": "1630"
},
{
"key": "Waktu Tiba",
"value": "1930"
},
{
"key": "Tanggal Berangkat",
"value": "10-20-2022"
},
{
"key": "Tanggal Tiba",
"value": "10-20-2022"
},
{
"key": "Kelas Kursi",
"value": "OTHERS"
},
{
"key": "Sub Kelas",
"value": "Y"
},
{
"key": "Kode PNR",
"value": "HIN55U"
},
{
"key": "Bandara Asal",
"value": "CGK"
},
{
"key": "Bandara Tujuan",
"value": "DPS"
},
{
"key": "Brand Penerbangan",
"value": "GA"
},
{
"key": "Kode Penerbangan",
"value": "GA-420"
},
{
"key": "Terminal Keberangkatan",
"value": "2"
},
{
"key": "Terminal Kedatangan",
"value": "Domestic"
}
]
{
"key": "Route2",
"value": [
{
"key": "Waktu Berangkat",
"value": "1840"
},
{
"key": "Waktu Tiba",
"value": "1945"
},
{
"key": "Tanggal Berangkat",
"value": "10-30-2022"
},
{
"key": "Tanggal Tiba",
"value": "10-30-2022"
},
{
"key": "Kelas Kursi",
"value": "OTHERS"
},
{
"key": "Sub Kelas",
"value": "Y"
},
{
"key": "Kode PNR",
"value": "HIN55U"
},
{
"key": "Bandara Asal",
"value": "DPS"
},
{
"key": "Bandara Tujuan",
"value": "CGK"
},
{
"key": "Brand Penerbangan",
"value": "GA"
},
{
"key": "Kode Penerbangan",
"value": "GA-417"
},
{
"key": "Terminal Keberangkatan",
"value": "Domestic"
},
{
"key": "Terminal Kedatangan",
"value": "2"
},
]"
]
}
}