---
title: "Validate My Code"
method: GET
path: "/me/codes/validate/{code}"
tags: ["me"]
---

# Validate My Code

`GET /me/codes/validate/{code}`

Identify a user-entered code: promo (e.g. YCAXEL) or friend referral.

Promo namespace wins on collision so existing partner codes keep working.

## Path parameters

- `code` string, required

## Response `200`

Successful Response

- CodeValidateResponse — Preview of what a user-entered code is, across both code namespaces.
  - `kind` 'promo' | 'referral' | 'invalid', required
  - `code` string, required
  - `promo_discount_percent` integer, nullable
  - `referrer_first_name` string, nullable
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/helloaxel/apis/client-api-gateway.md) · [All operations](https://skmtc.dev/helloaxel/apis/client-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/helloaxel/client-api-gateway/revisions/d3c4c29fede7/schema)
