Mogami, x402 solutions, built in Java, thoroughly tested

x402 is a new standard for native payments on the Internet.
Mogami delivers SDKs, tools, and services built in Java to make x402 simple, reliable, and ready to use.

About us.

At Mogami, we believe the future of the Internet depends on seamless, frictionless value exchange.

That’s why we are building the x402 stack - SDKs, servers, console, and examples to get you from zero to production in minutes. Whether you’re monetizing APIs, enabling machine-to-machine commerce, or building AI agents, Mogami gives you the building blocks for fast, secure, and reliable payment flows.


Our mission:

Simplify x402 Adoption with our complete stack.

Enable Frictionless Monetization with our Java client and server SDKs.

Foster an Open x402 Ecosystem with core components released as open source.

Java client SDK

Use x402 payments into your apps: fetch requirements, sign, and send transactions.

Java server SDK

Protect your APIs with pay-per-call logic using a single Spring Boot annotation.

Facilitator server

Run your own payment gateway as a Docker image, or use ours online to verify and settle x402 transactions instantly.

x402 console

Trace every payment end-to-end with a live, time-ordered feed of server and facilitator messages.

Examples

Learn x402 through real-world demos of paywalled endpoints and instant payment flows.

Playground

Test x402 for real: call our example REST API, protected by x402, directly from your own client code.

Java client SDK

The Mogami Java Client SDK makes it easy to bring x402 payments into your applications. With just a few lines of code, you can fetch requirements, sign payloads, and send transactions securely. It handles expiration, authorization, and signature logic behind the scenes, so you can focus on building features instead of managing payments.

Easy Integration

Automatically retrieves the payment details required by an x402-protected endpoint, including the amount, currency, and expiration time.

Secure by Design

Handles authorization, expiration, and signatures out of the box.

Production Ready

Reliable SDK to simplify payment flows.

Get started

Java server SDK

The Mogami Java Server SDK lets you turn any endpoint into a pay-per-call API using the x402 protocol. With just one annotation, you can require stablecoin payments before granting access to your services - no accounts, no subscriptions, no friction. It handles payment verification, expiration, and signatures seamlessly, so you can focus on your business logic.

Pay-Gate Any Endpoint

Add x402 protection to any route instantly.

Verify Payments

Signature validation, expiration, and amount enforcement included.

Spring Boot Native

Plug & play integration, with error handling built in.

Get started

Facilitator server

The Mogami Facilitator Server acts as your payment gateway for x402. You can run it as a Docker image within your own infrastructure, or use our always-on hosted facilitator online. It verifies, authorizes, and settles x402 transactions in real time, connecting your services to the blockchain securely while keeping private keys safe.

Self-Hosted or Hosted

Run it yourself with Docker or use our managed gateway.

Real-Time Settlement

Verify and settle payments instantly on-chain.

Secure Gateway

Protects private keys while handling authorization.

Console

The Mogami X402 Console gives you unmatched visibility into every payment flow. It stitches together events from your server and facilitator into one live, time-ordered feed that you can scroll and search. Debug issues in seconds, trace problems to the exact frame, and export immutable logs to satisfy compliance or partner requirements.

End-to-End Tracing

Follow every message across server, facilitator, and blockchain.

Crystal-Clear Insights

Debug and resolve issues faster with live feeds.

Compliance Ready

Export immutable payment trails for audits.

Examples

Our examples showcase real-world x402 payment flows you can run and adapt instantly. From protecting endpoints with paywalls to demonstrating full transaction lifecycles, they’re designed to teach by doing. Each example comes with ready-to-use code so you can explore, learn, and integrate x402 in minutes.

Learn by Doing

Explore real x402 use cases.

Ready-to-Use Code

Copy, run, and adapt instantly.

Practical Scenarios

Covers APIs, endpoints, and payment flows.

Get started

Playground

The Mogami Playground lets you experience x402 in action. It’s a live REST API protected by x402 that you can call directly from your own client code. No setup or extra services required — just hit the endpoint, send payments, and see how instant stablecoin transactions work in practice.

Real API

A live endpoint protected by x402.

Developer-Friendly

Call it directly from your own client code.

Instant Feedback

Experiment and debug flows in seconds.

Get started

Still have questions?

We're still in the early stages of building and exploring what x402 can unlock — and we'd love your input. If you're curious, confused, or just want to chat about use cases, feel free to reach out.