> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attexra.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks & Interoperability Adapters

> Signed event webhooks with retries, ERC-8004 agent cards, W3C VC verification, and EVM/payment reconciliation adapters.

Phase Six connects Attexra to external agent registries, payment providers, EVM testnets, and event consumers without coupling policy evaluation to any single provider.

## Signed Webhooks (`POST /v1/webhooks`)

Subscribe an HTTPS endpoint to any normalized domain event (e.g. `authorization.decided`, `financial.reconciled`, or `*`):

* Every delivery includes an HMAC-SHA256 signature header:
  ```text theme={null}
  X-Attexra-Signature: t=1764790000,v1=<hex-hmac-sha256>
  ```
* Verify the signature by computing `HMAC-SHA256(secret, "{t}.{rawBody}")` using constant-time comparison and rejecting timestamps outside your tolerance window.
* Failed deliveries retry automatically with exponential backoff (`1s`, `4s`, `16s`) and are inspectable via `GET /v1/webhooks/{webhookId}/deliveries`.

## ERC-8004 Agent Registration Card

Export any registered Attexra agent as an ERC-8004-compatible registration metadata document via `GET /v1/agents/{agentId}/erc8004`, including CAIP-10 wallet bindings (`eip155:84532:0x...`) and supported trust mechanisms.

## W3C Verifiable Credentials (`POST /v1/agents/{agentId}/credentials/verify`)

Validate external `vc+jwt` or JSON-LD `DataIntegrityProof` credentials against W3C structural rules (and optional HMAC/Ed25519 verification keys) before storing an attested credential record on the agent.

## External Settlement Adapters

* **Payment Provider Sandbox Callbacks (`POST /v1/integrations/providers/{provider}/callback`)**: Validates `X-Provider-Signature` and maps normalized settlement payloads directly into financial reconciliation.
* **EVM JSON-RPC Receipt Observer (`POST /v1/integrations/providers/evm/reconcile`)**: Reads transaction finality (`eth_getTransactionReceipt` + `eth_blockNumber`) from an EVM testnet RPC URL (e.g. Base Sepolia) and reconciles the instruction without holding custody keys.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.