In this article
Learn the six renewal notifications sent to your callback URL for monthly plans, so you can fund renewals on time and keep your customers' plans running. You'll also learn what a normal month looks like, the payload fields and how to handle failures.
Before you start
These notifications apply to the new recurring monthly plans only. See Understanding the new recurring monthly plans. To receive them, you need a callback URL configured against your organisation. See Callback URL and notifications.
All six use the same payload shape, so you only need to write one parser and switch on the alertType field.
The six notifications
alertType |
What it means |
What to do |
|---|---|---|
BundleRenewalScheduled |
The next renewal has been dated. Tells you when we will debit your balance, and how much. |
Nothing. Use it to forecast committed spend. |
BundleRenewalUpcoming |
A renewal is due. Sent at 48 hours, 24 hours and 1 hour beforehand. |
Check action.required. If it is top_up, fund your balance. |
BundleRenewalAwaitingTopUp |
The charge was attempted and your balance did not cover it. |
Top up before action.byTime. |
BundleRenewalSucceeded |
The renewal completed and your balance was debited. |
Reconcile against your ledger. |
BundleRenewalFailed |
The renewal could not be delivered. The charge has been refunded. |
Nothing financially. Raise it with us. |
BundleRenewalLapsed |
The renewal window closed unfunded. Auto-renewal has ended for this eSIM. |
Mark the arrangement inactive. Re-enabling it needs a new arrangement. |
What a normal month looks like
Each month, you'll get five notifications: BundleRenewalUpcoming three times (48 hours, 24 hours and 1 hour beforehand), then BundleRenewalSucceeded and BundleRenewalScheduled. The succeeded and scheduled notifications arrive within minutes of each other. The reminders are spread over the two days before.
BundleRenewalSucceeded does not carry the new expiry date. BundleRenewalScheduled reports it, so hold the previous value until it arrives.
When the charge is taken
The charge is taken shortly before the current plan expires, so funding problems appear while your customer still has service. For a plan expiring at 09:20:
Time |
What happens |
|---|---|
09:00 |
The charge is attempted, 20 minutes before expiry. |
09:19:50 |
The new plan is assigned. |
09:20 |
The old plan expires. |
15:20 |
If the charge could not be taken, the top-up window closes. |
All times in this timeline are UTC. See When does a monthly plan renew?
The reminder leads are measured from the charge time, not the expiry. For the renewal above, the 1 hour reminder is sent at 08:00. If your balance is short, the reminder carries action.required: "top_up", along with the shortfall and the deadline. Topping up before the charge lets the renewal go through.
Tip: Act on a BundleRenewalUpcoming reminder that carries action.required: "top_up". Topping up before the charge lets the renewal go through, so your customer keeps their service and you avoid a lapse that needs a new arrangement.
If the balance doesn't cover the renewal
- You receive BundleRenewalAwaitingTopUp.
- Fund your account before action.byTime, which is the plan expiry plus six hours. Top up your balance (GBP) in the UK MVNO Portal or with POST /organisation/balance (https://domestic-uk.docs.esim-go.com/api/v2_5/). We keep re-checking your balance quietly during that window.
- If the deadline passes unfunded, you receive BundleRenewalLapsed and auto-renewal ends for this eSIM.
The 6-hour top-up window runs until plan expiry plus 6 hours (action.byTime).
Topping up after a lapse does not restart auto-renewal. You will need to create a fresh arrangement through the management API. You will always get either a BundleRenewalSucceeded or a BundleRenewalLapsed to close out an AwaitingTopUp.
We recommend building these notifications into your own alerting and setting a balance alert or an auto top-up threshold above your expected renewals. See Monitoring your balance (alerts, notifications and API) and Auto top-ups.
Your balance is held at organisation level, not per eSIM, so one funding gap affects every renewal that is due. Each renewal sends its own notification, so you could receive hundreds within minutes. Aggregate them before you alert anyone.
If a renewal fails
The charge has already been refunded before the BundleRenewalFailed notification arrives. Service stops when the current plan expires. The outcome.code is one of:
- delivery_failed: the plan could not be assigned.
- charge_orphaned: the charge was taken but stranded before delivery, and has since been refunded.
Suppress any rebilling of your own for that cycle and raise it on the support request form (https://help.esim-go.com/hc/en-gb/requests/new). If you see a run of these across multiple eSIMs, report it straight away.
Payload example
This example is a BundleRenewalAwaitingTopUp.
{
"alertType": "BundleRenewalAwaitingTopUp",
"iccid": "8944538532008160000",
"renewal": {
"id": "9c1f4e2a-2f4d-4f0e-9a3b-6d0c5c9a1e77",
"subscriptionId": "00000000-0000-4000-8000-000000000000",
"number": 4,
"total": 6,
"remaining": 3,
"occurredAt": "2026-08-09T09:00:11Z",
"dueAt": "2026-08-09T09:00:00Z"
},
"charge": {
"amount": "9.99",
"minorUnits": 999,
"currency": "GBP",
"status": "not_taken"
},
"bundle": { "name": "domp_1GB_ULSMS_ULMIN_1M_V1" },
"outcome": {
"code": "insufficient_balance",
"message": "Organisation balance insufficient to renew this bundle."
},
"action": {
"required": "top_up",
"byTime": "2026-08-09T15:20:00Z",
"shortfallAtCheck": { "amount": "5.01", "minorUnits": 501, "currency": "GBP" }
}
}
The subscriptionId is a placeholder value.
Fields
Field |
Meaning |
|---|---|
renewal.id |
Unique ID for this renewal. Use it to deduplicate. |
renewal.subscriptionId |
Subscription ID. The same for every renewal of the eSIM's subscription. |
renewal.number |
Position of this renewal in the sequence. |
renewal.total |
The renewal cap, or null if the plan renews indefinitely. |
renewal.remaining |
Renewals still to come, or null if uncapped. |
renewal.occurredAt, renewal.dueAt |
Times in UTC. dueAt is the renewal's scheduled charge time. |
action.byTime |
The top-up deadline (UTC). Only present when action.required is top_up. |
action.required |
none or top_up. |
action.shortfallAtCheck |
How short the balance was. Advisory. |
charge.amount |
Decimal string. |
charge.minorUnits |
The same amount in minor units, as an integer. |
charge.currency |
Your organisation's currency. |
charge.status |
charged, refunded, not_taken or pending. |
reminder.leadHours |
On BundleRenewalUpcoming only. 48, 24 or 1. |
outcome.code |
Branch on this. |
outcome.message |
Human-readable text for your logs. Do not branch on it. |
Expected values by notification
alertType |
outcome.code |
charge.status |
action.required |
|---|---|---|---|
BundleRenewalScheduled |
scheduled |
pending |
none |
BundleRenewalUpcoming |
upcoming |
pending |
none or top_up |
BundleRenewalAwaitingTopUp |
insufficient_balance |
not_taken |
top_up |
BundleRenewalSucceeded |
renewed |
charged |
none |
BundleRenewalFailed |
delivery_failed or charge_orphaned |
refunded |
none |
BundleRenewalLapsed |
payment_missed |
not_taken |
none |
Things to know
- outcome.code stays upcoming on a reminder even when your balance is short. The demand is in action.required.
- charge.amount is what we debit you. It has no relationship to what you charge your customer, and these messages are not written for end users.
- Amounts are strings to prevent float rounding. Use minorUnits for integer arithmetic.
- remaining is not always total minus number, because the cap counts delivered renewals. Where the two disagree, trust remaining.
- occurredAt and dueAt are different clocks. On an AwaitingTopUp they usually differ by a few seconds.
- The three reminders share a renewal.id. Deduplicate on renewal.id together with alertType and, for reminders, reminder.leadHours.
Organisations still on the previous engine
Organisations on the previous engine continue to receive AutoRenewScheduled and AutoRenewAttempt, unchanged. Organisations that have moved receive the BundleRenewal notifications instead. You will never receive both families for the same eSIM.
Previous notification |
New notification |
|---|---|
AutoRenewScheduled |
BundleRenewalScheduled |
AutoRenewAttempt with success: true |
BundleRenewalSucceeded |
AutoRenewAttempt with success: false |
BundleRenewalAwaitingTopUp, followed by either BundleRenewalSucceeded or BundleRenewalLapsed. If the charge was taken and refunded, BundleRenewalFailed. |
The single failure case has been split into three because the three want opposite responses from you: fund the account, move nothing, or the arrangement is over. The names are distinct because both engines run side by side. You can route the whole new family on a single BundleRenewal prefix match. No deprecation date is given for the previous engine.