---
title: "Referral Reward Tick"
method: POST
path: "/api/internal/cron/referral-reward-tick"
tags: ["Internal Cron"]
---

# Referral Reward Tick

`POST /api/internal/cron/referral-reward-tick`

## Request

- Base URL: `https://api.ruzora.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ruzora.com/api/internal/cron/referral-reward-tick`
- Auth: none declared

Referral reward APPROVALS (#98). Never pays anything.

* Engineer referrals: Pending → Approved once the placement is Active,
  past the day-60 gate (30 for grandfathered rows) and its first
  invoice is paid.
* Client referrals (v2, $5,000): creates the two tranches as Pending and
  approves each when earned ($2,500 first invoice paid; $2,500 day 90
  active with 3 invoices paid).

Payout stays manual while Stripe is frozen. Advisory-locked and every
write is conditional, so a re-run approves nothing twice. Called daily
by .github/workflows/bench-freshness-cron.yml.

## Headers

- `x-cron-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api.md) · [All operations](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/revisions/f9b8223f3ac4?raw)
