Louis Innovations releases the SADAD Payment Gateway SDK for JavaScript and TypeScript, bringing first-class SADAD payment integration to the JavaScript ecosystem.
Why JavaScript Developers Need This SDK:
JavaScript powers the majority of web applications in Qatar and across the GCC. From Node.js backends to React frontends, developers need reliable payment integration tools. Our SDK provides type-safe, well-documented methods for every SADAD operation.
Core Capabilities:
Web Checkout - Initialize payment sessions, generate checkout URLs, and handle payment callbacks. Full TypeScript type definitions ensure you catch errors at compile time, not in production.
Invoice Management - Create, retrieve, update, and cancel invoices. Support for recurring invoices and bulk operations. Each method returns strongly typed responses.
Refund Operations - Process refunds with validation, track status changes, and handle edge cases like expired payment windows. Built-in retry logic for network failures.
TypeScript First - Every method, parameter, and response is fully typed. IntelliSense works out of the box in VS Code. No more guessing API response shapes.
Dual Environment Support - Works in Node.js for server-side integrations and in browsers for client-side checkout flows. Tree-shakeable ESM builds keep bundle sizes small.
Getting Started:
Install from npm. Import the client, pass your API credentials, and start processing payments. The README includes complete examples for common scenarios including Express.js webhooks, Next.js API routes, and browser-side checkout.
Repository: github.com/louisinnovationsqatar/sadad-js-sdk
Licensed under MIT. Contributions welcome from the Qatar developer community.

