Design challenge: USDC checkout and cashback on Shopify
Intermediate · About 150 minutes. Design exercise available now. No platform execution required.
A merchant wants more repeat purchases and proposes cashback for customers who pay in USDC. Your deliverable is a merchant proposal and a purchase-to-reward evidence map. Use fictional orders. The Shopify checkout integration, payment provider, USDC network and cashback execution contract require verification before implementation.
Frame the offer
Section titled “Frame the offer”Price the order at USD 100. For this exercise alone, assume a conversion of USD 1 per USDC at checkout, a confirmed payment of 100 USDC, and a contribution margin of USD 20 per order after variable costs but before incentives. The merchant funds a separate reward of 2 USDC from its own budget. Its contribution after the reward is USD 18 at the assumed rate.
For 50 purchases that would have occurred anyway, the rewards cost USD 100. At USD 18 contribution per additional rewarded order, six incremental orders cover that cost under these assumptions. Pick a baseline cohort and measurement period. Explain how conversion costs, fees or a different rate would change the break-even result.
Replace the monetary reward with loyalty points. Define the issuer, redemption terms and expected program cost before comparing margins. For a partial refund, specify whether the policy adjusts the award, who authorizes that adjustment, and how to handle an already-redeemed reward. Trace the refund and the reward adjustment independently.
Start with Business and solution design and Assets, wallets and incentives.
Design the application
Section titled “Design the application”- Storefront. Draw the native Shopify cart, merchant and customer. Identify the supported checkout extension or provider arrangement you would need to verify. Decide where order commitment happens and who would be authorized to collect.
- Payment. Specify order currency, charge amount, USDC asset and network, customer action and the authoritative outcome. Record how the payment attempt relates to the order. A browser return can arrive while the payment is still pending. Collect a payment
- Reward. Write the eligibility rule, recipient, funding source, cap and timing. If cashback is monetary, show the funding obligation and accounting evidence. If it is points, document ownership and redemption policy. Wallet value and rewards
- Orchestration. Draw one event linking the confirmed purchase to a separately authorized reward operation. Choose a stable award identity tied to the purchase and policy. Explain how a repeated delivery finds the original award, including when the first response was lost.
- Exceptions. Work through an unresolved payment, a duplicate event and a partial refund after reward issuance. Record the payment refund and any policy-authorized reward adjustment separately. Identify what support can say if one outcome is still open. Ledger
Check your understanding
Section titled “Check your understanding”| Scenario | Answer and reasoning |
|---|---|
| Checkout returned, payment pending. Issue spendable cashback? | Wait for authoritative confirmation and policy eligibility. The order page gives insufficient evidence for an award. |
| Two notifications describe the same confirmed purchase. | Find the existing award under the purchase and policy. A second delivery must not fund another reward. |
| The customer holds 100 loyalty points. Can the receipt call that 100 USDC? | Points have their own unit and redemption rules. A monetary balance requires explicit funding and accounting. |
Demonstrate the design
Section titled “Demonstrate the design”Submit a one-page merchant proposal and a table with one row per order, payment attempt, reward and adjustment. For each, name the actor, authority, asset or unit, reference and evidence. A reviewer should be able to trace one purchase to one award, identify the funder, and explain what happens after a refund. List unverified Shopify, custody, eligibility and provider assumptions as open design decisions.
Optional coding-agent assignment. Read the linked canonical pages and critique my design. Identify missing permissions, duplicate-award risks and unsupported assumptions. If authorized workspace discovery is available, inspect read-only capabilities. Keep the assignment design-only; do not activate providers or execute financial operations.
Extend the idea
Section titled “Extend the idea”Imagine a second merchant accepts the same reward. Who funds redemption, how does each merchant account for it, and what changes on the customer’s receipt? Compare that design with sending a WhatsApp reminder for an already-earned reward.