Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.unseen.finance/llms.txt

Use this file to discover all available pages before exploring further.

You now know how a payment evolves over time; this SDK is how your backend creates and verifies those sessions programmatically.

Package

The server SDK is published as @unseen_fi/sdk.
npm install @unseen_fi/sdk
Requires a modern Node runtime with global fetch (Node 18+).

Create a client

import { UnseenClient } from "@unseen_fi/sdk";

const unseen = new UnseenClient({
  apiKey: process.env.UNSEEN_API_KEY!,
  network: "mainnet", // or "devnet" — align hosts per /concepts/environments
});

// Optionally override the API host entirely:
// new UnseenClient({ apiKey, baseUrl: "https://staging.example.com" })
See Payments API for payments.* methods and Webhooks verification for unseen.webhooks.verify. Next: Client & payments