Simulate transactions

Inject a synthetic Ansa card transaction so you can exercise the card-spend earn flow end to end — without a live card or a real Ansa delivery. Pick a cardholder, simulate an authorization at any merchant, 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.

Sandbox only — this endpoint is disabled in production.

Simulate a 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 sponsor’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 sponsors exactly like the real card rail, so you can verify themed, multiplied earns for any merchant you choose.