storefront:test-cards
storefront family
Set up test card payments for a workspace in one call: creates (or reuses) a test-mode Stripe account ONE fills with Stripe's test values, waits a few seconds for Stripe to switch cards on, then takes a €10 test card payment on it. Answers stage 'checking' if Stripe is still switching it on — call again. Refuses on a live key (test_mode_only). Owner-only.
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- owner
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- no
- This cannot be undone. Dry-run it first where the contract allows.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.