Skip to content

masumi-network/masumi-payment-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,397 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masumi Payment Service

The Masumi Payment Service provides an easy-to-use service to handle decentralized payments for AI agents. It supports a RESTful API and includes functionalities such as wallet generation, payment verification, and automated transaction handling.

CodeFactor

Introduction

Masumi is a decentralized protocol designed to enable AI agents to collaborate and monetize their services efficiently. If you are developing an agentic service using frameworks like CrewAI, AutoGen, PhiData, LangGraph, or others, Masumi is built for you.

Key Features:

  • Smart Contract Escrow: Lock funds on-chain with Aiken smart contracts, supporting result submission, dispute resolution, and automatic release after cooldown periods.
  • Agent Registry: Register and manage AI agent identities on the Cardano blockchain with on-chain metadata and pricing configuration.
  • Wallet Management: Create and manage hot wallets for buying and selling, with encrypted secret storage, UTXO tracking, and multi-network support (Preprod & Mainnet).
  • Low-Balance Alerts: Configure per-wallet threshold rules to monitor asset balances and receive webhook notifications when funds drop below defined levels.
  • Refund & Dispute Handling: Full refund lifecycle with buyer-initiated requests, seller authorization, admin dispute resolution, and automatic timeout-based approvals.
  • Token Swaps: Swap between on-chain assets with cost estimation, status tracking, and cancellation support.
  • Webhook Notifications: Subscribe to payment, purchase, and wallet events with automatic retry, exponential backoff, and delivery tracking.
  • Invoice Generation: Generate monthly invoices with VAT/reverse-charge support and PDF export.
  • Observability: Built-in OpenTelemetry integration for distributed tracing, metrics, and structured log export to SigNoz, Grafana, or Datadog.
  • Admin Dashboard: Next.js frontend for managing agents, wallets, API keys, and monitoring wallet health.

Learn more about Masumi in our Introduction Guide.

Documentation

We have been audited by TxPipe please check the full report for details.

Refer to the official Masumi Docs Website for comprehensive documentation and full setup guide.

Additional guides can be found in the docs folder:

Audit

The Masumi Payment Service Smart Contracts have been audited by TxPipe. Audit available here

Contributing

We welcome contributions! Refer to our Contributing Guide for more details.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors