---
title: "Referral Check"
method: GET
path: "/api/payment/referral-check"
---

# Referral Check

`GET /api/payment/referral-check`

Is this ref code a T-17 referral code (→ show the "+$25" checkout badge)?

Exact match against ``organization.referral_code`` — blogger / paid-campaign
codes ride the same ``explee_ref`` cookie but must NOT show the badge (they
only carry the regular trial). Public and unauthenticated by design: it
leaks only "this code is somebody's referral code", which the invite link
itself already says.

## Query parameters

- `code` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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