Skip to content

Releases: cp0x-org/mppx

v0.1.0

30 Mar 15:12

Choose a tag to compare

mppx-go v0.1.0

Go SDK for Machine Payment Protocol — an HTTP 402-based standard for machine-to-machine payments.

Server returns 402 Payment Required with a signed challenge; client automatically pays and retries.


🚀 Highlights

  • Full 402 payment flow (challenge → payment → retry)
  • Server + client SDK
  • HTTP middleware (net/http, Gin, Fiber)
  • Multiple payment methods support
  • Tempo (on-chain + payment channels)
  • Stripe integration

📦 Included

  • Core — protocol types, signing, headers, errors
  • Server — handlers, middleware, multi-method support
  • Client — automatic 402 handling & retry
  • Middleware — Gin & Fiber
  • Payments
    • Tempo — TIP-20 transfers + payment channels
    • Stripe — charge verification

📚 Examples

  • Basic HTTP server/client
  • Middleware (Gin, Fiber)
  • Multi-method payments
  • Tempo (charge + session)
  • Stripe flow

👉 See repository examples for details


⚙️ Requirements

  • Go 1.25+

Full Changelog: https://github.com/cp0x-org/mppx/commits/v0.1.0