← cartapi.io blog

SM-DP+ address and activation code, explained

Published 2026-11-20 · Last updated 2026-11-20 · 6 min read · eSIM setup
TL;DR

The SM-DP+ address is the server that holds your eSIM profile; the activation code (also called the matching ID) tells that server which profile is yours. An eSIM QR code is just those two joined into one string: LPA:1$<SM-DP+ address>$<activation code>. For manual install, type the part between the first and second $ as the SM-DP+ address and the part after the second $ as the activation code. Most codes work once, so install on the phone that will use the plan.

Every travel eSIM email has a QR code and, usually, two strings labelled "SM-DP+ address" and "activation code". This page explains what they are, how to read them off the QR string when the camera won't cooperate, why a code that worked yesterday fails today, and, for developers, how to deliver them.

What the SM-DP+ address is

SM-DP+ stands for Subscription Manager Data Preparation. The plus marks the consumer version of the GSMA's remote provisioning architecture, which the GSMA maintains as SGP.22 for consumer devices. In practice the SM-DP+ is a server run by or for your eSIM provider. It stores prepared eSIM profiles and releases one to a device that authenticates with a valid code.

The address is a plain domain name, like rsp.truphone.com. On its own it doesn't install anything. What makes the install yours is the activation code.

Reading an LPA:1$ string, field by field

Decode an eSIM QR code and you get text like this public test code from the Osmocom eUICC manual:

LPA:1$rsp.truphone.com$QRF-SPEEDTEST

The fields are separated by dollar signs:

FieldExampleWhat it means
LPA:LPA:Prefix added when the string is printed as a QR code. Not typed in manual entry.
Format version1Always 1. Phones treat any other value as invalid.
SM-DP+ addressrsp.truphone.comThe server to contact. Goes in the "SM-DP+ address" field.
Activation code (matching ID)QRF-SPEEDTESTIdentifies your order. Uppercase letters, digits and hyphens. Goes in the "activation code" field.
SM-DP+ OID (optional)usually emptyPins the certificate the server must present.
Confirmation flag (optional)1 if presentMeans a separate confirmation code is needed too.

The whole string is capped at 255 characters. If your provider's email gives you only the QR, you can still install manually by reading the text from it with any QR reader app.

Manual install: what to type where

  1. Open your phone's add-eSIM screen and choose the option to enter details manually instead of scanning. The menu paths are in our iPhone and Android activation guide.
  2. SM-DP+ address: the domain only, for example rsp.truphone.com. No https://, no LPA:1$, no dollar signs.
  3. Activation code: the matching ID only, for example QRF-SPEEDTEST. Codes have no lowercase letters, so watch for O versus 0 and I versus 1.
  4. Confirmation code: only if the phone asks for it. The provider sends it separately.
  5. Connect to Wi-Fi first. The phone has to reach the SM-DP+ server to download the profile.

A common mix-up: some providers label the whole LPA:1$… string "activation code" (one of our own suppliers' APIs does). If a phone's activation-code field rejects it, paste only the part after the second dollar sign, and put the domain in the SM-DP+ field.

Why the code fails, and what to do

SymptomLikely causeFix
Can't connect, times outWrong or mistyped SM-DP+ address, or no internetCheck the domain, connect to Wi-Fi, try again
Rejected straight awayMistyped activation code; the server has no matching orderRe-enter it, checking lookalike characters
"Already used" or no longer validThe profile was downloaded before, maybe on another deviceAsk the provider to reissue; retrying won't help
Asks for a confirmation code you don't haveThe provider set the confirmation flagFind the separate code in your email or account

The "already used" case is the one that costs people a plan. eSIM Radar's explainer puts it plainly: the server hands the profile to the first device that asks with a valid code, and there is no second copy. Don't post a QR code in a group chat, and don't scan it on a phone you're only testing with. If you're buying for someone else, see how to hand over an eSIM safely.

One-tap install links

Newer phones can install from a link instead of a camera. The Osmocom manual documents both formats, which wrap the same LPA string:

https://esimsetup.apple.com/esim_qrcode_provisioning?carddata=LPA:1$rsp.truphone.com$QRF-SPEEDTEST
https://esimsetup.android.com/esim_qrcode_provisioning?carddata=LPA:1$rsp.truphone.com$QRF-SPEEDTEST

The Apple link needs iOS or iPadOS 17.5 or later. The Android link needs Google Play services 25.14.34 or later, released after 20 April 2025. On older phones, fall back to the QR or manual entry. A link is still a single-use credential, so the same sharing rules apply.

For developers: delivering the install payload

If you sell eSIMs, your supplier gives you some mix of a full LPA string, a split SM-DP+ address and matching ID, and a QR image URL. Normalise all of them to one shape and deliver every form, because each one rescues a different user:

cartapi's delivery email includes the QR image and the SM-DP+ address and activation code as separate fields, plus an iOS install link when the supplier provides one, and an agent can fetch the same payload with get_order_status. For the supplier side, see eSIM APIs for developers, compared.

Frequently asked questions

What is an SM-DP+ address?

The domain of the server that holds your eSIM profile, like rsp.truphone.com. Your phone downloads the profile from it when it presents a valid activation code.

What is the eSIM activation code?

For manual entry, the matching ID after the second $. In a QR code, the whole LPA:1$… string.

Can I use the same code twice?

Usually not. Once downloaded, the code is spent. Ask the provider to reissue it.

What is a confirmation code?

An optional second code some providers require, sent separately, so the QR alone can't install the plan.

Can I install without scanning a QR?

Yes: type the two fields in manually, or tap a one-tap link on iOS 17.5+ or a recent Android.

Should I share my eSIM QR code?

Only with the person installing it. Whoever scans it first gets the profile.

Try it

Need an eSIM for a trip? Add cartapi to your assistant from the install page and ask for a plan; the QR and manual fields arrive by email after you pay on Stripe. Building a store or an agent? Start with the docs.

About the author

Roc Chow

Roc Chow builds cartapi, the commerce layer for AI agents, and runs . The string format and install links here are linked to their sources above; the delivery details come from cartapi's fulfilment code.

LinkedIn · · cartapi.io