Demo mode — simulated ledgerLearn more →

Credits

Customer credit balances and loyalty rewards

Credits Module

Issue, track, and redeem customer credits

This module is scaffolded for self-implementation. The UI structure and types are ready — add your own backend logic to enable it.

Build a credit ledger for loyalty programs, refund alternatives, or promotional balances. The UI scaffolding is ready — wire up your own credit issuance and redemption logic.

Extension Points
  • POST /api/pay/credits — issue credits to a customer
  • GET /api/pay/credits/:customerId — fetch balance
  • POST /api/pay/credits/redeem — apply credits to invoice
  • Webhook: credits.issued, credits.redeemed