Main API

Browser-compatible JavaScript API client for Papaya crypto payments, subscriptions, and revenue splits with no axios dependency.

✅ Works in modern browsers

✅ Uses native fetch()

✅ Non-custodial, signer-based transaction execution

✅ Supports USDT/USDC on Ethereum and L2s (Arbitrum, Base, etc.)


📦 Installation

npm install @papaya_fi/api ethers

Features

  • Simple interface for interacting with the Papaya Protocol

  • Support for multiple networks (Ethereum, Base, Polygon, BSC, Avalanche, etc.)

  • Multiple stablecoin support (USDT, USDC, PYUSD)

  • Typed definitions for better development experience

  • Multiple contract version support

  • BySig methods for gasless transactions

  • Comprehensive transaction handling

  • Utility functions for rate conversions and data formatting

Quick Start

Support

For questions, issues or feature requests, please open an issue on our GitHub repository or contact us at Papaya Communityarrow-up-right.

Jump right in

Last updated