agentic-payments

Integrates paid API access for AI agents via x402 or MPP payment modes on Stellar.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you add reliable, auditable paid-API payment flows for AI agents and machine-to-machine clients on Stellar, so requests can be gated behind protocol-enforced payments. It reduces friction by supporting fee sponsorship (zero-XLM clients) and high-frequency throughput using payment channels. It also avoids overcomplicated blockchain integration by providing clear protocol choices based on your dependency and request-rate needs.

Core Features & Use Cases

  • x402 (Paid APIs + fee-sponsored buyers): Integrate an Express API that clients pay via OZ Channels, with clients signing auth entries while the facilitator assembles and settles the Stellar transaction.
  • MPP Charge (per-request on-chain settlement): Enable direct Soroban SAC token transfers per request with optional server fee sponsorship for clients.
  • MPP Channel (high-frequency off-chain commitments): Support many requests per session by depositing once, signing cumulative commitments off-chain, and settling once when closing.
  • Use Cases: Charge an agent for each API call, sell a paid endpoint to AI agents with minimal client requirements, or design a channel-based architecture for high-volume agent traffic.

Quick Start

Use the agentic-payments skill to choose x402 when you want the fastest setup for selling a paid API to agents with zero XLM client requirements.

Frequently Asked Questions about agentic-payments

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

FAQPage Schema
How do I charge AI agents for API access using Stellar USDC?

You can charge AI agents for API access on Stellar by using x402 facilitated payments or Soroban SAC transfers. This enables machine-to-machine clients to pay per HTTP request using USDC without manual transaction assembly.

What is the best way to handle high-frequency micropayments for agents without per-request on-chain transactions?

For high-frequency micropayments without per-request on-chain transactions, use MPP channel mode. Clients deposit once, sign off-chain commitments during the session, and settle a single Soroban transaction when closing.

Can I monetize an Express API for AI agents if the client has zero XLM for fees?

Yes, you can monetize an Express API for zero-XLM clients using x402 with fee sponsorship. The server sponsors fees while the facilitator assembles and settles the Stellar transaction, requiring the client to only sign auth entries.

How does MPP charge mode differ from using x402 for agent payments?

MPP charge mode executes direct Soroban SAC token transfers per API request for immediate on-chain settlement. Conversely, x402 uses a facilitator to assemble and settle the Stellar transaction from client-signed auth entries.

Do I need a specific network selection to process Soroban SAC payments for agents?

Yes, processing Soroban SAC payments requires correct CAIP-2 network selection. You must also configure USDC SEP-41 SAC default handling and choose between facilitator or no-facilitator modes based on your dependency needs.

When should I avoid using per-request on-chain settlement for paid AI endpoints?

Avoid per-request on-chain settlement when designing high-volume agent traffic architectures. If agents repeatedly call paid HTTP endpoints, MPP channel mode handles many requests per session off-chain to prevent network congestion.