---
title: "Purchase eSIM"
method: POST
path: "/api/external/v1/esim/purchase"
tags: ["eSIM"]
---

# Purchase eSIM

`POST /api/external/v1/esim/purchase`

## Request body

- object
  - `packageCode` string, required
  - `wallettype` string, required
  - `customerRef` string

## Response `200`

OK

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-05-06** `eefdc20676b6` — 6 warning, 4 info
  - deleted the `header` request parameter `channel`
  - removed the request property `beneficiaryName`
  - removed the request property `deviceKey`
  - removed the request property `pin`
  - …6 more
- **2026-04-27** `8fe2f88acebe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/msorg-developers/apis/dancity-api/changes/api/external/v1/esim/purchase/post.md)

---

[API](https://skmtc.dev/msorg-developers/apis/dancity-api.md) · [All operations](https://skmtc.dev/msorg-developers/apis/dancity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/msorg-developers/dancity-api/revisions/64d5f68bab31/schema)
