<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel</title>
    <description>The latest articles on DEV Community by Daniel (@esimmonster).</description>
    <link>https://dev.to/esimmonster</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4187261%2F74a80efa-6744-4eb7-8ca2-cff256263115.png</url>
      <title>DEV Community: Daniel</title>
      <link>https://dev.to/esimmonster</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/esimmonster"/>
    <language>en</language>
    <item>
      <title>How to Model Multi-Country Trips for eSIM Data Plans: Legs, Transit Stops and Validity Windows</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 22 Nov 2026 08:14:27 +0000</pubDate>
      <link>https://dev.to/esimmonster/how-to-model-multi-country-trips-for-esim-data-plans-legs-transit-stops-and-validity-windows-4l8j</link>
      <guid>https://dev.to/esimmonster/how-to-model-multi-country-trips-for-esim-data-plans-legs-transit-stops-and-validity-windows-4l8j</guid>
      <description>&lt;p&gt;Most eSIM purchase flows assume a simple trip: one destination, one plan, done. Real itineraries are messier. A traveller flies Tel Aviv to Bangkok via Dubai, spends a week in Thailand, crosses into Cambodia by land, then flies home through Istanbul. If your travel, booking or fintech app sells data for that trip, a single country picker isn't enough. You need a small itinerary model, a way to map it to packages, and a clear answer to "when does my data start counting down?"&lt;/p&gt;

&lt;p&gt;This article walks through how to structure that, based on the problems that show up once you sell eSIM inside a booking flow rather than as a standalone product.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Represent the trip as legs, not a destination
&lt;/h2&gt;

&lt;p&gt;Start with a model that matches how the traveller actually moves. A practical shape:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trip&lt;/strong&gt;: id, traveller, overall start and end (UTC), home country.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leg&lt;/strong&gt;: country code (ISO 3166-1 alpha-2), arrival and departure timestamps stored in UTC, the local time zone of that country, and a type: &lt;strong&gt;stay&lt;/strong&gt;, &lt;strong&gt;transit&lt;/strong&gt; or &lt;strong&gt;overland&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source&lt;/strong&gt;: where the leg came from (flight booking, hotel booking, user input). This matters later when the itinerary changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you already have a booking, derive legs from it: every flight segment gives you arrival and departure points, and the gap between segments tells you whether a stop is a 50-minute connection or an 11-hour layover. Hotel bookings fill in the stays. Let the user add or remove countries, because overland crossings and side trips rarely show up in a booking.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Decide how to treat transit stops
&lt;/h2&gt;

&lt;p&gt;Transit is where most itinerary-unaware flows break. A traveller with a long layover may want data in a country they never "visit". Some providers already treat this as a feature: Air New Zealand Mobile, launched in November, lets its travel plans include transit locations alongside the destination.&lt;/p&gt;

&lt;p&gt;A simple rule set works well:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connections under a configurable threshold (for example 3 hours): flag the country as &lt;strong&gt;optional&lt;/strong&gt;. Don't add it to the required coverage, but show it.&lt;/li&gt;
&lt;li&gt;Longer layovers: mark the country as &lt;strong&gt;recommended&lt;/strong&gt; and prefer packages that include it.&lt;/li&gt;
&lt;li&gt;Overnight layovers or stopovers: treat them as a &lt;strong&gt;stay&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make the threshold a setting, not a constant. Product teams will want to tune it once they see support tickets.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Map legs to packages: single, regional or multi-country
&lt;/h2&gt;

&lt;p&gt;Once you have a set of required and recommended countries, you have three broad options from most eSIM catalogues:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single-country packages&lt;/strong&gt;, one per country. Often cheaper per GB and easy to explain, but the traveller ends up with several plans and possibly several profiles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regional packages&lt;/strong&gt; covering a list of countries. One purchase, but coverage lists differ per package, and a "region" rarely matches the exact route.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-country or global packages.&lt;/strong&gt; Simplest, usually the most expensive per GB.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Treat this as a small set-cover problem with a price and convenience score, not a hard optimisation. For most trips the candidate set is tiny. A reasonable approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fetch packages whose coverage intersects the required countries.&lt;/li&gt;
&lt;li&gt;Build candidate combinations: one regional package that covers everything required, one regional plus single-country top-ups for the gaps, and all single-country packages.&lt;/li&gt;
&lt;li&gt;Score each on total price, number of packages and whether recommended transit countries are covered. Penalise each extra package, because every extra package is another thing that can fail to activate.&lt;/li&gt;
&lt;li&gt;Show the top one or two options and explain the difference in one line ("covers your Dubai layover" vs "cheaper, no data during the layover").&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Always check coverage against the package's own country list from the catalogue API rather than a region label. Region names are marketing; coverage lists are what the network will honour.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Be explicit about when validity starts
&lt;/h2&gt;

&lt;p&gt;"7 days" means nothing until you know when day one begins. Depending on the provider and package, validity may start on installation, on first connection to a supported network, or at purchase. Read this from the package data, store it with the order, and design around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If validity starts on &lt;strong&gt;first connection&lt;/strong&gt;, it's safe to sell and install the eSIM well before departure. Tell the user to keep the line off until arrival.&lt;/li&gt;
&lt;li&gt;If it starts on &lt;strong&gt;installation&lt;/strong&gt;, schedule the install prompt close to departure and warn users who try to install early.&lt;/li&gt;
&lt;li&gt;If it starts at &lt;strong&gt;purchase&lt;/strong&gt;, the purchase itself should move closer to the trip, or the package should cover the whole trip plus a buffer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then compare the validity window with the legs. If a 7-day package will start on arrival in the first country but the trip lasts 9 days in covered countries, say so before checkout, not when data stops on day eight.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Handle time zones and the date line
&lt;/h2&gt;

&lt;p&gt;Store all leg timestamps in UTC and keep each leg's IANA time zone alongside. Render times in the zone of the place the user will be, not the device's current zone. Two edge cases are worth tests:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Crossing the date line&lt;/strong&gt;: a flight can land "before" it departs in local time. Duration calculations must use UTC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Days" in package validity&lt;/strong&gt;: confirm whether a day means 24 hours from activation or a calendar day in some zone. Display the expiry as a local time in the country where the user will be.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  6. Schedule the "switch to your eSIM" moment
&lt;/h2&gt;

&lt;p&gt;The highest-value notification in the whole flow is the one that arrives just after landing: "You've arrived in Thailand. Turn on your travel eSIM and data roaming for it." Schedule it from the leg's arrival time, with a margin for delays, and update it if the flight changes. For transit legs, send a lighter version only if the package covers that country.&lt;/p&gt;

&lt;p&gt;Before departure, send one checklist: profile installed, line labelled, still switched off. That message saves more support tickets than any FAQ page.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Plan for mid-trip changes and top-ups
&lt;/h2&gt;

&lt;p&gt;Itineraries change. Flights are rebooked, a side trip appears, a stay is extended. Re-run the coverage check whenever a leg changes and handle three outcomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A new country isn't covered: offer a top-up or an extra single-country package.&lt;/li&gt;
&lt;li&gt;The trip got longer than the validity window: offer an extension or a top-up before expiry, not after.&lt;/li&gt;
&lt;li&gt;Usage is running ahead of the remaining days: use usage data from the provider to suggest a top-up while the user still has connectivity to buy it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Top-ups are also where repeat revenue comes from, so make them one tap from the trip screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What to store
&lt;/h2&gt;

&lt;p&gt;For support and reconciliation, persist at least:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;trip id and leg ids, with the itinerary version used at checkout;&lt;/li&gt;
&lt;li&gt;order id and, per package, the package id, covered countries and validity rule;&lt;/li&gt;
&lt;li&gt;the ICCID of the profile each package was applied to (multiple packages may share one profile);&lt;/li&gt;
&lt;li&gt;install and first-connection timestamps when the provider reports them;&lt;/li&gt;
&lt;li&gt;top-ups and which leg or change triggered them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When a traveller writes "no data in Cambodia", support should be able to see in one screen which package was meant to cover Cambodia, whether it was active, and whether validity had already run out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;Selling eSIM next to a booking is a chance to get the plan right for the actual route: legs instead of a single destination, explicit transit rules, coverage checked against real country lists, validity explained before checkout, and notifications tied to arrival times. None of it is complicated on its own, but skipping any one of them turns into "my eSIM doesn't work" tickets mid-trip.&lt;/p&gt;

&lt;h2&gt;
  
  
  About One-eSIM
&lt;/h2&gt;

&lt;p&gt;I work on One-eSIM, a B2B platform that lets travel, mobility, fintech and telecom brands launch their own branded eSIM through a white-label webshop or an API embed, with a management portal, analytics and support tooling behind it. If you're adding eSIM to a booking or travel app, you can see how it fits on our &lt;a href="https://www.1-esim.com/travel-mobility-fintech" rel="noopener noreferrer"&gt;travel, mobility and fintech page&lt;/a&gt; or at &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;1-esim.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>api</category>
      <category>travel</category>
      <category>systemdesign</category>
      <category>mobile</category>
    </item>
    <item>
      <title>QR Code, One-Tap Link, or In-App Install: Choosing How Customers Receive Their eSIM</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 15 Nov 2026 08:11:19 +0000</pubDate>
      <link>https://dev.to/esimmonster/qr-code-one-tap-link-or-in-app-install-choosing-how-customers-receive-their-esim-2ca2</link>
      <guid>https://dev.to/esimmonster/qr-code-one-tap-link-or-in-app-install-choosing-how-customers-receive-their-esim-2ca2</guid>
      <description>&lt;p&gt;Most eSIM products treat delivery as an afterthought: the order succeeds, an email goes out with a QR code, done. Then the support tickets start. "The QR code won't scan." "It says the code is no longer valid." "I installed it but nothing happens."&lt;/p&gt;

&lt;p&gt;How the eSIM profile gets from your backend onto the customer's phone is a product decision, not a transport detail. You have roughly three options: a QR code, a one-tap installation link, or an install that happens inside your own native app. Each removes some failure modes and introduces others. This post walks through all three, what to log for each, and how to choose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is actually being delivered
&lt;/h2&gt;

&lt;p&gt;Whatever the path, the payload is the same: an activation code that tells the phone's eSIM manager (the LPA, or Local Profile Assistant) where to download the profile and which profile to ask for. In the common format it looks like this:&lt;/p&gt;

&lt;p&gt;LPA:1$smdp.example.com$MATCHING-ID-123&lt;/p&gt;

&lt;p&gt;The middle part is the SM-DP+ address, the server that holds the profile. The last part is the matching ID that identifies this specific order. Some providers also require a confirmation code, which the customer has to type in separately.&lt;/p&gt;

&lt;p&gt;The QR code, the link and the in-app call are just three different envelopes for that string. What differs is who has to handle the envelope, on which device, and what happens when it goes wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Path 1: the QR code
&lt;/h2&gt;

&lt;p&gt;The QR code is the universal default. Every eSIM-capable phone can scan one from its settings, and you don't need an app. That's why almost everyone starts here.&lt;/p&gt;

&lt;p&gt;Its failure modes are mostly physical and timing-related:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The customer can't scan the code with the phone being set up.&lt;/strong&gt; The QR arrives by email, the customer opens the email on that same phone, and now there's nothing to point the camera at. Some will print it, some will find a second screen, many will contact support. Always show the activation code as copyable text next to the QR, and tell people up front that they need a second screen or the manual code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The code has already been used.&lt;/strong&gt; Many SM-DP+ servers treat an activation code as single-use. If the customer scanned it once to "test" it, deleted the profile, or installed it on the wrong phone, the second scan fails. The exact behaviour depends on your provider, so find out whether a used profile can be released and re-issued, and how long that takes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The code was installed too early.&lt;/strong&gt; Some plans start their validity on install rather than on first network attach. A customer who installs a week before the trip may lose days. Your copy needs to say clearly when to install.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;QR codes are also easy to forward. That's fine for a family member's phone, and a problem when a customer shares a screenshot publicly while asking for help.&lt;/p&gt;

&lt;h2&gt;
  
  
  Path 2: the one-tap installation link
&lt;/h2&gt;

&lt;p&gt;A one-tap link wraps the same activation code in a URL that the operating system recognises and hands to the eSIM setup flow. Since iOS 17.4, Apple supports a universal link format that starts the eSIM installation directly when it's opened on an iPhone. That removes the "scan the screen you're holding" problem completely: the customer taps the link on the phone being set up.&lt;/p&gt;

&lt;p&gt;On Android, support for link-based installation varies by OS version and manufacturer, so check current documentation and test on the devices your customers actually use before you make it the main path. A QR or manual code fallback is still needed.&lt;/p&gt;

&lt;p&gt;The new failure mode is the in-app browser. If the link is opened inside Gmail's, Instagram's or another app's embedded browser rather than Safari, the hand-off to the system eSIM flow often doesn't happen. The customer sees a blank page or a download prompt, and assumes the eSIM is broken. Practical mitigations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Send the link to a page you control first, detect whether it's running in an embedded web view, and show an "Open in Safari" instruction if so.&lt;/li&gt;
&lt;li&gt;Keep the QR and the manual code on that same page as fallbacks.&lt;/li&gt;
&lt;li&gt;Don't wrap the install link in click-tracking redirects that may break the universal link behaviour. Track the visit on your landing page instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The single-use problem doesn't go away either. A link that has been tapped once is a code that has been redeemed once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Path 3: install inside your own app
&lt;/h2&gt;

&lt;p&gt;If you have a native app, you can trigger the installation from inside it. The customer taps "Install eSIM", confirms in a system dialog, and never sees a QR code or a link. This removes both earlier failure modes: there's nothing to scan and nothing to open in the wrong browser.&lt;/p&gt;

&lt;p&gt;The catch is access. On iOS, programmatic eSIM installation requires an entitlement that Apple grants to carriers and approved partners. On Android, an app generally needs carrier privileges for the profile to manage it through the platform eSIM APIs. Neither is something you switch on in a weekend, so ask your connectivity provider early what's possible for your brand and plan for it.&lt;/p&gt;

&lt;p&gt;The trade-off is ownership. When the install happens in your app, every remaining problem (an incompatible or carrier-locked phone, a failed download, the line not being enabled, data roaming switched off) lands in your support queue, with your brand on it. That's a good thing if you're prepared for it: you can guide the customer through enabling the line and turning on roaming in the same flow. It's a bad thing if your support team expects only billing questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to log, whatever the path
&lt;/h2&gt;

&lt;p&gt;Most "my eSIM doesn't work" tickets are slow because nobody can tell where in the process the customer got stuck. Log enough to answer that in one lookup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Order ID and ICCID&lt;/strong&gt;, linked to each other and to the customer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivery path and timestamp:&lt;/strong&gt; QR emailed, link sent, or in-app install started.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Issued vs redeemed:&lt;/strong&gt; whether the activation code has been downloaded by a device, and when. Your provider's API or the SM-DP+ status usually exposes this.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Profile notifications:&lt;/strong&gt; the GSMA consumer eSIM spec defines notifications that devices send back to the SM-DP+ on install, enable, disable and delete. If your provider forwards them, store them. "Installed but never enabled" is a very different ticket from "never downloaded".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Landing page events for links:&lt;/strong&gt; page opened, embedded browser detected, install tapped, fallback shown.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First network attach or first usage&lt;/strong&gt;, if available, so you know the line actually worked abroad.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With these fields, support can answer "where are you stuck?" before asking the customer anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to choose
&lt;/h2&gt;

&lt;p&gt;A simple way to decide:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No native app (webshop or email-only flow):&lt;/strong&gt; lead with the one-tap link on a landing page you control, with the QR and manual code below it. Detect embedded browsers. Explain when to install.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native app, no install entitlement yet:&lt;/strong&gt; open your own install landing page from the app in the system browser (not a web view), so the link hands off correctly. Show order status in the app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native app with install access:&lt;/strong&gt; make in-app install the default, keep the link and QR as fallbacks for a second device, and invest in in-app troubleshooting for enabling the line and data roaming.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whichever you choose, measure it. Track tickets by delivery path and failure stage (never downloaded, downloaded but not enabled, enabled but no data). If one path generates most of the "code already used" or "nothing happens" tickets, that's where the next fix goes.&lt;/p&gt;

&lt;h2&gt;
  
  
  About One-eSIM
&lt;/h2&gt;

&lt;p&gt;I work on One-eSIM, a B2B platform that lets travel, fintech and telecom brands launch their own branded eSIM through a white-label webshop or an API embed, with a management portal and support tooling behind it. If you're deciding how your customers should receive and install their eSIM, you can see how the pieces fit on our &lt;a href="https://www.1-esim.com/partner-solutions" rel="noopener noreferrer"&gt;partner solutions page&lt;/a&gt; or at &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;1-esim.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>api</category>
      <category>mobile</category>
      <category>webdev</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Checking eSIM Device Compatibility Before Checkout: What You Can and Can't Detect</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 08 Nov 2026 08:09:53 +0000</pubDate>
      <link>https://dev.to/esimmonster/checking-esim-device-compatibility-before-checkout-what-you-can-and-cant-detect-3781</link>
      <guid>https://dev.to/esimmonster/checking-esim-device-compatibility-before-checkout-what-you-can-and-cant-detect-3781</guid>
      <description>&lt;p&gt;"Does my phone support eSIM?" is one of the most common questions a travel or fintech app gets right before checkout, and one of the most expensive to get wrong. A customer who buys a plan for a phone that can't take it doesn't just ask for a refund. They open a ticket, wait, and usually leave with a worse opinion of your brand than if they'd never bought anything.&lt;/p&gt;

&lt;p&gt;The frustrating part for engineers is that there's no clean "supports eSIM: yes/no" signal you can read everywhere. This post covers what you can and can't detect on the web and in native apps, how to keep a device allow-list honest, and how to write checkout copy for the customers who simply don't know.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. On the web, you can't really detect it
&lt;/h2&gt;

&lt;p&gt;There is no browser API that tells you whether a device has an eUICC (the embedded chip that holds eSIM profiles). What you get is indirect at best:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;User-Agent strings.&lt;/strong&gt; iPhones report "iPhone" without the model, so you can't tell an eSIM-capable iPhone from an older one. Many Android browsers have also reduced the model information in the default User-Agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User-Agent Client Hints.&lt;/strong&gt; On Chromium-based Android browsers you can request the high-entropy model hint, which may return a model identifier such as a Samsung or Pixel model code. It isn't available in Safari or Firefox, and a model code still doesn't tell you about regional variants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The customer is often on a different device.&lt;/strong&gt; Plenty of people buy a travel eSIM on a laptop for the phone in their pocket. Any detection you run in that browser describes the wrong device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So on the web, treat detection as a hint for pre-filling a question, never as a gate. The reliable path is to ask the customer, help them check, and make the answer easy to give.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Native apps get better signals, but not the whole story
&lt;/h2&gt;

&lt;p&gt;If you have a native app, you can do more, but the public APIs are narrower than many teams expect.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Android.&lt;/strong&gt; &lt;strong&gt;EuiccManager.isEnabled()&lt;/strong&gt; (Android 9 and later) tells you whether the eUICC is available on the device. That's a useful signal. Reading the EID itself with &lt;strong&gt;getEid()&lt;/strong&gt; needs privileged phone-state permission or carrier privileges, so an ordinary third-party app usually can't read it. Downloading profiles directly from your app also needs carrier privileges, which is why most non-carrier apps hand off to system settings or an activation link instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;iOS.&lt;/strong&gt; CoreTelephony has &lt;strong&gt;CTCellularPlanProvisioning&lt;/strong&gt;, but in-app plan installation is gated behind a carrier entitlement that Apple grants case by case. Without it, most apps rely on Apple's eSIM setup link or a QR code. Check Apple's current documentation for which checks are available to your app without that entitlement before you design around them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Neither platform tells you about carrier locks.&lt;/strong&gt; A phone can have a working eUICC and still refuse a profile from a different provider because it's locked to its original operator. You generally can't detect this from an app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The practical takeaway: in a native app, you can usually confirm "this device has an eSIM chip" on Android, and narrow things down on iOS. You still can't confirm "this specific profile will install and connect".&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Let the customer prove it in ten seconds
&lt;/h2&gt;

&lt;p&gt;The most reliable compatibility check is often one the customer does themselves, as long as you make it fast:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dial *#06#.&lt;/strong&gt; On many eSIM-capable phones, this shows an EID alongside the IMEI. If there's an EID, the phone has an eUICC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look in settings.&lt;/strong&gt; On iPhone, an "Add eSIM" option under Settings and then Cellular (or Mobile Data) is a strong sign. On Android, the equivalent usually lives under the SIM or network settings, though menu names vary by manufacturer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capture the answer.&lt;/strong&gt; Store "customer confirmed EID present" or "customer selected model X" with the order. When a ticket comes in later, support doesn't have to start from zero.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you do get an EID (typed by the customer or read by a privileged app), keep it with the order. It identifies the eUICC, helps your supplier trace a stuck profile, and tells support immediately that compatibility wasn't the problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Maintain a device allow-list, and treat it as data
&lt;/h2&gt;

&lt;p&gt;Most teams end up with a list of supported models. It works if you treat it as living data, not a page someone wrote once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key it by model and region, not just marketing name.&lt;/strong&gt; The same phone name can ship in regional variants that differ on eSIM support. Some markets have models without eSIM at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source it from more than one place.&lt;/strong&gt; Manufacturer spec pages, your supplier's compatibility list and your own activation data. When a model shows repeated "installed but can't connect" or "can't add eSIM" tickets, review its entry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version it.&lt;/strong&gt; Store which version of the list a customer saw at checkout. When someone disputes a refund, you can see what you told them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expose it as an API, not only a web page.&lt;/strong&gt; Your checkout, your app and your support tooling should read the same list. Three copies drift apart within a quarter.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Write the "not sure" path on purpose
&lt;/h2&gt;

&lt;p&gt;Some customers won't know their model, won't dial a code and won't open settings. Design for them instead of hoping they don't exist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add a visible "Not sure if your phone supports eSIM?" link right at plan selection, opening a short check (the dial code, the settings path, and a model search box).&lt;/li&gt;
&lt;li&gt;Say the carrier-lock caveat in plain words: "Your phone also needs to be unlocked. If you bought it from a carrier on contract, check with them first."&lt;/li&gt;
&lt;li&gt;Make the refund rule clear before payment, for example that an eSIM which hasn't been installed can be refunded. Customers who trust the refund path are less likely to open a ticket in a panic.&lt;/li&gt;
&lt;li&gt;Don't block checkout on an unknown answer. Let them continue, but flag the order so you can send an extra check before travel.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  6. Why this matters for support load
&lt;/h2&gt;

&lt;p&gt;Compatibility problems are some of the cheapest activation failures to prevent and some of the most expensive to fix afterwards. Once a customer is at the airport with a plan their phone can't use, your options are a refund and an apology. Before checkout, it's a ten-second question.&lt;/p&gt;

&lt;p&gt;A good setup usually looks like this: a hint from the browser or app pre-fills the model, the customer confirms it with a quick check, the allow-list makes the call, the answer is stored with the order, and anything uncertain gets a reminder before the trip. Track compatibility-related tickets as their own category so you can see whether changes to the flow actually reduce them.&lt;/p&gt;

&lt;h2&gt;
  
  
  About One-eSIM
&lt;/h2&gt;

&lt;p&gt;I work on One-eSIM, a B2B platform that lets travel, fintech and telecom brands launch their own branded eSIM through a white-label webshop or an API embed, with a management portal and support tooling behind it. If you're designing checkout and activation flows like the one above, you can see how the pieces fit on our &lt;a href="https://www.1-esim.com/partner-solutions" rel="noopener noreferrer"&gt;partner solutions page&lt;/a&gt; or at &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;1-esim.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>webdev</category>
      <category>api</category>
      <category>ios</category>
    </item>
    <item>
      <title>When the eSIM Doesn't Connect: Designing the Activation-Failure Support Path in Your App</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 01 Nov 2026 08:10:39 +0000</pubDate>
      <link>https://dev.to/esimmonster/when-the-esim-doesnt-connect-designing-the-activation-failure-support-path-in-your-app-kh4</link>
      <guid>https://dev.to/esimmonster/when-the-esim-doesnt-connect-designing-the-activation-failure-support-path-in-your-app-kh4</guid>
      <description>&lt;p&gt;Most eSIM integrations are designed around the happy path: the user picks a plan, pays, scans a QR code or taps "Install", and lands abroad with data. Then the first support ticket arrives: "I installed the eSIM but it doesn't work." If your app has nothing to say at that moment, the user blames your brand, not the connectivity supplier behind it.&lt;br&gt;
This post is about designing that failure path on purpose: what you can check before purchase, which signals tell you where a profile actually is, the usual causes of "installed but no data", what to show in-app, what to log, and when to refund or re-issue automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Prevent the cheapest failures before checkout
&lt;/h2&gt;

&lt;p&gt;A surprising share of activation problems are really compatibility problems that were sold anyway. Before the user pays:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Check eSIM support on the device.&lt;/strong&gt; In a native app you have better options than on the web. Where you can read the device's EID (the eUICC identifier), store it with the order: it proves the device has an eUICC and helps support later. On the web you mostly can't detect eSIM support reliably, so fall back to a device allow-list plus a clear "How to check if my phone supports eSIM" step.- &lt;strong&gt;Warn about carrier locks.&lt;/strong&gt; A locked phone may have an eUICC and still refuse a third-party profile. You usually can't detect this, so say it plainly in the checkout copy.- &lt;strong&gt;Set expectations on timing.&lt;/strong&gt; Tell the user to install before travelling (on Wi-Fi), and to switch data to the eSIM line only on arrival.## 2. Track profile state from real signals, not from "the user clicked Install"
Your backend sees an order. The SM-DP+ (the server that prepares and delivers the eSIM profile) sees a download. The phone sees a profile that is installed, enabled or deleted. These are different states, and support needs all of them.
Under the GSMA consumer eSIM spec, the device sends notifications back to the SM-DP+ for events like install, enable, disable and delete. Whether you get those events depends on your connectivity supplier's API: many expose them as webhooks or as a profile-status endpoint. Model them explicitly:&lt;/li&gt;
&lt;li&gt;ORDERED - paid, profile reserved, activation code issued- DOWNLOADED / INSTALLED - the device fetched and installed the profile- ENABLED - the profile is active on the device- ATTACHED / IN_USE - the network has seen the line, or data usage has started (from usage records, if your supplier exposes them)- DELETED - removed from the device (important: many profiles can't be reinstalled after deletion)The gap that generates tickets is between INSTALLED and IN_USE. If a profile was installed hours ago, the user's trip start date has passed, and no usage has appeared, that's your trigger to reach out proactively instead of waiting for an angry email.
## 3. Know the usual causes of "installed but no data"
In practice, most cases fall into a short list, and almost all are device settings rather than network faults:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data roaming is off&lt;/strong&gt; on the eSIM line. Travel eSIMs usually connect as roaming, so this is the number-one cause.- &lt;strong&gt;The wrong line is selected for mobile data.&lt;/strong&gt; The profile is enabled, but the phone still uses the home SIM for data.- &lt;strong&gt;APN not set or wrong.&lt;/strong&gt; Most profiles set it automatically; some devices or plans need it entered manually.- &lt;strong&gt;Network selection.&lt;/strong&gt; Automatic selection picked a network the plan doesn't support; manual selection fixes it.- &lt;strong&gt;Not yet in the destination&lt;/strong&gt;, or the plan's validity window hasn't started.- &lt;strong&gt;Profile deleted&lt;/strong&gt; while "troubleshooting", which often turns a settings issue into a re-issue.Only after these does it make sense to escalate a genuine network or provisioning problem.
## 4. Put the troubleshooting inside the app
A help-center article is a fallback. A better pattern is a guided checklist inside the order screen, ordered by likelihood and specific to the platform:&lt;/li&gt;
&lt;li&gt;"Is data roaming turned on for this eSIM?" with the exact settings path for iOS and Android- "Is this eSIM selected for mobile data?"- "Are you in [destination] now?" with the plan's validity dates- A big "Don't delete the eSIM" warning, because that step is often irreversible- Only then: "Still not working? Contact support", with the order context pre-attachedBanks adding travel eSIM inside their apps follow the same idea: BBVA's announcement for its Italian app lists usage tracking, usage alerts, buying more data and contacting technical support side by side in the app (&lt;a href="https://www.bbva.com/en/innovation/bbva-expands-its-offering-in-italy-with-an-esim-service-integrated-into-the-banks-app/" rel="noopener noreferrer"&gt;BBVA's announcement&lt;/a&gt;). Support isn't a separate channel; it's part of the product screen.
## 5. Log what support will actually need
When a ticket reaches a human, they should not have to ask the user for screenshots of settings. Attach to every order:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ICCID&lt;/strong&gt; of the profile and &lt;strong&gt;EID&lt;/strong&gt; of the device (if captured)- Device model and OS version- Timestamps for order, profile download, install/enable notifications, and first usage- Last network or country seen, if your supplier exposes it- Which checklist steps the user already confirmed in-appTreat ICCID and EID as personal data: restrict access, and don't send them to analytics tools that don't need them.
## 6. Decide refund and re-issue rules before launch
Write the rules down as code, not as agent judgment:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never downloaded&lt;/strong&gt; and the trip hasn't started: refund automatically on request.- &lt;strong&gt;Downloaded, then deleted, no usage&lt;/strong&gt;: re-issue a new profile if your supplier allows it; otherwise refund per policy.- &lt;strong&gt;Installed, no usage, checklist completed, user in destination&lt;/strong&gt;: escalate to the supplier with the logged context, and offer a fallback (re-issue or refund) within a defined time.- &lt;strong&gt;Usage started&lt;/strong&gt;: it's a network or plan question, not an activation one; route it differently.Clear rules keep refunds predictable for finance and fast for the user, which matters most when they're standing in an airport.
## 7. Agree who owns tier 1 and tier 2
If you're a bank, travel app or MVNO reselling someone else's connectivity, settle this in the contract:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 1 (your brand):&lt;/strong&gt; in-app checklist, settings guidance, refund and re-issue decisions within policy.- &lt;strong&gt;Tier 2 (connectivity supplier):&lt;/strong&gt; profile state, provisioning faults, network attach problems, coverage issues.- &lt;strong&gt;The handoff:&lt;/strong&gt; which fields you send (ICCID, timestamps, country), the expected response time, and how the answer flows back to the user.Without this, the user gets bounced between "contact your eSIM provider" and "contact the app you bought it from".
## Wrapping up
Activation support is where an embedded eSIM either earns trust or loses it. The checklist is short: check compatibility before payment, track real profile state, guide the user through the common fixes in-app, log the identifiers support needs, automate refund and re-issue rules, and draw a clear line between your support and your supplier's.
If you're adding branded eSIM to a travel, mobility or fintech product and want the provisioning, portal and support layer handled for you, that's what we're building at One-eSIM: &lt;a href="https://www.1-esim.com/travel-mobility-fintech" rel="noopener noreferrer"&gt;One-eSIM for travel, mobility and fintech&lt;/a&gt;.
Disclosure: I work on One-eSIM (&lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;1-esim.com&lt;/a&gt;), a B2B eSIM platform.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>api</category>
      <category>mobile</category>
      <category>systemdesign</category>
      <category>ux</category>
    </item>
    <item>
      <title>One Install, Many Trips: Designing Reusable eSIM Profiles, Top-ups and Unused-Data Refunds</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 25 Oct 2026 08:15:20 +0000</pubDate>
      <link>https://dev.to/esimmonster/one-install-many-trips-designing-reusable-esim-profiles-top-ups-and-unused-data-refunds-3e95</link>
      <guid>https://dev.to/esimmonster/one-install-many-trips-designing-reusable-esim-profiles-top-ups-and-unused-data-refunds-3e95</guid>
      <description>&lt;p&gt;The first eSIM purchase in your app is the easy part. The interesting engineering starts on the second trip, when the customer already has a profile installed and just wants more data. In the last few weeks several financial apps have shipped travel eSIM with exactly this in mind: Wise in New Zealand announced plans with automatic refunds for unused data, and PostFinance in Switzerland and Erste Bank's George app in Austria both describe an eSIM you install once and reuse across trips. Whatever provider sits behind each of them, the product pattern is the same: one install, many trips.&lt;br&gt;
This article walks through the data model and event flow behind that pattern: reusable profiles, top-ups driven by usage, refunds for unused data, and several lines under one account. It assumes you're working with an eSIM provider's API and don't run any network infrastructure yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Separate the profile from the bundle
&lt;/h2&gt;

&lt;p&gt;The most common early mistake is modelling "an eSIM" as one purchase. It isn't. There are two different things with different lifecycles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Profile&lt;/strong&gt;: the installed SIM on the customer's device, identified by its ICCID. It's installed once and can live for months or years.- &lt;strong&gt;Bundle&lt;/strong&gt; (or package, or plan): a quantity of data for a region and a validity period, attached to a profile. A customer can buy many over time.A minimal schema looks like this:&lt;/li&gt;
&lt;li&gt;accounts: your customer, the person who pays.- lines: one row per profile, with account_id, iccid, a display name ("Dana's phone"), install status and the provider's profile reference.- bundles: line_id, product code, region, data allowance in bytes, validity in days, purchased_at, activated_at, expires_at, status, and the provider's order reference.- usage_snapshots: bundle_id, bytes used, observed_at, source (webhook or poll).- ledger_entries: every charge, refund and credit, linked to a bundle.With this split, "buy more data" becomes "create a bundle on an existing line" and never triggers a new QR code. Before showing a second QR code to anyone, check whether the customer already has an installed line that supports the destination.
## 2. Decide when a bundle counts as started
Providers differ on when the validity clock starts. Common options are: at purchase, at first network attach in the covered country, or at first data usage. Your app needs to know which applies to each product, because it drives three things: what you show the customer ("valid 7 days from first use"), when you can safely sell another bundle on the same line, and whether a refund is still possible.
Store the rule per product, not as a global constant. Then compute bundle state from events rather than flags:&lt;/li&gt;
&lt;li&gt;purchased: paid, not yet active.- active: provider reports activation or first usage.- depleted: usage reached the allowance.- expired: validity ended with data left over.- refunded or partially_refunded: money went back.If a line holds several bundles, also decide on ordering. Most providers consume the oldest active bundle first, but confirm it, because it changes how you display "data remaining".
## 3. Drive top-ups from usage events
Top-ups convert best when they're offered at the moment of need. That means reacting to usage, not to a calendar. Two sources are typical:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webhooks&lt;/strong&gt; for thresholds (for example 80% and 100% used) and for activation and expiry.- &lt;strong&gt;Polling&lt;/strong&gt; the usage endpoint as a fallback, because webhooks get delayed or dropped.Treat every incoming event as a snapshot, not a delta. Write it to usage_snapshots, make the handler idempotent on the provider's event id, and recompute the bundle state from the latest snapshot. Usage counters from networks can lag by minutes to hours, so never assume the number is real time; say "about" in the UI.
Then define your triggers in one place:&lt;/li&gt;
&lt;li&gt;At 80% used with more than a day of validity left, send an in-app notification with a one-tap top-up for the same region.- At 100% used, show the top-up as the first thing on the eSIM screen, using the stored payment method.- If a bundle expires with the customer still in the country (you can infer this from recent usage), offer a short extension rather than a full new plan.Keep the rule engine boring: a table of conditions and actions, evaluated after each state recompute, with a cooldown per line so nobody gets three notifications in an hour.
## 4. Refunds for unused data need reconciliation
A refund-for-unused-data promise sounds simple and is mostly accounting. Before you offer one, answer these questions with your provider and your finance team:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What is "unused"?&lt;/strong&gt; A bundle never activated is easy. A bundle that expired at 40% used is a policy choice: pro-rata, fixed tiers, or nothing.- &lt;strong&gt;Which number is authoritative?&lt;/strong&gt; Your snapshots may lag. Refund on the provider's final usage figure after expiry, not on the last webhook you happened to receive.- &lt;strong&gt;When is it final?&lt;/strong&gt; Wait a settlement window after expires_at (ask the provider how late usage records can arrive) before calculating.- &lt;strong&gt;What does it cost you?&lt;/strong&gt; Check whether the provider credits you for unused data. If not, every refund comes out of your margin, so price accordingly.Implement it as a scheduled job that picks up expired bundles past the settlement window, fetches final usage, calculates the amount under the product's policy, and writes a ledger_entries row before calling the payment provider. The ledger row is the source of truth for support and reporting; the payment call can be retried.
## 5. Several lines under one account
Families and small teams travel together, and one payer with several phones is a natural extension. The accounts/lines split already supports it. What you add is:&lt;/li&gt;
&lt;li&gt;A way to send an install link to another person's device without exposing the payer's login.- Per-line notifications routed to the line holder, with billing notifications to the payer.- Optional spend caps per line, enforced in your top-up flow before you call the provider.Be explicit in the UI about which line a top-up is for. "Top up Dana's phone" prevents most of the support tickets this feature can create.
## 6. Plan for the support path
When a reused profile doesn't connect on the second trip, the customer contacts you, not the network. Give your support team a single view per line: profile status, every bundle with its state and usage history, the last events received, and the ledger. Most tickets ("I bought data but it doesn't work") are answered by checking whether the new bundle is active, whether data roaming is on for that line, and whether the right line is selected for mobile data.
## Checklist&lt;/li&gt;
&lt;li&gt;Profiles and bundles are separate entities.- Validity rules are stored per product.- Bundle state is computed from idempotent usage snapshots.- Top-up triggers live in one rule table with cooldowns.- Refunds run after a settlement window, from final provider usage, through a ledger.- Multi-line accounts route notifications and spend caps per line.## Where One-eSIM fits
Disclosure: I work on &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;One-eSIM&lt;/a&gt;, a B2B platform that handles the telecom side of this (connectivity supply, provisioning, top-ups, lifecycle events, support tooling and analytics) through an API or a white-label storefront. If you're adding reusable travel eSIM to a fintech, travel or mobility app, the &lt;a href="https://www.1-esim.com/travel-mobility-fintech" rel="noopener noreferrer"&gt;travel, mobility and fintech page&lt;/a&gt; explains how that works. Happy to answer questions in the comments, including if you're building it all yourself.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>api</category>
      <category>backend</category>
      <category>systemdesign</category>
      <category>fintech</category>
    </item>
    <item>
      <title>eSIM Glossary for Developers: SM-DP+, LPA, ICCID, EID and Activation Codes Explained</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sun, 18 Oct 2026 07:16:00 +0000</pubDate>
      <link>https://dev.to/esimmonster/esim-glossary-for-developers-sm-dp-lpa-iccid-eid-and-activation-codes-explained-56c6</link>
      <guid>https://dev.to/esimmonster/esim-glossary-for-developers-sm-dp-lpa-iccid-eid-and-activation-codes-explained-56c6</guid>
      <description>&lt;p&gt;If you're adding eSIM to a travel, banking or mobility app, the first week usually goes to vocabulary. Provider docs mention SM-DP+, LPA, ICCID, EID, matching IDs and profile states as if everyone already knows them. This glossary explains each term in plain language and, more importantly, what it means for your integration: what to store, what to show the customer, and where things tend to break.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hardware and the "SIM" itself
&lt;/h2&gt;

&lt;h3&gt;
  
  
  eUICC
&lt;/h3&gt;

&lt;p&gt;The embedded chip inside the phone that replaces the plastic SIM. Unlike a physical SIM, it can hold several operator profiles at once and download new ones over the air.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; you never talk to the eUICC directly. The phone's operating system does. Your job is to deliver a profile in a form the OS can install.&lt;/p&gt;

&lt;h3&gt;
  
  
  Profile
&lt;/h3&gt;

&lt;p&gt;The downloadable "SIM": the operator credentials, network settings and identifiers that used to live on a plastic card. When a customer "buys an eSIM", they're really getting a profile installed on their eUICC.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; one profile can usually carry many data bundles over time. Banks like N26 and Santander advertise exactly this in their apps: install once, then buy more data for each trip. Design your data model so a customer has one profile and many bundles, not one eSIM per purchase.&lt;/p&gt;

&lt;h3&gt;
  
  
  EID
&lt;/h3&gt;

&lt;p&gt;The eUICC Identifier, a 32-digit number that identifies the chip itself. Users can find it in their phone's settings. It belongs to the device, not to a plan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; you only need the EID if your provider supports device-bound delivery (pushing a profile to a known device) or if support needs to confirm which phone a profile was sent to. Treat it as personal data.&lt;/p&gt;

&lt;h3&gt;
  
  
  ICCID
&lt;/h3&gt;

&lt;p&gt;The Integrated Circuit Card Identifier, usually 19 or 20 digits and starting with 89. It identifies the profile, the same way the number printed on a plastic SIM did.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; this is the most important ID you'll store. Link the ICCID to your customer, order and booking. Almost every provider call after purchase (usage, top-up, status, refund) is keyed on it, and it's the first thing a support agent needs.&lt;/p&gt;

&lt;h3&gt;
  
  
  IMSI and MSISDN
&lt;/h3&gt;

&lt;p&gt;The IMSI is the subscriber identity the mobile network uses internally. The MSISDN is the phone number. Most travel eSIMs are data-only and have no usable phone number, which surprises customers who expect to receive SMS on them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; say "data only" clearly at checkout if that's what you sell. It prevents a lot of tickets.&lt;/p&gt;

&lt;h2&gt;
  
  
  The servers behind provisioning
&lt;/h2&gt;

&lt;h3&gt;
  
  
  SM-DP+
&lt;/h3&gt;

&lt;p&gt;Subscription Manager Data Preparation (the "+" marks the consumer version). This is the server that prepares, stores and securely delivers profiles to devices. When an order is placed, a profile is reserved on an SM-DP+ and waits there until the phone downloads it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; you rarely run one yourself. Your connectivity provider does. What you get back from an order is the SM-DP+ address and a matching ID, usually combined into an activation code.&lt;/p&gt;

&lt;h3&gt;
  
  
  SM-DS
&lt;/h3&gt;

&lt;p&gt;Subscription Manager Discovery Server. It lets a phone find a profile waiting for it without the user entering a code, as long as the profile was linked to that device's EID.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; it's useful for "it just appears" experiences, but support for it varies by provider and device. Most travel flows still rely on activation codes.&lt;/p&gt;

&lt;h3&gt;
  
  
  GSMA SGP.22 and SGP.32
&lt;/h3&gt;

&lt;p&gt;The GSMA specifications behind all of this. SGP.22 covers consumer devices like phones, tablets and watches. SGP.32 covers IoT devices that have no screen or user. If you sell to travellers, SGP.22 is the one that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  On the device
&lt;/h2&gt;

&lt;h3&gt;
  
  
  LPA
&lt;/h3&gt;

&lt;p&gt;The Local Profile Assistant: the software on the phone that downloads, installs, enables, disables and deletes profiles. On iPhone and most Android phones, it's built into the system settings ("Add eSIM", "Add mobile plan").&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; the LPA is why your install instructions must be specific to each platform. The menu names, the order of steps and the options for installing from a link or from inside an app differ between iOS and Android, and between OS versions. Check current platform documentation instead of hard-coding screenshots that will go out of date.&lt;/p&gt;

&lt;h3&gt;
  
  
  Activation code
&lt;/h3&gt;

&lt;p&gt;The string that tells the LPA where to fetch the profile. It usually looks like LPA:1$smdp.example.com$ABCD-1234-EFGH, which breaks down as the format version, the SM-DP+ address, and the matching ID. A QR code is just this string encoded as an image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; show both the QR code and the copyable text, plus a one-tap install link where the platform supports it. A customer who opens your email on the same phone they need to scan with can't scan a QR code.&lt;/p&gt;

&lt;h3&gt;
  
  
  Matching ID
&lt;/h3&gt;

&lt;p&gt;The part of the activation code that identifies one specific order on the SM-DP+. It's effectively a one-time voucher.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; treat it like a secret. Anyone with the full code can try to download the profile first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Confirmation code
&lt;/h3&gt;

&lt;p&gt;An optional extra PIN some providers require on top of the activation code. If yours does, deliver it through a separate channel or at least a separate step, and tell the user they'll be asked for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lifecycle terms
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Profile states
&lt;/h3&gt;

&lt;p&gt;Providers describe the same journey with slightly different names, but it usually runs: released (ready on the SM-DP+), downloaded, installed, enabled, and later disabled or deleted. Bundles have their own states, such as not started, active, depleted and expired.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; subscribe to state-change webhooks if your provider offers them, and store the latest state per ICCID. "Was it ever installed?" is the first question in almost every support case, and you should be able to answer it without asking the customer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Re-download and deletion
&lt;/h3&gt;

&lt;p&gt;With many providers, a profile can be downloaded only once. If the customer deletes it from their phone, the profile may be gone, and a new one has to be issued. Policies vary, so check yours.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; warn customers inside the app before they remove an eSIM, and build a clear "reissue" path for support agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Activation policy
&lt;/h3&gt;

&lt;p&gt;Many travel bundles start counting validity only when the phone first connects to a network in the destination, not at purchase or install. Starling's and N26's public descriptions of their eSIM plans both mention plans activating automatically on arrival.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; encourage installing before the trip (while the customer has Wi-Fi) and make it clear that the clock starts on arrival. That single message removes a common source of refund requests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Data roaming and the data line
&lt;/h3&gt;

&lt;p&gt;Because a travel profile's home network is usually not in the destination country, the phone treats it as roaming. If data roaming is off on that line, or the phone is still using the home SIM for data, nothing works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; most "it's not connecting" tickets come down to these two settings. Put a three-step check in the app (correct line selected for data, data roaming on for that line, restart if needed) before the "contact support" button.&lt;/p&gt;

&lt;h3&gt;
  
  
  Top-up
&lt;/h3&gt;

&lt;p&gt;Adding a new bundle to an existing profile. No new QR code, no reinstall.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For your integration:&lt;/strong&gt; top-ups are where repeat revenue comes from. Trigger the offer from a low-data webhook or usage check, and make it one tap using the customer's saved payment method.&lt;/p&gt;

&lt;h2&gt;
  
  
  A minimal data model
&lt;/h2&gt;

&lt;p&gt;If you only take one thing from this glossary, store these fields per customer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ICCID, with the order and booking it came from&lt;/li&gt;
&lt;li&gt;Profile state and the time it last changed&lt;/li&gt;
&lt;li&gt;Bundles linked to the ICCID, each with its country or region, size, validity, state and remaining data&lt;/li&gt;
&lt;li&gt;The activation code (stored securely) and when it was delivered&lt;/li&gt;
&lt;li&gt;EID, only if your provider uses it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With that in place, support, top-ups and reporting (activation rate, attach rate, revenue per market) all become queries rather than investigations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where One-eSIM fits
&lt;/h2&gt;

&lt;p&gt;Disclosure: I work on &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;One-eSIM&lt;/a&gt;, a B2B platform that handles the telecom side of this (connectivity supply, provisioning, lifecycle, top-ups, support tooling and analytics) through a white-label storefront or an API, so your team can focus on the customer experience. If you're building eSIM into a travel, mobility or fintech product, the &lt;a href="https://www.1-esim.com/travel-mobility-fintech" rel="noopener noreferrer"&gt;travel, mobility and fintech page&lt;/a&gt; explains how that works. I'm happy to answer questions in the comments, including if you're building it all yourself.&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>api</category>
      <category>beginners</category>
      <category>networking</category>
    </item>
    <item>
      <title>How to Embed eSIM Data Into a Travel or Fintech App (Without Becoming a Telco)</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Thu, 15 Oct 2026 17:33:43 +0000</pubDate>
      <link>https://dev.to/esimmonster/how-to-embed-esim-data-into-a-travel-or-fintech-app-without-becoming-a-telco-4o7n</link>
      <guid>https://dev.to/esimmonster/how-to-embed-esim-data-into-a-travel-or-fintech-app-without-becoming-a-telco-4o7n</guid>
      <description>&lt;p&gt;Travellers already open your app before a trip to book a flight, pay for a hotel, or check a loyalty balance. Mobile data abroad is the one thing they still go somewhere else for. That makes it an obvious product to add, and more travel, mobility and fintech teams are trying it.&lt;br&gt;
The catch is that an eSIM looks simple from the outside. It's a QR code. Underneath, it's a telecom product with supply, provisioning, lifecycle and support problems. This post walks through what it actually takes to embed eSIM data into an existing app, and the build choices you have.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when a customer buys an eSIM
&lt;/h2&gt;

&lt;p&gt;From the customer's side, buying an eSIM takes about thirty seconds. Behind that, a few systems have to work together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Connectivity supply.&lt;/strong&gt; Someone has to own data capacity in the destination country, through an operator or a roaming agreement, at a price that leaves you a margin.- &lt;strong&gt;Provisioning.&lt;/strong&gt; An eSIM profile is generated and assigned on an SM-DP+ server (the system that securely delivers eSIM profiles to devices), then delivered as a QR code or an activation link.- &lt;strong&gt;Activation.&lt;/strong&gt; The customer installs the profile, switches data to it, and turns on roaming. This step causes most support tickets.- &lt;strong&gt;Lifecycle.&lt;/strong&gt; Usage tracking, low-data alerts, top-ups, expiry, and refunds.- &lt;strong&gt;Support.&lt;/strong&gt; "It's not connecting" at 2 a.m. in another time zone.If you only build the checkout, you still own every one of these problems. Your customers just blame your brand for them.
## Three ways to add eSIM to your product
### 1. Redirect to a partner's store
The fastest option is an affiliate link or a partner-branded store. It takes almost no engineering. But you give away the customer relationship, the data, and most of the margin. That's fine for a test, but weak as a product.
### 2. White-label storefront
A storefront under your brand with your bundle catalogue, checkout, payments, QR delivery and onboarding pages. The customer stays with you and you control pricing. Integration is light, usually a subdomain or a link from inside your app.
### 3. API-embedded eSIM
The deepest option. eSIM offers appear inside the existing journey: a "Add 5 GB for Japan" option on the flight confirmation page, or a data bundle as a card or loyalty perk. This converts best because the offer appears at the moment of need. It also takes the most engineering.
## A reference architecture for the API approach
Here's a simplified flow for adding eSIM to a booking confirmation:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offer.&lt;/strong&gt; When a booking is confirmed, your backend calls a catalogue endpoint with the destination country and trip dates, and gets back matching bundles with prices.- &lt;strong&gt;Purchase.&lt;/strong&gt; Payment goes through your existing payment flow. On success, your backend calls an order endpoint with an idempotency key, so a retry never creates two eSIMs.- &lt;strong&gt;Delivery.&lt;/strong&gt; The order returns an activation code or QR. Show it in the app and send it by email. Install instructions should be specific to the device platform.- &lt;strong&gt;Lifecycle events.&lt;/strong&gt; Subscribe to webhooks for installed, activated, low data, and expired. These drive push notifications and top-up prompts.- &lt;strong&gt;Top-up.&lt;/strong&gt; A low-data event triggers a one-tap top-up offer in your app. This is where a lot of the revenue comes from.- &lt;strong&gt;Support.&lt;/strong&gt; Pass the order and device status to your support tool, so agents can see whether a profile was ever installed before they ask the customer to reinstall.Some practical notes from this kind of build:&lt;/li&gt;
&lt;li&gt;Treat the order endpoint as non-idempotent unless the provider says otherwise, and always send your own idempotency key.- Store the ICCID (the eSIM's unique ID) against your customer and booking. It's your key for every support and lifecycle call.- Don't make activation the customer's problem. Most failed activations come from roaming being off or the wrong data line being selected. A short in-app checklist cuts tickets a lot.- Price in local currency and show data and validity clearly. "5 GB / 30 days" sells better than plan names.## Where teams usually get stuck
The API call is the easy part. The hard parts are:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coverage and supply.&lt;/strong&gt; Negotiating with operators country by country takes months.- &lt;strong&gt;Margins.&lt;/strong&gt; You need per-market control over cost, price and partner share.- &lt;strong&gt;Operations.&lt;/strong&gt; Refunds, failed installs, and top-ups all need tooling, not spreadsheets.- &lt;strong&gt;Analytics.&lt;/strong&gt; You need to know activation rate, attach rate per booking, and revenue per market, or you can't tell whether this is working.This is why many teams use a platform for the telecom side and keep the customer experience for themselves.
## How One-eSIM fits in
Disclosure: I work on &lt;a href="https://www.1-esim.com/" rel="noopener noreferrer"&gt;One-eSIM&lt;/a&gt;. It's a cloud platform for this exact problem. It includes a connectivity marketplace with multi-region supply under one set of commercial terms, a white-label webshop engine, an API layer for embedding eSIM into booking, payment and loyalty journeys, a management portal for pricing and margins, AI-assisted support and top-up flows, and real-time analytics. The brand keeps the customer relationship.
If you're working on this for a travel, mobility or fintech product, the &lt;a href="https://www.1-esim.com/partner-solutions" rel="noopener noreferrer"&gt;platform overview&lt;/a&gt; lays out the deployment models. I'm also happy to answer questions in the comments, including if you're building it yourself.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>api</category>
      <category>architecture</category>
      <category>travel</category>
      <category>fintech</category>
    </item>
  </channel>
</rss>
