Singularity Layer · AsyncAPI Specification

X402Layer Cc Webhooks

Version

View Spec View on GitHub AI ComputeDecentralized AIMarketplacePaymentsCloud GPUNo‑code StudioAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-11-29'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://docs.x402layer.cc/cloud/processors/webhooks.md
sources:
- https://docs.x402layer.cc/cloud/processors/webhooks.md
- https://docs.x402layer.cc/payments/webhooks.md
- https://docs.x402layer.cc/api-reference/webhooks-list.md
- https://docs.x402layer.cc/api-reference/webhooks-create.md
description: Singularity Layer provides two distinct webhook systems – one for processor events and one for payment events.
events:
- event: sale.completed
  description: a buyer paid and the run finished successfully
- event: run.failed
  description: a paid run ran and failed
- event: run.failed_platform
  description: a paid run failed on our side (excluded from your failure rate)
- event: test.ping
  description: a test ping event delivered via the test endpoint
- event: payment.succeeded
  description: buyer pays for any of your resources – endpoints, products, components, or agent endpoints
delivery:
  signature: X-SGL-Signature (Stripe‑style HMAC‑SHA256) and X-X402-Signature (plain HMAC‑SHA256)
  content_type: application/json POST body (raw body used for HMAC verification)
note: Processor webhooks also include X‑SGL‑Event (the event type) and X‑SGL‑Delivery (delivery id). Payment webhooks include X‑X402‑Timestamp
  for replay protection. No additional authentication header is required beyond the HMAC signature verification using the signing secret provided
  at registration/creation time.
docs: https://docs.x402layer.cc/cloud/processors/webhooks.md

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/x402layer-cc-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.