name: agent-payment-initiation
description: Initiate payments under explicit mandates with amount caps, idempotency keys, and human approval above declared thresholds, and verify settlement state before reporting success.
metadata:
source: skills/04-action-execution/agent-payment-initiation.md
category: 04-action-execution
version: "v1"
Agent Payment Initiation
Description
Initiate payments under explicit mandates with amount caps, idempotency keys, and human approval above declared thresholds, and verify settlement state before reporting success. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.
When to Use
- a payment must be initiated by an agent under a recorded, capped mandate before downstream steps can proceed safely.
- Ambiguity or missing evidence would change the outcome.
- The result must be recorded with reasons and evidence for later verification.
Inputs / Outputs
| Area |
Contract |
| Inputs |
Task context, candidate inputs, and explicit acceptance criteria for agent payment initiation work. |
| Outputs |
A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |
| Safety |
Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the goal, the constraints, and the boundary of what this procedure may change.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Execute the agent payment initiation steps in a bounded, checkpointed way.
- Compare the actual outcome against the expected outcome and record deviations.
- On failure, apply the declared fallback path, and never widen permissions to recover.
- Emit a structured result with evidence and provenance for downstream consumers.
Runnable Example
def authorize(amount, mandate):
if amount > mandate["cap"]:
raise ValueError("amount exceeds mandate cap")
if amount > mandate["auto_approve_below"]:
return "needs-human-approval"
return "approved"
m = {"cap": 500, "auto_approve_below": 100}
assert authorize(50, m) == "approved"
assert authorize(400, m) == "needs-human-approval"
try:
authorize(600, m)
raise AssertionError("should have raised")
except ValueError:
print("mandate cap held")
Failure Modes
- Initiating payment without an explicit mandate.
- Reusing idempotency keys across different payments.
- Reporting success before settlement is verified.
- Raising caps under pressure to complete the task.
- Retrying a failed payment without deduplicating the attempt.
Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.
Evidence
Cryptographically accountable payment mandates for agents are a documented 2026 protocol-stack theme; this is a dated public signal, not an adoption metric.
Related
- idempotent-retries.md
- compensating-actions.md
- quota-management.md
1---2name: agent-payment-initiation-23description: Initiate payments under explicit mandates with amount caps, idempotency keys, and human approval above declared thresholds, and verify settlement state before r4---5---6name: agent-payment-initiation7description: Initiate payments under explicit mandates with amount caps, idempotency keys, and human approval above declared thresholds, and verify settlement state before reporting success.8metadata:9 source: skills/04-action-execution/agent-payment-initiation.md10 category: 04-action-execution11 version: "v1"12---1314# Agent Payment Initiation1516## Description17Initiate payments under explicit mandates with amount caps, idempotency keys, and human approval above declared thresholds, and verify settlement state before reporting success. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.1819## When to Use20- a payment must be initiated by an agent under a recorded, capped mandate before downstream steps can proceed safely.21- Ambiguity or missing evidence would change the outcome.22- The result must be recorded with reasons and evidence for later verification.2324## Inputs / Outputs25| Area | Contract |26|---|---|27| Inputs | Task context, candidate inputs, and explicit acceptance criteria for agent payment initiation work. |28| Outputs | A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |29| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |3031## Procedure321. Define the goal, the constraints, and the boundary of what this procedure may change.332. Inventory the available inputs and flag gaps or ambiguities that block progress.343. Execute the agent payment initiation steps in a bounded, checkpointed way.354. Compare the actual outcome against the expected outcome and record deviations.365. On failure, apply the declared fallback path, and never widen permissions to recover.376. Emit a structured result with evidence and provenance for downstream consumers.3839## Runnable Example40```python41def authorize(amount, mandate):42 if amount > mandate["cap"]:43 raise ValueError("amount exceeds mandate cap")44 if amount > mandate["auto_approve_below"]:45 return "needs-human-approval"46 return "approved"4748m = {"cap": 500, "auto_approve_below": 100}49assert authorize(50, m) == "approved"50assert authorize(400, m) == "needs-human-approval"51try:52 authorize(600, m)53 raise AssertionError("should have raised")54except ValueError:55 print("mandate cap held")56```5758## Failure Modes59- Initiating payment without an explicit mandate.60- Reusing idempotency keys across different payments.61- Reporting success before settlement is verified.62- Raising caps under pressure to complete the task.63- Retrying a failed payment without deduplicating the attempt.6465## Boundary66This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.6768## Evidence69Cryptographically accountable payment mandates for agents are a documented 2026 protocol-stack theme; this is a dated public signal, not an adoption metric.7071## Related72- idempotent-retries.md73- compensating-actions.md74- quota-management.md