Credit System
Credits are the universal unit of value on Paygrid. They abstract away chains, tokens, and fiat so buyers can pay for any service with a single balance.
Conversion​
| Credits | USD | USDC |
|---|---|---|
| 1 credit | $0.0001 | 0.000001 USDC (1 minor unit) |
| 10,000 credits | $1.00 | 1.000000 USDC |
Fungibility​
Credits are fungible regardless of how they were deposited:
- Stripe deposits (fiat USD) create credits.
- USDC deposits (on-chain) create credits.
- Both sources produce identical credits in the same balance.
A buyer who deposited $10 via Stripe and 5 USDC on Solana has 150,000 credits total, and can spend them on any service on any chain.
Backing​
Every credit is backed by real money:
- Stripe fiat deposits are held as USD.
- USDC deposits are held in the platform's on-chain float.
- The total credit supply always matches the total deposits.
Ledger​
All credit movements are tracked with double-entry bookkeeping:
- Every transaction has a debit and a credit entry.
- The ledger is append-only (no edits or deletions).
- Full audit trail for every credit from deposit to spend.
Security​
Only approved sources can create credits. This is enforced at the database level with a trigger -- application code alone cannot mint credits. The approved sources are:
- Stripe payment confirmations.
- Verified on-chain USDC deposits.
- Platform administrative adjustments (rare, logged).