Skip to content

docs: add x402 payment standard page under AI Studio on Hedera#550

Merged
theekrystallee merged 9 commits into
hashgraph:mainfrom
blockydevs:docs/hedera-x402
May 27, 2026
Merged

docs: add x402 payment standard page under AI Studio on Hedera#550
theekrystallee merged 9 commits into
hashgraph:mainfrom
blockydevs:docs/hedera-x402

Conversation

@piotrswierzy
Copy link
Copy Markdown
Contributor

@piotrswierzy piotrswierzy commented May 25, 2026

Description:

Add a top-level x402 doc covering Hedera's official "exact" payment
scheme and reference implementation in the x402 repo.

  • Explain what x402 is/is not, who uses it, and its use cases to correct the "magic crypto-for-agents" misconception
  • Document the facilitator-as-feePayer flow and the PaymentRequirements /PaymentPayload/SettlementResponse messages
  • Add client/server usage examples; note @x402/hedera is not yet on npm (use from the x402 monorepo source)
  • Cover requirements and limitations
  • Highlight the Blocky402 facilitator (verified hedera:testnet endpoint and docs) plus how to run and get listed as a Hedera facilitator
  • Link the Hedera blog, scheme spec, package, whitepaper, and report

Register the page in docs.json under the "AI Studio on Hedera" group.

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

    Add a top-level x402 doc covering Hedera's official "exact" payment
    scheme and reference implementation in the x402 repo.

    - Explain what x402 is/is not, who uses it, and its use cases to
      correct the "magic crypto-for-agents" misconception
    - Document the facilitator-as-feePayer flow and the PaymentRequirements
      /PaymentPayload/SettlementResponse messages
    - Add client/server usage examples; note @x402/hedera is not yet on npm
      (use from the x402 monorepo source)
    - Cover requirements and limitations
    - Highlight the Blocky402 facilitator (verified hedera:testnet endpoint
      and docs) plus how to run and get listed as a Hedera facilitator
    - Link the Hedera blog, scheme spec, package, whitepaper, and report

    Register the page in docs.json under the "AI Studio on Hedera" group.

Signed-off-by: Piotr Swierzy <piotr.swierzy@blockydevs.com>
@chopmob-cloud
Copy link
Copy Markdown

@piotrswierzy @walkerlj0 -- adding a data point for the Hedera x402 facilitator listing (point 6 of the issue scope on hashgraph/hedera-agent-kit-js#806).

AlgoVoi APM (Agent Payment Module) runs x402 on Hedera in production via the gateway at api.algovoi.co.uk. The Hedera-specific envelope shape was posted on the parent issue #806 on 2026-05-16 as a concrete example of the exact scheme: HTS token-ID asset field, Hedera account-ID payTo field, fee-payer model. Two shape gotchas worth a callout in the page (HTS decimal-string asset, not 0x hex; Hedera 0.0.X account-ID payTo) are also in that comment.

Facilitator surfaces:

  • Production endpoint: api.algovoi.co.uk -- supports the Hedera exact scheme alongside 7 other chain families (Algorand, VOI, Solana, Stellar, Base, Tempo, Ethereum)
  • Hedera testnet x402 resource example: https://api.algovoi.co.uk/r/demo/x402-test-hedera
  • /supported declaration includes Hedera mainnet + testnet with the standard signer metadata
  • Settlement emits categorical receipts under draft-hopley-x402-canonicalisation-jcs-v1 (POSTED IETF Internet-Draft, sole AlgoVoi authorship); the receipt-format suite covers compliance / settlement / cancellation / refund / composite-trust-query
  • APM landing page: docs.algovoi.co.uk/platform/apm
  • Substrate Adopters Registry recording the canonicalisation discipline: docs.algovoi.co.uk/adopters

The page would benefit from at least two production-grade Hedera facilitator entries (parallel coverage, not single-vendor) so readers see Hedera x402 as ecosystem infrastructure rather than implementation-specific. Happy to PR the facilitator-list entry directly against this branch or file a follow-up PR once #550 lands -- whichever path keeps the review cycle short for you.

-- AlgoVoi

Copy link
Copy Markdown

@narbs91 narbs91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look great overall to me, just a few comments/suggestions grammar wise

Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
Comment thread hedera/open-source-solutions/ai-studio-on-hedera/x402.mdx Outdated
@theekrystallee theekrystallee self-assigned this May 26, 2026
Hedera contributes its own **`exact` payment scheme and a reference implementation** to the official [x402 repository](https://github.com/x402-foundation/x402), so applications and AI agents can settle payments in HBAR or HTS tokens over x402 with the speed and low, predictable fees of the Hedera network.

<Info>
For the background story and Hedera's perspective on why this matters, read the announcement: [**Hedera and the x402 Payment Standard**](https://hedera.com/blog/hedera-and-the-x402-payment-standard/).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this renders on the site but not in github diff

Copy link
Copy Markdown
Member

@theekrystallee theekrystallee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. after you resolve comments i can approve to merge

skurzyp-blockydevs and others added 8 commits May 27, 2026 16:39
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Co-authored-by: Narb <29411347+narbs91@users.noreply.github.com>
Signed-off-by: Peter Swierzy <123735851+piotrswierzy@users.noreply.github.com>
Copy link
Copy Markdown
Member

@theekrystallee theekrystallee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@theekrystallee theekrystallee merged commit 3a61fcf into hashgraph:main May 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants