---
title: "Machine-to-Machine Payment (M2M) — definition | Nuri Glossary"
description: "Devices paying each other automatically, no human approving each transaction."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/machine-to-machine-payment"
---

# Machine-to-Machine Payment (M2M)

Devices paying each other automatically, no human approving each transaction.

## Basically

Devices or software systems pay each other automatically. No person approves each payment.

## Key Takeaways

- Machine-to-machine payments are financial transactions that devices or software agents initiate and complete without a human authorising each payment. They use pre-set rules, budgets and cryptographic identities to operate autonomously.
- Traditional payment rails like card networks and ACH often charge minimum fees of $0.20 to $0.30 per transaction and take several days to settle. These costs and delays make high-frequency, sub-dollar M2M transactions economically impractical.
- Cryptocurrency networks such as Bitcoin's Lightning Network and Spark enable sub-cent micropayments with near-instant settlement. This makes them a natural fit for autonomous device economies.

## What Is a Machine-to-Machine Payment?

A machine-to-machine (M2M) payment is a financial transaction that a device, sensor or software system initiates and settles without a human approving each payment. The machine authenticates itself, negotiates terms and transfers value under predefined rules and spending limits instead of a person tapping a card or clicking "pay".
The concept comes from the broader Internet of Things (IoT) ecosystem, where billions of connected devices generate data and consume services. More autonomous devices need to pay for resources in real time, such as an electric vehicle paying a charging station per kilowatt-hour, a CDN node buying bandwidth from a peer or an AI agent paying for API calls per request.
M2M payments differ from standard automated billing, such as a recurring subscription, in their granularity and autonomy. M2M transactions can happen thousands of times per day at sub-cent amounts, triggered by real-time events rather than fixed schedules. The machine decides when to pay, how much and whom to pay within guardrails set by its owner.

## How It Works

An M2M payment system needs device identity and authorisation logic. It also needs a payment rail that can handle the transaction profile and a mechanism to settle the payment.

## A Typical M2M Payment Flow

An electric vehicle arriving at a charging station provides an example. The scenario assumes a fully autonomous M2M payment.
No human touched their phone. No card was swiped. The vehicle's agentic wallet handled the entire interaction under rules its owner configured once.

## Why Traditional Rails Fall Short

Card networks and bank transfer systems were designed for human-initiated commerce. Several structural limitations make them unsuitable for high-frequency M2M transactions.
Research on micro-transaction cost comparison by rail compares per-transaction costs across different payment rails. See that research for a deeper comparison.

## Cryptocurrency as M2M Infrastructure

Bitcoin's Lightning Network and layer-2 protocols like Spark address these limitations directly. Lightning payments settle in milliseconds, cost fractions of a cent and operate 24/7 without intermediaries. The protocol supports payments down to a single millisatoshi, or one-thousandth of a satoshi, enabling true sub-cent granularity.
Academic research has demonstrated Lightning-based M2M payment prototypes with per-payment costs of approximately 0.05 cents. These prototypes achieved throughput of at least 200 transactions per second, even on constrained IoT hardware. Spark extends this further by removing the need for payment channels entirely, simplifying integration for devices that cannot maintain persistent channel state.
Payment streaming is particularly relevant for M2M scenarios. A device can stream value continuously as it consumes a service instead of paying discrete invoices, paying per second or per unit of resource consumed.

## Electric Vehicle Charging

EV charging is the most mature M2M payment use case, and the ISO 15118 standard defines communication between vehicles and charging stations through Plug & Charge for automatic authentication and billing. Cryptocurrency micropayments let vehicles pay per kilowatt-hour in real time rather than settling a lump sum after the session. Dynamic pricing can adjust rates based on grid demand, time of day or renewable energy availability.

## IoT Sensor Data Marketplaces

Connected sensors generate valuable data, including weather readings, air quality measurements, traffic patterns and soil moisture levels. Devices in a sensor data marketplace buy data directly from other devices on a per-reading basis; a weather station might sell readings for fractions of a cent each to thousands of agricultural sensors that use the data to optimise irrigation. Traditional payment systems cannot process these volumes economically.

## CDN and Bandwidth Payments

Content delivery networks and peer-to-peer bandwidth sharing can use M2M payments to compensate nodes for serving content. Edge nodes can pay upstream providers per gigabyte transferred instead of using monthly contracts with fixed bandwidth allocations. This creates a real-time bandwidth market where price signals optimise traffic routing.

## API Metering and AI Agent Commerce

AI agents need to pay for the APIs and services they consume as they become autonomous economic actors, such as paying per search query, per document retrieved or per inference call when researching a topic. The x402 protocol embeds payment into HTTP requests, allowing agents to pay per API call using stablecoins or Bitcoin. Mastercard launched its Agent Pay for Machines (AP4M) framework in June 2026 with over 30 partners, including Coinbase, Stripe and Cloudflare, signalling mainstream recognition that machines will need their own payment infrastructure.
Research on agentic payments and stablecoin infrastructure gives a broader look at how AI agents interact with payment infrastructure. See that research to explore the topic further.

## Industrial Automation and Supply Chains

Factory machines can autonomously buy raw materials when inventory drops below a threshold, pay for predictive maintenance diagnostics or settle inter-facility transfers. Each micro-transaction creates an auditable record that simplifies reconciliation across complex supply chains.

## M2M Payments and Spark

Spark's architecture suits M2M payment scenarios. Spark uses a stateless model where devices hold virtual UTXOs that can be spent without persistent connections, unlike Lightning, which requires devices to manage channel state, liquidity and watchtowers. This matters for IoT devices that may go offline, use constrained hardware or lack the resources to run a Lightning node.
Spark also supports Bitcoin and stablecoin transfers via USDB, allowing M2M payments to be denominated in dollars when price stability is required. A charging station operator can receive dollar-denominated payments while a sensor data buyer pays in satoshis on the same network. See the Spark UX advantage over channels for a technical comparison.

## Authorisation and Spending Controls

Autonomous spending creates risk because a misconfigured spending policy, software bug or compromised device could drain funds rapidly. Effective policy engines need per-transaction limits, daily caps, counterparty whitelists and anomaly detection. The principle of least privilege applies: devices should hold only the minimum balance needed for their expected transactions.

## Security and Device Compromise

IoT devices are notoriously difficult to secure because many run outdated firmware, lack secure enclaves for key storage and operate in physically accessible locations. A compromised device with access to a funded wallet becomes an attack vector. Hardware security modules, secure boot chains and remote attestation help reduce this risk but add cost and complexity to each device.

## Standardisation

The M2M payment field is fragmented, with no universal protocol for device-to-device payment negotiation. EV charging has ISO 15118, but most other verticals lack equivalent standards. Interoperability between payment rails, device manufacturers and service providers remains an open challenge.

## Scalability and Network Congestion

Billions of devices making continuous micropayments would create transaction volumes far beyond what any single blockchain can handle on its base layer. Layer-2 solutions like Lightning and Spark are designed for this scale, but their capacity limits under peak load remain largely untested in real M2M deployments.

## Regulatory Uncertainty

Existing financial regulations assume human actors. Questions around liability when a machine makes a bad payment, consumer protection and anti-money laundering compliance for autonomous transactions remain largely unresolved. Regulatory frameworks will need to adapt as the market grows.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
