Slimepay Merchant SDK

Everything you need to accept crypto from customers and settle in Naira directly into your recipient accounts with a single integration.

Quickstart

From install to first checkout in minutes

Install the SDK, initialize checkout in your UI, then open the injected checkout modal. All keys, recipients, and settlements are managed in the merchant dashboard.

1. Install the SDK
npm install @tineon/t9n
# or
pnpm add @tineon/t9n
2. Initialize checkout
import { initializeT9n } from "@tineon/t9n";

const checkout = initializeT9n({
  publicKey: "pk_live_xxx",
  amountNgn: 35000,
  currencies: ["BTC", "ETH", "TRX"],
  customer: { email: "buyer@example.com", name: "Ada", reference: "order-123" },
  metadata: { orderId: "order-123" },
  onSuccess: (payload) => {
    console.log("paid", payload.reference);
  },
  onClose: () => {
    console.log("checkout dismissed");
  }
});

checkout.open();
3. Auto session creation
When you call checkout.open(), the SDK creates the session automatically
using your public key and payload. You don't need to create a session manually
unless you want server-side control.
What happens next?

After checkout opens, the customer completes the transfer on-chain and Slimepay verifies the deposit before releasing settlement to the merchant recipient.