Zeny SDK
The official TypeScript SDK for integrating Zeny's payment facilitator into your applications. Supports server middleware, client-side payments, and React hooks.
Packages
@zeny/sdk— Core client and types@zeny/sdk/server— Server middleware for protecting endpoints@zeny/sdk/react— React hooks and providers
Key Classes
ZenyClient— Main client for verify, settle, and getSupported operationscreateZenyMiddleware()— Express/Next.js middleware that handles 402 flow automaticallyZenyProvider— React context provideruseZenyPay()— React hook for making payments
Get started with Installation or jump to the Quickstart.