> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mysubwallet.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# My eSIMs



## OpenAPI

````yaml GET /api/esim/my
openapi: 3.1.0
info:
  title: mySubwallet API
  version: 1.0.0
  description: >-
    Buy data, airtime, cable, electricity, exam pins, bulk SMS, betting, eSIM,
    flights, recharge/data cards and more, funded from your wallet. Test
    everything safely with your sandbox (sk_test_) key — no wallet charge.
servers:
  - url: https://api.mysubwallet.ng
    description: Production (live — charges your wallet)
  - url: https://sandbox.mysubwallet.ng
    description: Sandbox (test — simulated, no wallet charge)
security:
  - TokenAuth: []
tags:
  - name: Purchases
  - name: Verification
  - name: Betting
  - name: eSIM
  - name: Flights
  - name: Wallet
  - name: Catalogs
  - name: Account
paths:
  /api/esim/my:
    get:
      tags:
        - eSIM
      summary: My eSIMs
      description: >-
        Lists the eSIMs on **your account only** — scoped to your authenticated
        user, so you never see another reseller's eSIMs. Returns your most
        recent 50, newest first. `plan_status` is 1 once provisioned (install
        link ready), 0 while still provisioning. To fetch one eSIM, use Get eSIM
        by ID.
      responses:
        '200':
          description: Your eSIMs (newest first).
          content:
            application/json:
              example:
                status: success
                data:
                  - id: 21
                    package_name: Spain 1GB - 7 Days
                    package_type: DATA-ONLY
                    country_name: Spain
                    country_code: ES
                    data_quantity: '1.0000'
                    data_unit: GB
                    package_validity: 7
                    package_validity_unit: Day
                    iccid: '8932042000024889460'
                    universal_link: >-
                      https://esimsetup.apple.com/esim_qrcode_provisioning?carddata=LPA:1$rsp-eu.simlessly.com$7230...
                    activation_code: LPA:1$rsp-eu.simlessly.com$7230...
                    plan_status: 1
                    sim_applied: true
                    is_topup: false
                    parent_esim_id: null
                    sold_price_ngn: 2500
                    provider: esimaccess
                    transid: ESIM_AB12CD34EF
                    expires_at: '2026-07-01T09:01:16.000000Z'
                    created_at: '2026-06-24T09:01:16.000000Z'
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your API key as `Token <your_api_key>`.


        Use your **live key** for real transactions, or your **sandbox key**
        (`sk_test_…`) to test — sandbox calls return a realistic simulated
        result and never touch your wallet. Add `"sandbox_status": "fail"` to
        any sandbox request to simulate a failure.

````