Getting started
Install
Section titled “Install”npm install @sahel/sdk@2Create a client
Section titled “Create a client”Find your API key in the dashboard under Settings → API keys.
import { Sahel } from "@sahel/sdk";
const sahel = new Sahel({ apiKey: process.env.SAHEL_KEY });Make a request
Section titled “Make a request”const invoice = await sahel.createInvoice({ customer: "cus_123", amount: 25000, currency: "NGN" });console.log(invoice.id);Next, read about configuration. Coming from v1? See migrating to v2.