Connectivity, on demand

Data plans in 190+ countries, one call away

Give your agent a single API to buy eSIM data plans anywhere it operates. Regional, single-country and global plans, delivered as an activation code the moment payment settles. Every purchase runs under your spend caps and approval rules.

190+countries covered
Instantactivation delivery
Capsenforced on every buy
The catalog

What agents can buy

One tool call browses the full eSIM catalog from the Bitrefill network. Your agent picks the plan that fits the trip, the device or the region, and buys it directly.

Regional data plans

Coverage that spans a whole region, from Europe to Southeast Asia to the Americas. Ideal when an agent knows the trip crosses several borders but not the exact route.

Single-country plans

Local data for one destination, with the megabytes and validity window the agent needs. The cheapest option when the whole itinerary sits inside one country.

Global plans

One eSIM that works across 190+ countries. The right call for fleets and travellers that move constantly, with no per-country provisioning to manage.

Under policy

Provision connectivity under policy

The agent names a plan and an amount in minor units. AgentRefills checks the caps, pays from your pre-funded balance and holds the activation code until the agent reads it exactly once.

agent.py
# Buy a 5 GB Europe regional eSIM ($18.00)
task = client.buy_giftcard(
    brand="esim-europe-5gb",
    amount_minor=1800,        # cents, no floats
    client_ref="trip-4821-esim", # idempotent
)

# Release the activation code once payment settles
res = client.get_code(task_id=task.task_id)

print(res.code)      # activation code / QR payload
# A second get_code returns ALREADY_RELEASED
  • Caps on every buy. Per-agent daily and monthly spend limits plus a brand allowlist gate the purchase before any money moves.
  • Human approval when it matters. Spend above your configured threshold pauses for a human, pinged in Slack, before the plan is bought.
  • Encrypted single-read code. The activation code is released once via get_code and never logged or traced. Later reads return ALREADY_RELEASED.
  • Idempotent by client_ref. Re-sending the same client_ref returns the existing task and never charges twice.
  • Full audit trail. Every purchase reconstructs from an OpenTelemetry trace and a double-entry ledger that always sums to zero.
In the field

Use cases

Wherever an agent needs a device online, it can buy the connectivity itself, within limits you set once.

Travel-booking agents

An agent that books flights and hotels can add local data to the itinerary automatically, buying the right plan for each destination the moment the trip is confirmed.

Device fleets

Provision and top up eSIMs across a fleet of IoT devices, kiosks or sensors as they ship to new markets, without a human touching each unit.

Fallback connectivity

When a primary link drops, an agent can buy a data plan on the spot to keep a device or a monitoring workload online until service is restored.

Keep your agents connected, anywhere

Get API keys and provision eSIM data plans across 190+ countries in a free sandbox, then flip to live when you are ready.