Skip to main content

Super Agent sells credits to Agent using cash

Super Agent receives cash (or another offline payment method) from an Agent, then issues credits to that Agent's CDN wallet.

Basic flow:

Super Agent collects payment → record full details → issue credits to Agent → save reconciliation ledger

Who does what

RoleAction
Super AgentCreate credit sale transaction, enter payment details, confirm status
AgentPays per agreement; receives credits in wallet
SystemDebits Super Agent credits, credits Agent, calculates amount due, writes ledger, stores audit

Required information when selling

When Super Agent sells credits to an Agent, the form must include all items below before submit.

1. Counterparty & quantity

FieldRequiredDescription
AgentAgent receiving credits (select from Super Agent's agent list)
Credits soldCredits issued to Agent CDN wallet (positive number, > 0)
Cost rate✅ (display)Agent (buyer) cost rate at time of sale — used to calculate amount due
Amount due✅ (auto-calculated)Credits sold × Cost rate — Super Agent confirms before saving

2. Payment & receipt method

FieldRequiredDescription
Actual amount receivedAmount Super Agent actually received (USD). Default = amount due
Receipt methodHow Agent paid — e.g. Cash, Bank transfer, Check, Other
Payment received atWhen Super Agent confirmed payment received (default = now; editable if entered late)
CurrencyDefault USD

3. Status

StatusMeaningWhen to use
Paid in full — credits issuedFull payment received, credits in Agent walletStandard flow: collect payment before issuing credits
Pending payment — credits issuedCredits issued but payment not yet received / not fully receivedOnly with temporary credit policy — requires separate approval
Partially paidPartial payment receivedRecord Amount received + Remaining
CancelledTransaction cancelled, no credits issued (or credits reversed)Wrong entry, refund, etc.

Default recommendation: Safest flow is to allow submit only when status = Paid in full — credits issued. Other statuses are optional if receivables management is needed later.

4. Reference (optional)

FieldRequiredDescription
External referenceRecommendedInternal receipt number, transfer reference, payment voucher number
NoteRecommendedShort additional description (if needed)

FieldReason
Performed by (Super Agent)Audit — who created the transaction (from session)
Linked credit transactionReference to Super Agent debit / Agent credit ledger entry after issuance

Business rules

  1. Cost rate is snapshotted for Agent (buyer) at time of sale — not updated if Agent changes rate later.
  2. Amount due = Credits sold × Cost rate of the Agent buyer.
  3. Super Agent must have sufficient credits in CDN wallet before issuing to Agent.
  4. Issuing credits does not change Agent's online USD wallet — this records cash / offline payment collected by Super Agent.
  5. Any status or amount change after creation must have an audit log (who, when, from value → to value).

Example

Agent Agent-Beta under Super Agent SA-Alpha, Agent cost rate 15% (0.15).

ItemValue
Credits sold5,000 credits
Amount due5,000 × 0.15 = $750
Receipt methodCash
Actual amount received$750
StatusPaid in full — credits issued
External referencePT-SA-2026-0088
NoteJune 2026 transaction

After submit: Agent CDN wallet +5,000 credits; Super Agent CDN wallet −5,000 credits; cash settlement ledger records Super Agent received $750 from Agent-Beta.