mppx

Facilitate end-to-end 402 payment flows between clients and servers using Tempo and Stripe.

Updated May 1, 2026
One-click install
npx skills add https://github.com/wmb81321/p2pai --skill mppx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mppx
Source: https://github.com/wmb81321/p2pai/tree/main/.agents/skills/mppx
Command: npx skills add https://github.com/wmb81321/p2pai --skill mppx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript SDK that enables secure 402 payment flows (challenge → credential → receipt) between clients and servers using Tempo, Stripe, and other providers.

Core Features & Use Cases

  • Full 402 flow: challenge, credential, and receipt handling for Tempo and Stripe integrations.
  • Client and server integrations with modular exports and middleware options.
  • CLI tooling for paid requests and easy onboarding in development.

Quick Start

Install the mppx package and initialize a client with tempo and stripe methods to begin a 402 payment flow.

Frequently Asked Questions about mppx

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

FAQPage Schema
How do I implement 402 payment flows in a TypeScript application?

You implement 402 payment flows by using this SDK to facilitate challenge, credential, and receipt handling between clients and servers using Tempo and Stripe integrations.

What is a 402 payment challenge and credential flow?

A 402 payment challenge and credential flow is a secure process where clients and servers exchange payment authenticity verifications and receipts using providers like Tempo and Stripe.

Can I integrate Stripe and Tempo payments into my web server middleware?

Yes, you can integrate Stripe and Tempo payments into server middleware using the provided modular exports and middleware options designed for browser and server environments.

How do I test paid API requests during development?

You test paid API requests during development by using the included CLI tooling, which provides easy onboarding and allows you to execute paid requests directly from your environment.

Does this 402 payment SDK work in both browser and server environments?

Yes, this 402 payment SDK works in both browser and server environments by providing modular client and server bindings that facilitate secure payment challenges across web services.