---
title: "Check Promo"
method: GET
path: "/api/promo/{code}"
tags: ["orders"]
---

# Check Promo

`GET /api/promo/{code}`

## Request

- Base URL: `https://esimker.com` (the document declares no server; this is the origin it was published from)
- URL: `https://esimker.com/api/promo/{code}`
- Auth: none declared

Live promo validation for the checkout UI.

Counted per IP like the writes are, and for the same reason: it is free,
anonymous and answers yes or no about a short code, which is the whole of
what a guesser needs. And it answers "no" the one way — see PromoError.

## Path parameters

- `code` string, required

## Query parameters

- `plan_id` integer, required
- `period_num` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/esimker/apis/esimker-api.md) · [All operations](https://skmtc.dev/esimker/apis/esimker-api/llms.txt) · [OpenAPI document](https://skmtc.dev/esimker/apis/esimker-api/revisions/13ea312e6990?raw)
