---
title: "GET /reseller/codes/{uuid} — Show my gift code"
url: https://lumean.app/tr/developers/docs/api/get-reseller-codes-uuid
locale: tr
description: "Show my gift code"
generated: 2026-12-02
operationId: reseller.showCode
method: GET
path: "/reseller/codes/{uuid}"
scopes: [reseller.read]
spec_version: 1.0.0
---

# GET /reseller/codes/{uuid}

**Show my gift code**

One of your own codes with its full `code` value. Someone else's or a missing code gives `404` `gift_code_not_found`. **Required key permission:** `reseller.read`.

- Gerekli izin: `reseller.read`

## İstek

```bash
curl -X GET 'https://api.lumean.app/api/public/reseller/codes/{uuid}' \
  -H 'Accept: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY'
```

## Parametreler

| Alan | Yer | Tür | Zor. | Açıklama |
| --- | --- | --- | --- | --- |
| `uuid` | path | `string` | zorunlu | Gift code UUID — 36 characters, not the `LUM-…` code itself. Take it from the `uuid` field: `POST /reseller/codes` returns it on issue and `GET /reseller/codes` lists it. Someone else's or a missing code returns `404` with `reason: gift_code_not_found`. |
| `X-Locale` | header | `string` | — | Language of the localised texts in the response (`message`, labels, failure reasons), an ISO-639-1 code. Optional; without it — the key owner’s account language, then `Accept-Language`, then the default language. An unknown or unsupported code is skipped as if it were absent. |
| `X-Timezone` | header | `string` | — | IANA time zone (`Europe/Moscow`) in which the response shows moments in time — ISO-8601 with an offset. Optional; without it dates come in UTC. An invalid zone is ignored. The server returns the applied zone in the response header of the same name. |

## İstek gövdesi

Gövde yok.

## Yanıtlar

### 200 — Success. The payload is in `data`.

**Yanıt alanları**

| Alan | Tür | Zor. | Açıklama |
| --- | --- | --- | --- |
| `data` | `GiftCode` | zorunlu | The response payload. |
| `data.uuid` | `string` | zorunlu | Code UUID. Use it in the `GET /reseller/codes/{uuid}` and `POST /reseller/codes/{uuid}/cancel` paths. |
| `data.code_masked` | `string` | zorunlu | The code with a mask, `LUM-****-****-XXXX`: safe to show in a UI and to write to logs. |
| `data.code` | `string` | — | The FULL code value — what the recipient types to redeem it. The reseller public API returns it in the list, on show and on issue. Treat it as a secret: whoever knows the code can redeem it. |
| `data.nominal` | `integer` | zorunlu | The code’s nominal value in minor LMC units: `real = nominal / 10^currency_asset.precision`. This is how much LMC the redeemer receives. |
| `data.nominal_formatted` | `number` | zorunlu | The same nominal value in whole LMC — a number ready to display. |
| `data.cost` | `integer` | — | What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (`source: reseller`). |
| `data.cost_formatted` | `number` | — | The same cost in whole LMC. Present only for reseller codes. |
| `data.discount_bps` | `integer` | — | The reseller’s discount at the moment of issue, in basis points (`100` = 1%). A later change of the personal discount does not affect this code. Present only for reseller codes. |
| `data.source` | `GiftCodeSource` — `purchase` · `reseller` · `system` | zorunlu | Where the code came from: bought by a user with money (`purchase`) or issued by a reseller from their own balance (`reseller`). |
| `data.funding` | `GiftCodeFunding` — `rub` · `crypto` · `mixed` · `admin` | zorunlu | What paid for the code: roubles (`rub`), crypto (`crypto`) or both (`mixed` — a reseller code issued from a balance topped up both ways). |
| `data.status` | `GiftCodeStatus` — `active` · `refunding` · `redeemed` · `refunded` · `cancelled` · `annulled` | zorunlu | Gift code status: `active` — issued and awaiting redemption (possibly still frozen until `activatable_at`); `refunding` — a refund is in progress, redemption and cancellation are unavailable; `redeemed` — redeemed, the nominal is on the redeemer's balance; `refunded` — the money went back to the buyer's card; `cancelled` — the reseller cancelled the code and the cost returned to their balance; `annulled` — annulled with no refund. |
| `data.activatable_at` | `string` — date-time — nullable | zorunlu | The moment from which the code can be redeemed; until then it is frozen. `null` means no restriction. |
| `data.redeemed_at` | `string` — date-time — nullable | zorunlu | When the code was redeemed. `null` until it is. The API never reveals who redeemed it. |
| `data.cancelled_at` | `string` — date-time — nullable | zorunlu | When the reseller cancelled the code. `null` if it was not cancelled. |
| `data.created_at` | `string` — date-time — nullable | zorunlu | When the code was issued. |
| `data.currency_asset` | `object` | zorunlu | The currency of the amounts in the response — LMC. Use `precision` to convert amounts in minor units into whole LMC. |
| `data.currency_asset.code` | `string` — `LUMC` | zorunlu | Code of the asset the amounts are expressed in. |
| `data.currency_asset.precision` | `integer` | zorunlu | How many decimals LMC has: `real = value / 10^precision`. |

**Örnek**

```json
{
  "data": {
    "uuid": "string",
    "code_masked": "string",
    "code": "string",
    "nominal": 1,
    "nominal_formatted": 1,
    "cost": 1,
    "cost_formatted": 1,
    "discount_bps": 1,
    "source": "purchase",
    "funding": "rub",
    "status": "active",
    "activatable_at": "2026-07-17T12:34:56+00:00",
    "redeemed_at": "2026-07-17T12:34:56+00:00",
    "cancelled_at": "2026-07-17T12:34:56+00:00",
    "created_at": "2026-07-17T12:34:56+00:00",
    "currency_asset": {
      "code": "string",
      "precision": 1
    }
  }
}
```

---

- Bu sayfa tarayıcıda: https://lumean.app/tr/developers/docs/api/get-reseller-codes-uuid
- Makine tarafından okunabilir tam başvuru: https://api.lumean.app/docs/llm.md
