# Payments

> Reference for the Agent Gateway Payments view, covering the transaction table columns, status values, processing modes, and available actions.
The Payments view records every x402 payment transaction that passed through this gateway instance. Each row combines the verification and settlement stages of a single payment into one unified record. Use it to audit payment activity, confirm that both verification and settlement completed successfully, and investigate any transaction failures.

Access the Payments view from the dashboard sidebar under Payments.

## Payments over time chart

The bar chart at the top of the page shows payment activity over a configurable time window. Two series are plotted:

| Series | Description |
| Verifications | Count of payment verification events in each time bucket. |
| Settlements | Count of payment settlement events in each time bucket. |

Use the time bucket selector (top right of the chart) to adjust the bucket size from 30 seconds to 6 hours.

## Transaction table

Each row in the All Payments table represents one payment, identified by a transaction hash or correlation ID. The table is filterable by channel name, resource path, network, transaction hash, or status value.

### Processing column

| Badge | Description |
| Processing mode (blue badge) | The mechanism used: Local, Signature, Mock, FabricGateway, or ExternalFacilitator. See [Processing modes](#processing-modes). |
| Overall status (colour badge) | The most advanced status across both stages. Green when fully settled or verified. Red on failure. Yellow while in progress. |

### Progress column

Two circle indicators show the state of each stage:

| Indicator | Meaning |
| Filled green circle | Stage completed successfully. |
| Filled red circle | Stage failed or encountered an error. |
| Empty circle | Stage has not yet completed. |

The left circle represents verification; the right circle represents settlement. When both stages have completed, the total duration from verification start to settlement completion appears below the circles.

### Channel, Network and Wallet column

| Field | Description |
| Channel | The surface that processed this payment. Linked to the surface detail view. |
| Network | The blockchain network the payment was settled on, for example base or base-sepolia. |
| Wallet | Recipient wallet address. Linked to the network’s block explorer when one is available. |

### Processing milestones column

Shows the key timestamps for each stage:

| Milestone | Description |
| Created | When the payment transaction was first recorded. |
| Verified | When the payment was verified. Shown as a relative time (“2m ago”) for recent events; as a formatted timestamp for older events. Displays (In progress) when verification has not completed. |
| Settled | When the payment was settled on-chain. Displays (In progress) when settlement is pending. |

## Processing modes

| Mode | Description |
| Local | Verification performed on this gateway instance without an external facilitator. |
| Signature | Verification by signature check only, without on-chain confirmation. |
| Mock | Test mode: payment is accepted without real verification. Used in development and sandbox environments. |
| FabricGateway | Verification delegated to another gateway in the fabric (G2G). |
| ExternalFacilitator | Verification delegated to an external x402 facilitator service. |

## Status values

Status values come from the gateway’s internal payment pipeline. The overall status badge reflects the most advanced stage that has completed.

| Status | Stage | Meaning |
| verified | Verification | Payment proof was accepted. |
| completed | Verification or Settlement | Stage finished successfully. |
| settled | Settlement | On-chain or off-chain settlement confirmed. |
| failed | Either | Stage could not complete due to a protocol or network error. |
| error | Either | An unexpected error occurred. See the transaction detail for the error message. |

## Actions

The Actions column contains one row-level action:

| Action | Description |
| Delete | Removes the transaction record from the gateway’s local store. This does not reverse any on-chain settlement. |

The Channel, Network & Wallet cell contains a View transaction details link when a recipient is recorded on the transaction. Selecting it opens a modal showing the raw transaction record as JSON, including any error messages from the verification or settlement stages.

Use the Refresh button at the top of the page to re-fetch all transactions and chart data from the gateway.

## Related

- [x402](/products/affinidi-trust-fabric/agent-gateway/concepts/protocols/x402.md): Conceptual overview of the x402 payment protocol and how the gateway enforces payment before forwarding.

- [Metrics reference](/products/affinidi-trust-fabric/agent-gateway/reference/observability/metrics.md): Field reference for per-request ConnectionMetric records.
