Get Flight Booking
curl --request GET \
--url https://api.mysubwallet.ng/api/flight/booking/{reference} \
--header 'Authorization: <api-key>'import requests
url = "https://api.mysubwallet.ng/api/flight/booking/{reference}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.mysubwallet.ng/api/flight/booking/{reference}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mysubwallet.ng/api/flight/booking/{reference}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mysubwallet.ng/api/flight/booking/{reference}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mysubwallet.ng/api/flight/booking/{reference}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mysubwallet.ng/api/flight/booking/{reference}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"reference": "FB-7K2M9QZ",
"pnr": "A1B2C3",
"status": "issued",
"trip_type": "one_way",
"origin": "LOS",
"destination": "ABV",
"departure_date": "2026-07-10",
"return_date": null,
"cabin": "economy",
"passengers": [
{
"title": "Mr",
"first_name": "John",
"last_name": "Doe",
"type": "adult"
}
],
"itinerary": [
{
"airline": "Air Peace",
"flight_number": "P47190",
"departure": {
"airport": "LOS",
"time": "2026-07-10T07:30:00"
},
"arrival": {
"airport": "ABV",
"time": "2026-07-10T08:45:00"
},
"duration": "1h 15m",
"cabin": "economy"
}
],
"tickets": [
{
"passenger": "John Doe",
"ticket_number": "0632190874321"
}
],
"amount": 78500,
"currency": "NGN",
"addons_fee": 0,
"whatsapp_number": "2348012345678",
"reminder_call": false,
"email_delivery": "john@example.com",
"expires_at": "2026-07-10T06:00:00+01:00",
"my_trans_id": "FLT_AB12CD34",
"created_at": "2026-06-25T20:00:00+01:00"
}
}{
"status": "error",
"message": "Booking not found."
}Flights
Get Flight Booking
Fetches a single flight booking by its reference, scoped to your account — including PNR, full itinerary and issued ticket numbers. Returns 404 if the reference isn’t on your account.
GET
/
api
/
flight
/
booking
/
{reference}
Get Flight Booking
curl --request GET \
--url https://api.mysubwallet.ng/api/flight/booking/{reference} \
--header 'Authorization: <api-key>'import requests
url = "https://api.mysubwallet.ng/api/flight/booking/{reference}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.mysubwallet.ng/api/flight/booking/{reference}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mysubwallet.ng/api/flight/booking/{reference}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mysubwallet.ng/api/flight/booking/{reference}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mysubwallet.ng/api/flight/booking/{reference}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mysubwallet.ng/api/flight/booking/{reference}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"reference": "FB-7K2M9QZ",
"pnr": "A1B2C3",
"status": "issued",
"trip_type": "one_way",
"origin": "LOS",
"destination": "ABV",
"departure_date": "2026-07-10",
"return_date": null,
"cabin": "economy",
"passengers": [
{
"title": "Mr",
"first_name": "John",
"last_name": "Doe",
"type": "adult"
}
],
"itinerary": [
{
"airline": "Air Peace",
"flight_number": "P47190",
"departure": {
"airport": "LOS",
"time": "2026-07-10T07:30:00"
},
"arrival": {
"airport": "ABV",
"time": "2026-07-10T08:45:00"
},
"duration": "1h 15m",
"cabin": "economy"
}
],
"tickets": [
{
"passenger": "John Doe",
"ticket_number": "0632190874321"
}
],
"amount": 78500,
"currency": "NGN",
"addons_fee": 0,
"whatsapp_number": "2348012345678",
"reminder_call": false,
"email_delivery": "john@example.com",
"expires_at": "2026-07-10T06:00:00+01:00",
"my_trans_id": "FLT_AB12CD34",
"created_at": "2026-06-25T20:00:00+01:00"
}
}{
"status": "error",
"message": "Booking not found."
}Authorizations
Send your API key as Token <your_api_key>.
Use your live key for real transactions, or your sandbox key (sk_test_…) to test — sandbox calls return a realistic simulated result and never touch your wallet. Add "sandbox_status": "fail" to any sandbox request to simulate a failure.
Path Parameters
Booking reference from Book Flight or My Flight Bookings.
Response
The booking.
⌘I

