invoice:pay
invoice family
Charge the customer's SAVED card for a sent invoice, off-session. Only a card the customer agreed to save at checkout can be charged. Needs your explicit confirm:true and amountCents equal to the invoice total (without them the answer is a preview and nothing is charged); capped at $1,000 a charge. A card that needs 3-D Secure answers authentication_required with a pay link to send instead. Test money until the store is live.
- 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.
- Settles
- offchain
- Moves real value off chain — a balance changes.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.