Referral reference
0 pages, 7 routes, 5 connections and 0 CLI commands, generated from the declarations of Referral without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Connections · 5
Referral.Bind
Remember that a partner's code sent the signed-in caller (last touch).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required |
- Output keyreferral.result
- Classificationreal
- POST /referral/bindHTTP route
Referral.Commissions
The commission ledger visible to the caller as merchant or partner.
- Output keyreferral.result
- Classificationreal
- GET /referral/commissionsHTTP route
Referral.PartnerUpsert
The signed-in merchant creates or edits a partner's share code: commission rate, landing page, shop scope, status.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required | |||
| commission_bps | optional |
- Output keyreferral.result
- Classificationreal
- POST /referral/partner/upsertHTTP route
Referral.Partners
Partners the caller runs and codes the caller promotes, with clicks and earnings.
- Output keyreferral.result
- Classificationreal
- GET /referral/partnersHTTP route
Referral.PayoutRecord
The merchant records paying a partner's payable commissions outside the runtime; they become paid.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required | |||
| method | required | |||
| reference | optional |
- Output keyreferral.result
- Classificationreal
- POST /referral/payout/recordHTTP route
Other routes · 2
| Method | Path | Kind |
|---|---|---|
| GET | /r/{code} | raw handler |
| GET | /view/referral | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerReferral
- SQL projectionnone · DDL declarations: 0
- None declared.
- ReferralBinding
- ReferralCommission
- ReferralPartner
- ReferralPayout
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Protocol
Structure review · 1
- referral.dashboard · errorStructure metadata must enrich an already registered route. (unregistered_view_structure)