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

# Purchase eSIM

`POST /api/v1/esim/purchase`

## Request body

- object
  - `packageCode` string, required — Package code from GET /api/v1/esim/packages or GET /api/v1/esim/topup-packages.
  - `customerRef` string — Your internal reference for reconciliation.
  - `iccid` string — ICCID of the existing eSIM — required when purchasing a TOPUP package.

## Response `200`

OK

## Other responses

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

---

[API](https://skmtc.net/msorg-developers/apis/dancity-api.md) · [All operations](https://skmtc.net/msorg-developers/apis/dancity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/msorg-developers/dancity-api/versions/99437f87d687/schema)
