Skip to main content
FossaPay provides two official JavaScript and TypeScript SDKs. Use the Node SDK for server-side money movement and the Checkout SDK when customers need to complete a hosted checkout.

Node SDK

Create customers and wallets, collect payments, inspect transactions, resolve bank accounts, send individual payouts, and verify webhooks from a trusted server.

Checkout SDK

Create payment links or one-time checkouts on your server, then present the hosted checkout as a modal, inline frame, redirect, or new tab.

Choose an SDK

You can install both packages in the same application. A common integration uses @fossapay/checkout/server to create a checkout in a protected backend route and @fossapay/checkout or @fossapay/checkout/react to open the returned URL in the browser.
Never expose a FossaPay API key in browser code. Only the browser and React exports from the Checkout SDK belong in your frontend bundle.

Install

Both packages include TypeScript declarations and support ES modules and CommonJS.

Get help

Before contacting support, include the package name and version, the operation being called, the HTTP status, the FossaPay request ID when available, and a redacted error response. Never include API keys, webhook secrets, or complete customer financial details.

Contact FossaPay support

Send SDK integration questions to product@fossapay.com.