Skip to content
1 viewer
View

Referral reference

0 pages, 7 routes, 5 connections and 0 CLI commands, generated from the declarations of Referral without reading storage or running anything.

AboutCode

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).

Referral.Bind input
FieldTypeRequiredDescriptionAllowed
coderequired
1 row
Calls and output
  • Output keyreferral.result
  • Classificationreal
  • POST /referral/bindHTTP route

Referral.Commissions

The commission ledger visible to the caller as merchant or partner.

Calls and output
  • 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.

Referral.PartnerUpsert input
FieldTypeRequiredDescriptionAllowed
coderequired
commission_bpsoptional
2 rows
Calls and output
  • Output keyreferral.result
  • Classificationreal
  • POST /referral/partner/upsertHTTP route

Referral.Partners

Partners the caller runs and codes the caller promotes, with clicks and earnings.

Calls and output
  • 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.

Referral.PayoutRecord input
FieldTypeRequiredDescriptionAllowed
coderequired
methodrequired
referenceoptional
3 rows
Calls and output
  • Output keyreferral.result
  • Classificationreal
  • POST /referral/payout/recordHTTP route

Other routes · 2

Routes without a connection
MethodPathKind
GET/r/{code}raw handler
GET/view/referralraw handler
2 rows

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerReferral
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • ReferralBinding
  • ReferralCommission
  • ReferralPartner
  • ReferralPayout
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol

Structure review · 1

Errors · 1
  • referral.dashboard · errorStructure metadata must enrich an already registered route. (unregistered_view_structure)