1. Top up eSIM
Roamic API v2
  • Topics
    • Authentication
      • Verify token
    • Browse packages
      • List countries and regions
      • List packages
      • Get a package
    • Manage orders
      • Get an order
      • List orders
      • Create new order
    • Manage eSIMs
      • List eSIMs
      • Get an eSIM / installation details
      • Cancel an eSIM
      • Revoke an eSIM
    • Monitor usage
      • Get data usage
    • Top up eSIM
      • List top-up packages for an eSIM
        GET
      • Place a top-up order
        POST
    • Billing details
      • Get billing details
    • Notifications
      • List webhook event types
      • Create a webhook subscription
      • Update a webhook subscription
      • Get a webhook subscription
      • List webhook subscriptions
      • Delete a webhook subscription
      • List deliveries
      • Get a delivery
      • List notifications sent for an eSIM
      • Retry a delivery
      • Send a test event
  • Raíz
  • Schemas
    • Paginated
    • EsimIdentifier
    • OrderType
    • EsimStatus
    • OrderStatus
    • Result
    • FinancialStatus
    • Error
    • FulfillmentStatus
    • ValidationErrorBody
    • Order
    • TopupStatus
    • StoreOrder
    • WebhookDeliveryStatus
    • Customer
    • WebhookEventType
    • Billing
    • User
    • OrderLineItem
    • Esim
    • BillingFull
    • Topup
    • Settings
    • BillingInput
    • Country
    • Package
    • Product
    • TopupPackage
    • CreateOrder
    • CreateTopupOrder
    • NotificationLog
    • WebhookSubscription
    • WebhookSubscriptionInput
    • WebhookDelivery
  1. Top up eSIM

List top-up packages for an eSIM

GET
/api/v1/esims/{code}/topups
Returns the packages that can be added to this eSIM, with the price you will be charged. Only an eSIM that is
already assigned can be topped up. Use the sku of one of them in POST /orders/topups.

Solicitud

Autorización
Bearer Token
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
or
Parámetros de ruta

Parámetros de consulta

Respuestas

🟢200
application/json
A page of compatible top-up packages.
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location '/api/v1/esims/01JABCDEFGHJKMNPQRSTVWXYZ0/topups?page=1&per_page=15' \
--header 'Authorization: Bearer <token>'
Respuesta Ejemplo de Respuesta
{
    "data": [
        {
            "sku": "TOPUP-ES-1GB-7D",
            "name": "Spain 1GB 7 Days Top-up",
            "price": "3.50",
            "currency": "EUR",
            "is_unlimited": false,
            "volume": "1 GB",
            "duration": 7,
            "duration_unit": "DAY",
            "speed": "4G/5G",
            "esimaccess_package_code": "PKG-ES-1GB-7D-TOPUP"
        }
    ],
    "links": {
        "first": "https://api.example/api/v1/esims/01JABCDEFGHJKMNPQRSTVWXYZ0/topups?page=1",
        "last": "https://api.example/api/v1/esims/01JABCDEFGHJKMNPQRSTVWXYZ0/topups?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "to": 1,
        "last_page": 1,
        "per_page": 15,
        "total": 1,
        "path": "https://api.example/api/v1/esims/01JABCDEFGHJKMNPQRSTVWXYZ0/topups"
    }
}
Modificado en 2026-10-28 09:24:46
Anterior
Get data usage
Siguiente
Place a top-up order
Built with