agentic-payments

Implement x402 and MPP machine-to-machine payment protocols on Stellar.

Updated Jul 26, 2026
One-click install
npx skills add https://github.com/chrissstellee/Movix --skill agentic-payments-chrissstellee
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agentic-payments
Source: https://github.com/chrissstellee/Movix/tree/main/.agents/skills/agentic-payments
Command: npx skills add https://github.com/chrissstellee/Movix --skill agentic-payments-chrissstellee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @x402/express, @x402/core, @x402/stellar, @x402/fetch, @stellar/mpp, mppx, @stellar/stellar-sdk, express, dotenv.

What problem does it solve? Monetizing APIs for AI agents and machine clients requires payment rails that settle per request without human checkout flows, and developers need guidance choosing between facilitator-based and facilitator-free protocols on Stellar. ## Core Features & Use Cases - x402 Paid APIs: Monetize an Express API with HTTP 402 responses settled through the OZ Channels facilitator, with fee sponsorship so clients need zero XLM. - MPP Charge Mode: Accept per-request USDC payments via direct SAC transfers with no third-party facilitator dependency. - MPP Channel Mode: Support high-frequency agent traffic using off-chain cumulative commitments with only two on-chain transactions per session. - Use Case: An AI agent calls your weather API hundreds of times per session; deploy a payment channel, collect signed off-chain commitments per request, and settle the total in one closing transaction. ## Quick Start Set up an x402-paid Express endpoint on Stellar testnet that charges 0.001 USDC per request using the OZ Channels facilitator.

Frequently Asked Questions about agentic-payments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monetize an API with x402 on Stellar?▼

Install @x402/express, @x402/core, and @x402/stellar, then add paymentMiddleware with a price, network, and payTo recipient account. The OZ Channels facilitator verifies and settles payments, and an API key is required on both testnet and mainnet.

What is the difference between x402 and MPP on Stellar?▼

x402 settles each request on-chain through the OZ Channels facilitator with fee-sponsored clients, while MPP settles directly via SAC transfers with no facilitator. MPP Channel mode additionally supports off-chain cumulative commitments for high-frequency agents.

Can x402 clients pay without holding XLM?▼

Yes, x402 clients need zero XLM because the OZ Channels facilitator sponsors all network fees. Clients only sign contract auth entries rather than full transaction envelopes, so they never manage sequence numbers or fees.

Why does my Stellar payment fail with op_no_trust?▼

The op_no_trust error occurs when the payer or recipient account lacks a USDC trustline. Add a changeTrust operation for the USDC asset to both accounts before attempting any x402 or MPP payment.

When should I use MPP Channel mode instead of Charge mode?▼

Use Channel mode when an agent makes hundreds of requests per session, since it requires only two on-chain transactions for deposit and close. Charge mode creates one on-chain transaction per request and suits lower-frequency payments.