MPPFi enables AI agents to execute financial transactions autonomously using the Machine Payments Protocol (MPP) on Solana blockchain. All payments are cryptographically signed, policy-enforced, and settled on-chain with sub-second finality.
Payment Flow Architecture
Standard Payment Lifecycle
Copy 1. Payment Initiation (Agent)
└─> Policy Validation (MPPFi)
└─> Transaction Construction (Solana)
└─> Cryptographic Signing (Agent HSM)
└─> On-Chain Settlement (Solana Network)
└─> Confirmation & Receipt (MPP Protocol)
└─> Webhook Notification (Real-time) Machine Payments Protocol (MPP)
MPP is the standardized protocol for agent-to-merchant payments:
Discovery : Merchants expose MPP endpoints for agent discovery
Negotiation : Agents evaluate pricing, terms, and payment methods
Authorization : Cryptographic signatures prove agent identity
Settlement : On-chain transfers with atomic guarantees
Verification : Blockchain proofs provide immutable receipts
1. Direct Transfers
Send funds directly to another Solana address.
Response:
2. MPP Service Payments
Pay for services using Machine Payments Protocol.
MPP Payment Flow:
Discovery : Agent queries merchant's MPP manifest
Quotation : Merchant provides real-time pricing
Authorization : Agent signs payment with private key
Settlement : Funds transferred on Solana blockchain
Access : Merchant grants service token upon confirmation
3. Recurring Payments
Schedule automated payments with on-chain enforcement.
Recurring Payment Features:
Smart Contract Enforcement : Payments executed by Solana program
Predictable Scheduling : Precise timing with blockchain timestamps
Policy Compliance : Each payment validates against spending limits
Atomic Cancellation : Cancel anytime with on-chain guarantee
Payment History : Complete audit trail on blockchain
4. Batch Payments
Execute multiple payments atomically in a single transaction.
Batch Payment Benefits:
Atomic Execution : All payments succeed or all fail together
Cost Efficiency : Single transaction fee for multiple transfers
Parallel Processing : Leverages Solana's parallel execution
Simplified Accounting : One transaction ID for entire batch
State Descriptions
Policy Enforcement
All payments are validated against agent spending policies before execution.
Policy Check Example
Policy Validations:
Amount Limits : Per-transaction, daily, weekly, monthly caps
Merchant Allowlists : Approved recipient addresses only
Category Restrictions : Spending limits by service category
Time Windows : Allowed hours/days for transactions
Velocity Checks : Maximum transactions per time period
Balance Requirements : Minimum balance thresholds
Payment Methods
Supported Assets
MPPFi supports multiple digital assets on Solana:
Currency Conversion
Transaction Fees
Platform Fees:
0.2% per transaction (minimum $0.10)
Volume discounts available for high-throughput agents
Free for intra-MPPFi transfers
Network Fees (Solana):
0.000005 SOL per transaction ( $0.001)
Paid from agent's SOL balance
Automatic SOL top-up available
Payment Receipts
Every payment includes a cryptographically verifiable receipt.
Receipt Contents:
Payment Details : Amount, currency, participants
Blockchain Proof : Transaction hash, block number, timestamp
Cryptographic Signature : Agent's signature over payment data
Policy Attestation : Hash of enforced spending policy
Verification URL : Direct link to blockchain explorer
Refunds and Reversals
Initiating Refunds
Refund Process:
Agent or merchant initiates refund request
Counterparty approves (if required by merchant policy)
New blockchain transaction created for reverse transfer
Funds returned to agent's account
Original payment marked as refunded
Important Notes:
Refunds are new transactions, not blockchain reversals
Network fees apply to refund transactions
Partial refunds supported
Refund history linked to original payment
Payment Security
Cryptographic Verification
Every payment is signed with the agent's private key:
Security Features
HSM Key Storage : Private keys never leave hardware security modules
Non-Replayability : Nonces prevent transaction replay attacks
Time-Limited Signatures : Signatures expire after 60 seconds
Multi-Signature Support : Optional co-signing for high-value payments
Blockchain Finality : Irreversible confirmation in <1 second
Policy Pre-Flight : All payments validated before signing
Monitoring and Analytics
Real-Time Payment Tracking
Payment Analytics
Use idempotency keys to prevent duplicate payments:
2. Webhook Confirmations
Don't rely solely on API responses for confirmation:
3. Balance Management
Monitor balances before initiating payments:
Implement exponential backoff for transient failures:
5. Transaction Receipts
Always store blockchain signatures for audit trails:
Payment endpoints have the following rate limits:
Note : Solana blockchain can process 65,000 transactions per second, so blockchain throughput is not a bottleneck.
Configure Webhooks for real-time notifications