The operator confirmed on 05 October 2026: "the best answer is the one that offers the least resistance on all sides." Pattern A is the pattern that honors the operator's decision. Pattern A requires zero configuration change from Nuvei, zero configuration change from the per-business, zero change from the customer's checkout flow. The only party that changes is the operator, who builds one new endpoint + one new database schema. The audit-trail is per-business-side (the per-business's Orb-Wallet dashboard shows the per-transaction BP-discount); the per-Operation's currency discipline (standing instruction #30's fixed-rate 1 BP = $1.00 USD) holds; the "we never touch the diner's money" structural promise holds.
This sub-block is the durable-record surface for Pattern A. The architecture is documented in plain words, with the pre-transaction BP-discount adjustment, the per-Operation BP-issuance-and-redemption ledger structure, the operator-as-per-Operation-currency-sponsor discipline, and the three failure modes Pattern A defends against.
The Pattern A flow has six steps: customer adds items to cart → customer enters BP-amount at checkout → orb-wallet-gateway endpoint validates + debits + applies BP-discount → customer's net payment goes to per-business's Nuvei sub-merchant → per-business is settled net of BP-discount → operator's per-Operation ledger tracks the BP-discount as a currency-sponsor credit.
The customer's per-cart at the per-business is the gross amount (e.g., $45.00). The customer adds items from the per-business's inventory catalog; the per-cart total is the sum of all item amounts. The per-cart subtotal is the gross amount; the per-cart subtotal is what the customer would pay without any BP-discount.
The customer's per-business checkout flow has a BP-amount input field. The customer enters the BP-amount they want to redeem (e.g., 10 BPs = $10.00). The orb-wallet-gateway's checkout JavaScript reads the customer's per-customer BP-balance from the per-Operation ledger (via an authenticated endpoint); the JavaScript validates the BP-amount is ≤ the customer's BP-balance and ≤ the per-cart subtotal; the JavaScript sends the BP-amount to the orb-wallet-gateway's /wp-json/orb-wallet/v1/bp-redeem endpoint when the customer submits checkout.
The endpoint receives the BP-amount; the endpoint validates the customer's per-customer BP-balance is sufficient; the endpoint debits the BP-amount from the per-Operation ledger (creates a new ledger entry with post-status = "redeemed", order_id, member_id, store_id, bp_amount); the endpoint applies the BP-discount to the per-cart subtotal (e.g., $45.00 - $10.00 = $35.00 net); the endpoint returns the per-cart net amount + the new BP-balance to the checkout JavaScript.
The customer's payment at the per-business's Nuvei sub-merchant is the net amount ($35.00). Nuvei sees a normal $35.00 transaction. Nuvei's processing pipeline, signed tax forms, per-transaction compliance, chargeback flow, and dispute resolution all work as-is. Nuvei doesn't see the BP-discount as a separate line item because the BP-discount is a per-business-side pre-transaction adjustment, not a Nuvei-side post-transaction adjustment.
The per-business's Nuvei sub-merchant receives the net settlement ($35.00). The per-business sees the net settlement as a normal transaction; the per-business's per-transaction accounting treats the $35.00 as the customer's net payment. The per-business's reconciliation at end-of-day reconciles the per-business's Nuvei statement against the per-business's Orb-Wallet dashboard; the per-business's Orb-Wallet dashboard shows the per-transaction BP-discount as a per-business-side line item.
The operator's per-Operation ledger captures the BP-discount ($10.00) as a per-Operation currency-sponsor credit. The ledger entry is the per-Operation-internal record of "we absorbed $10.00 of this customer's per-cart as the per-Operation currency sponsor." The ledger entry is auditable against the per-business's per-transaction BP-discount record on the per-order ID.
The per-Operation ledger is a WordPress custom post type orb_wallet_bp_ledger. The ledger captures every BP-issuance + every BP-redemption with the post fields below.
post_title = ledger entry ID (auto-generated: bp_2026_10_05_abc123) post_status = issued | redeemed | sponsor_credit | expired | reversed _orb_member_id = per-customer's Orb-Wallet member ID _orb_order_id = per-order ID (for redemptions + sponsor_credits) _orb_store_id = per-business's WordPress custom post type ID _orb_bp_amount = BP-amount (in BPs, where 1 BP = $1.00 USD) _orb_event_type = earn | redeem | sponsor | expire | reverse _orb_source = source of the BP-issuance (charity, marketplace, dating, holiday, orb-food, orb-share, member-signup, sustained-allocation) _orb_grade_at_issuance = per-customer's grade at the time of issuance (member, contributor, advocate, steward) _orb_balance_after = per-customer's BP-balance after this ledger entry _orb_created_at = timestamp of the ledger entry
sum(issued) - sum(redeemed) - sum(expired) at any point in time. The ledger is auditable, verifiable, and durable.
| Side | What changes | What doesn't change | Resistance |
|---|---|---|---|
| Nuvei | Nothing | Nuvei sees a normal $35.00 transaction; Nuvei's processing pipeline, signed tax forms, per-transaction compliance, chargeback flow, and dispute resolution all work as-is | Zero |
| Per-business | Nothing (beyond what's already done at the Orb-Wallet dashboard) | Per-business's existing reconciliation works as-is; per-business's Nuvei sub-merchant ID unchanged; per-business's settlement currency unchanged; per-business's PCI compliance surface unchanged | Zero |
| Customer | Nothing | Customer sees the BP-discount applied at checkout BEFORE paying; customer pays the net amount; customer's payment-method behavior is unchanged | Zero |
| Operator | Build one new endpoint (~50 lines of PHP) + one new database schema (WordPress custom post type orb_wallet_bp_ledger) |
Operator's existing orb-wallet-gateway plugin architecture, Nuvei integration, AffiliateWP Pro hook, per-business sub-merchant setup | 1-2 days of build, then zero ongoing |
| Per-Operation (the moral reading) | Operator absorbs the BP-discount as the per-Operation currency sponsor | Per-Operation currency discipline (1 BP = $1.00 USD); "we never touch the diner's money" structural promise; per-Operation ledger as source-of-truth for BPs | Zero — Pattern A IS the per-Operation currency discipline in code form |
| Pattern | What changes | Pros | Cons | Verdict |
|---|---|---|---|---|
| A: BP-as-discount | Operator only | Zero Nuvei change, zero per-business change, zero customer change; per-Operation currency discipline holds; "we never touch the diner's money" holds | Per-business's Nuvei statement doesn't show BP-discount line; per-business's reconciliation is per-business-side via Orb-Wallet dashboard | Recommended |
| B: BP-as-cashback | Nuvei configures per-merchant cashback rules | Nuvei's reconciliation surfaces the cashback line; customer sees familiar cashback pattern | Nuvei controls the rate (breaks per-Operation currency discipline); customer doesn't actually have a BP-balance (BP is just Nuvei's cashback); undermines the per-Operation currency surface | Structurally wrong — skip |
| C: BP-as-loyalty-credit | Per-business absorbs the loyalty-credit cost | Per-business sees full gross amount as revenue; customer sees familiar loyalty-credit pattern | Per-business absorbs the cost (not the operator); customer's BP-balance grows but isn't redeemable at checkout; audit trail is per-business-side only | Right answer only if operator wants per-business to absorb the cost |
| D: BP-as-gift-card | Per-business maintains per-customer gift-card ledger | Per-business's gift-card liability is a standard accounting concept; customer sees familiar gift-card pattern | Per-business has to maintain per-customer ledger; BP-balance is per-business-side (not operation-wide); audit trail is per-business-side only | Right answer only if operator wants per-business-side accounting |