# Roamic API v2 ## Docs - [Topics](https://docs.roamic.com/topics-11273780f0.md): ## API Docs - Topics > Authentication [Verify token](https://docs.roamic.com/verify-token-46186317e0.md): Returns the account the token belongs to. Use it to check that your credentials work. - Topics > Browse packages [List countries and regions](https://docs.roamic.com/list-countries-and-regions-46186318e0.md): Returns every destination you can sell, ordered by name. `local` entries are single countries (their `code` - Topics > Browse packages [List packages](https://docs.roamic.com/list-packages-46186319e0.md): Returns the sellable catalog grouped by **product**: each item is a product with its purchasable - Topics > Browse packages [Get a package](https://docs.roamic.com/get-a-package-46186320e0.md): Returns one package by SKU, wrapped in its product (same shape as one item of the list). - Topics > Manage orders [Get an order](https://docs.roamic.com/get-an-order-46186321e0.md): Returns one order with its line items and, inside each line, the eSIMs (or top-ups) it produced. - Topics > Manage orders [List orders](https://docs.roamic.com/list-orders-46481898e0.md): - Topics > Manage orders [Create new order](https://docs.roamic.com/create-new-order-46481899e0.md): **Requests made outside the sandbox environment incur costs.** The order is processed asynchronously. Maximum 50 units in total. - Topics > Manage eSIMs [List eSIMs](https://docs.roamic.com/list-esims-46186324e0.md): Returns every eSIM you have bought (one entry per unit), newest first. Note that an ICCID can be reused by the - Topics > Manage eSIMs [Get an eSIM / installation details](https://docs.roamic.com/get-an-esim-installation-details-46186325e0.md): Returns one eSIM. Once its status is `assigned`, it carries everything needed to install it: - Topics > Manage eSIMs [Cancel an eSIM](https://docs.roamic.com/cancel-an-esim-46951179e0.md): Cancels an eSIM that has **not been used**. The eSIM moves from - Topics > Manage eSIMs [Revoke an eSIM](https://docs.roamic.com/revoke-an-esim-46951180e0.md): Permanently withdraws an eSIM that is active or suspended. The eSIM - Topics > Monitor usage [Get data usage](https://docs.roamic.com/get-data-usage-46186326e0.md): Returns live usage for an eSIM that is `assigned`. Volumes are in **bytes**. `activated_at` and `expires_at` - Topics > Top up eSIM [List top-up packages for an eSIM](https://docs.roamic.com/list-top-up-packages-for-an-esim-46186327e0.md): Returns the packages that can be added to this eSIM, with the price you will be charged. Only an eSIM that is - Topics > Top up eSIM [Place a top-up order](https://docs.roamic.com/place-a-top-up-order-46186328e0.md): Adds data to eSIMs you already own. Each line identifies the eSIM by its `code` (never by ICCID) and the - Topics > Billing details [Get billing details](https://docs.roamic.com/get-billing-details-46186330e0.md): Returns the billing details saved on your account. - Topics > Notifications [List webhook event types](https://docs.roamic.com/list-webhook-event-types-46186335e0.md): Returns the events you can subscribe to. This list is fixed and is not paginated. - Topics > Notifications [Create a webhook subscription](https://docs.roamic.com/create-a-webhook-subscription-46186336e0.md): Registers a URL to receive events. The response includes the signing `secret`, which is shown **only once**: - Topics > Notifications [Update a webhook subscription](https://docs.roamic.com/update-a-webhook-subscription-46186339e0.md): Changes the name, URL, subscribed events or active flag. Send only what you want to change. Set `active` to `false` to pause deliveries without deleting the subscription. - Topics > Notifications [Get a webhook subscription](https://docs.roamic.com/get-a-webhook-subscription-46186338e0.md): Returns one subscription. The signing secret is never shown again. - Topics > Notifications [List webhook subscriptions](https://docs.roamic.com/list-webhook-subscriptions-46186337e0.md): Returns your webhook subscriptions. - Topics > Notifications [Delete a webhook subscription](https://docs.roamic.com/delete-a-webhook-subscription-46186340e0.md): Permanently removes the subscription. No further events are sent to its URL. - Topics > Notifications [List deliveries](https://docs.roamic.com/list-deliveries-46186342e0.md): Returns the delivery attempts for a subscription, with the payload that was sent and your endpoint's response. Useful to debug failures. - Topics > Notifications [Get a delivery](https://docs.roamic.com/get-a-delivery-46186343e0.md): Returns one delivery attempt of the subscription. - Topics > Notifications [List notifications sent for an eSIM](https://docs.roamic.com/list-notifications-sent-for-an-esim-46186334e0.md): Returns the notifications Roamic sent to the customer about this eSIM (for example the "eSIM ready" email), newest first. - Topics > Notifications [Retry a delivery](https://docs.roamic.com/retry-a-delivery-46186344e0.md): Sends the same event again. Your endpoint may receive it more than once, so de-duplicate on `X-Roamic-Event-Id`. - Topics > Notifications [Send a test event](https://docs.roamic.com/send-a-test-event-46186341e0.md): Sends a real `webhook.ping` event to the subscription URL so you can check your endpoint and your signature ## Schemas - [Paginated](https://docs.roamic.com/paginated-18518775d0.md): - [EsimIdentifier](https://docs.roamic.com/esimidentifier-18815339d0.md): - [OrderType](https://docs.roamic.com/ordertype-18518776d0.md): - [EsimStatus](https://docs.roamic.com/esimstatus-18518780d0.md): - [OrderStatus](https://docs.roamic.com/orderstatus-18518777d0.md): - [Result](https://docs.roamic.com/result-18815340d0.md): - [FinancialStatus](https://docs.roamic.com/financialstatus-18518778d0.md): - [Error](https://docs.roamic.com/error-18815341d0.md): - [FulfillmentStatus](https://docs.roamic.com/fulfillmentstatus-18518779d0.md): - [ValidationErrorBody](https://docs.roamic.com/validationerrorbody-18815342d0.md): - [Order](https://docs.roamic.com/order-18518797d0.md): - [TopupStatus](https://docs.roamic.com/topupstatus-18518781d0.md): - [StoreOrder](https://docs.roamic.com/storeorder-18632903d0.md): - [WebhookDeliveryStatus](https://docs.roamic.com/webhookdeliverystatus-18518782d0.md): - [Customer](https://docs.roamic.com/customer-18518793d0.md): - [WebhookEventType](https://docs.roamic.com/webhookeventtype-18518783d0.md): - [Billing](https://docs.roamic.com/billing-18518785d0.md): - [User](https://docs.roamic.com/user-18518784d0.md): - [OrderLineItem](https://docs.roamic.com/orderlineitem-18518796d0.md): - [Esim](https://docs.roamic.com/esim-18518794d0.md): - [BillingFull](https://docs.roamic.com/billingfull-18518786d0.md): - [Topup](https://docs.roamic.com/topup-18518795d0.md): - [Settings](https://docs.roamic.com/settings-18518788d0.md): - [BillingInput](https://docs.roamic.com/billinginput-18518787d0.md): - [Country](https://docs.roamic.com/country-18518789d0.md): - [Package](https://docs.roamic.com/package-18518790d0.md): - [Product](https://docs.roamic.com/product-18518791d0.md): - [TopupPackage](https://docs.roamic.com/topuppackage-18518792d0.md): - [CreateOrder](https://docs.roamic.com/createorder-18518798d0.md): - [CreateTopupOrder](https://docs.roamic.com/createtopuporder-18518799d0.md): - [NotificationLog](https://docs.roamic.com/notificationlog-18518800d0.md): - [WebhookSubscription](https://docs.roamic.com/webhooksubscription-18518801d0.md): - [WebhookSubscriptionInput](https://docs.roamic.com/webhooksubscriptioninput-18518802d0.md): - [WebhookDelivery](https://docs.roamic.com/webhookdelivery-18518803d0.md):