Project

remitmd

0.0
The project is in a healthy, maintained state
DEPRECATED: This gem is no longer maintained. Use pay-cli (cargo install pay-cli) or pay SDKs (pip install pay-sdk / npm install @pay-skill/sdk). See https://pay-skill.com/docs for migration.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.12
~> 1.60
 Project Readme

pay-sdk

Python and TypeScript SDKs for Pay -- the complete x402 payment stack for AI agents. USDC on Base.

Install

TypeScript:

npm install @pay-skill/sdk

Python:

pip install payskill

Quick Start

TypeScript:

import { Wallet } from "@pay-skill/sdk";

const wallet = await Wallet.create();  // OS keychain (same key as CLI)
await wallet.send("0xprovider", 5);  // send $5
const response = await wallet.request("https://api.example.com/data");  // x402 auto-pay

Python:

from payskill import Wallet

wallet = Wallet()  # reads key from OS keychain
wallet.send("0xprovider", 5)  # send $5
response = wallet.request("https://api.example.com/data")  # x402 auto-pay

Both SDKs have identical API surfaces: 17 methods covering direct payments, tabs, x402 requests, webhooks, discovery, and wallet management. Dollar amounts by default.

SDK Documentation

Part of Pay

Pay is the complete x402 payment stack -- gateway, facilitator, SDKs, CLI, and MCP server -- that lets AI agents pay for APIs with USDC on Base.

License

MIT