Quickstart
Take your first payment
Five steps from a new account to a live checkout. You only need a frontend to start; a server is optional.
Create and verify your account
Sign up and confirm the six digit code we email you. Checkout and the dashboard unlock once your email is verified.
Add where you want to be paid
In the dashboard, open Recipients and add your bank account as the default. Every confirmed payment is paid out there in naira.
Install the SDK
Terminal npm install @tineon/t9nCreate a checkout
Copy your public key from the API keys card on your dashboard. The amount is in naira; Slimepay works out the crypto amount at the live rate when the customer picks a coin.
checkout.ts import { initializeT9n } from "@tineon/t9n"; const checkout = initializeT9n({ publicKey: "pk_live_xxx", amountNgn: 35000, currencies: ["BTC", "ETH", "USDT"], customer: { email: "buyer@example.com", reference: "order-123" }, hooks: { onSuccess: ({ sessionId }) => markOrderPaid("order-123", sessionId), onFail: ({ error }) => console.warn("checkout failed", error), }, });Open it // Render Slimepay's button into a container checkout.mountButton("#pay", { text: "Pay with crypto" }); // Or open the sheet from your own button document.querySelector("#my-button").addEventListener("click", () => checkout.open());Confirm the payment on your side
Hooks run in the customer's browser, so before you ship goods check the status yourself using the
referenceyou passed in.verify.ts import { verifyT9nTransaction } from "@tineon/t9n"; const result = await verifyT9nTransaction( { publicKey: "pk_live_xxx" }, { reference: "order-123" } ); if (result.status === "settled") fulfil("order-123");
Trying it out
The sandbox page in your dashboard mounts the checkout with your own key, so you can walk through the full flow before adding it to your site.