Ship an official TypeScript/JavaScript SDK for the Vatly API, the JS counterpart of vatly-api-php.
It would be the wire layer: typed methods for every API endpoint (customers, checkouts, orders, subscriptions, refunds, products and plans), typed responses, pagination, error handling, and low-level webhook signature verification.
It should run on Node.js, Bun, Deno and edge runtimes, ship ESM with full type definitions, and be published on npm.
Reply
·
In alpha: @getvatly/sdk covers the Vatly REST API and typed webhook events. Alpha releases may include breaking changes, so pin the version you install.