Skip to main content

Route snapshot

A route snapshot is the record the registry stores for each payment-protected endpoint. It captures everything an agent needs to know to make a payment.

Snapshot format

How snapshots are captured

payMiddleware captures the snapshot automatically. The description comes from your middleware configuration:
If you omit description, the registry entry will have no description — agents see only the route path and price.

Submitting manually

You can also submit a snapshot manually if you want to pre-register a route before it receives traffic:

Snapshot fields