Developers › Building on the API
The SDK
Verified 6 November 2026
npm install @secureprocessing/nodeNode 20+, Bun, Cloudflare Workers and Deno. It uses only fetch and Web Crypto, so there is nothing to polyfill and nothing to bundle.
Deno and Supabase Edge Functions
Import it straight from us. The URL is pinned to a version and that version’s bytes never change, so the code you reviewed is the code that runs.
import { SecureProcessing } from "https://secureprocessing.app/sdk/0.2.6/index.js";
const sp = new SecureProcessing(Deno.env.get("SECURE_PROCESSING_KEY")!);The types come with it: each file names its own declarations, so deno check and your editor see every type with no @deno-types line. If you are upgrading from 0.1.0, delete that line — it only ever typed the entry point.
On the Deno CLI this needs one flag, because Deno 2 only imports from hosts on its built-in allow-list unless you say otherwise:
deno run --allow-net --allow-env --allow-import=secureprocessing.app your-script.tsOptions
new SecureProcessing(apiKey, {
baseUrl: "https://api.secureprocessing.app",
timeout: 30_000,
maxRetries: 2,
fetch: myFetch, // a Worker's fetch, or a test double
});Without the SDK
It is an ordinary REST API and the SDK is a convenience. The API reference documents every endpoint, and the OpenAPI document behind it can generate a client in any language.