Simulate transactions

Inject a synthetic Market Money card transaction so you can exercise the pay-with-Market-Money earn path end to end — without a live card or a real Ansa delivery. Pick a cardholder, simulate an authorization at any market vendor, then settle it to watch the pending earn become redeemable. It posts a Svix-signed webhook to the same endpoint a live Ansa event hits, so signature verification and the earn handlers run exactly as in production. The linked-card earn path via Plaid is not simulated here.

Dev and local only — this endpoint is disabled in production.

Simulate a Market Money card transaction

POST /sandbox/transactions:simulate

How it works

  1. Authorization records a pending earn for the cardholder — points are estimated from the authorized amount and the matched vendor’s multiplier, but aren’t redeemable yet. If you’ve configured a webhook, the points.pending event fires too.
  2. Settlement re-values the earn to the amount that actually settled — a tip or partial capture changes it — makes the points redeemable, and credits the balance. A zero settlement voids the earn.
  3. The merchant descriptor is matched against your vendors (sponsors) exactly like the real card rail, so you can verify themed, multiplied earns for any vendor you choose.