List eSIM Plans
curl --request GET \
--url https://bilalsadasub.com/api/esim/plans \
--header 'Authorization: <api-key>'import requests
url = "https://bilalsadasub.com/api/esim/plans"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://bilalsadasub.com/api/esim/plans', 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://bilalsadasub.com/api/esim/plans",
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://bilalsadasub.com/api/esim/plans"
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://bilalsadasub.com/api/esim/plans")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://bilalsadasub.com/api/esim/plans")
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": [
{
"location_code": "US",
"location_name": "United States",
"location_logo": "https://bilalsadasub.com/storage/esim/us.png",
"plans": [
{
"id": 12,
"package_code": "US_5GB_30D",
"name": "USA 5GB / 30 Days",
"description": "5GB valid for 30 days in the United States",
"data_gb": "5",
"volume_bytes": 5368709120,
"duration": 30,
"duration_unit": "DAY",
"speed": "4G/5G",
"price_usd": 4.5,
"price_ngn": 7200,
"sms_supported": false,
"topup_supported": true,
"unused_valid_days": 180
}
]
}
]
}eSIM
List eSIM Plans
Catalogue of travel eSIM data plans, grouped by location. Requires your API key. Each plan id is the plan_id for Buy eSIM; price_ngn is what your wallet is charged.
GET
/
api
/
esim
/
plans
List eSIM Plans
curl --request GET \
--url https://bilalsadasub.com/api/esim/plans \
--header 'Authorization: <api-key>'import requests
url = "https://bilalsadasub.com/api/esim/plans"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://bilalsadasub.com/api/esim/plans', 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://bilalsadasub.com/api/esim/plans",
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://bilalsadasub.com/api/esim/plans"
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://bilalsadasub.com/api/esim/plans")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://bilalsadasub.com/api/esim/plans")
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": [
{
"location_code": "US",
"location_name": "United States",
"location_logo": "https://bilalsadasub.com/storage/esim/us.png",
"plans": [
{
"id": 12,
"package_code": "US_5GB_30D",
"name": "USA 5GB / 30 Days",
"description": "5GB valid for 30 days in the United States",
"data_gb": "5",
"volume_bytes": 5368709120,
"duration": 30,
"duration_unit": "DAY",
"speed": "4G/5G",
"price_usd": 4.5,
"price_ngn": 7200,
"sms_supported": false,
"topup_supported": true,
"unused_valid_days": 180
}
]
}
]
}Returns the full travel-eSIM catalogue, grouped by location. Each group has a
location_code, location_name and location_logo, and a plans[] array.
- Use a plan’s
idas theplan_idwhen calling Buy eSIM. price_ngnis what your wallet is charged (price_usdis the raw provider price).topup_supportedtells you whether the eSIM can later be extended with Top up eSIM.- Narrow results with
location(e.g.US,GB) or a free-textsearch.
Authorization: Token …).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.
