Delivery predictions give you a structured, data-backed estimate of when a card will arrive — before the cardholder has to ask. Instead of leaving cardholders to guess from a dispatch confirmation email, you can surface a specific date range directly in your app or card management portal. Varmo produces these predictions automatically for every tracked card, refreshing accuracy as time passes from the dispatch date.Documentation Index
Fetch the complete documentation index at: https://docs.varmo.fi/llms.txt
Use this file to discover all available pages before exploring further.
How predictions work
Varmo builds each delivery prediction from four inputs:- Dispatch date — the timestamp at which the card entered the postal network
- Destination postal code — the delivery target at street-route resolution
- Destination country — used to select the correct regional model and postal service norms
- Regional latency model — a continuously updated dataset built from ground-truth delivery outcomes across postal regions worldwide
The delivery window
Theprediction.delivery_window object contains two ISO 8601 date strings representing the earliest and latest expected delivery dates for the card.
min— the earliest date by which Varmo expects the card to arrive, based on the fastest observed transit times for the destination regionmax— the latest date within the predicted window; deliveries beyond this date may trigger anexceptionstatus
Confidence levels
Theconfidence_level field tells you how much historical signal Varmo has for the destination region. Use it to decide how precisely to phrase delivery messaging to cardholders.
| Confidence level | What it means | Window characteristics |
|---|---|---|
High | Strong historical signal exists for this postal region. | Narrow window, typically 2–3 days |
Medium | Moderate historical data is available; some variability in past delivery times. | Wider window, typically 4–6 days |
Low | Sparse ground-truth data for this destination. The window is a best estimate based on country-level averages. | Broad window, treat as an approximation |
Using predictions in your app
The simplest path is to display theui_suggestion.recommended_message field directly — it is already localized and phrased appropriately for the confidence level. See UI suggestions for guidance on rendering this field.
If you need custom copy or want to match your brand voice precisely, construct your message from the structured prediction fields instead:
- Use
delivery_window.minanddelivery_window.maxto build a date range string - Use
confidence_levelto decide how hedged your language should be — forLow, add qualifiers such as “approximately” or “estimated” - Use
ui_suggestion.localefor language routing even when writing your own copy