Skip to content
PramaanDPDP Live
TypeScript SDK

Ship PRAMAAN from one typed client.

The official @pramaan/sdk RC covers badge reads, verify-anyone handoff streams, scan payments and HMAC webhook verification.

RC 1

Install and verify

Install

npm install @pramaan/[email protected]

Import

import { PramaanClient } from '@pramaan/sdk';

Dry run

npm publish --dry-run

Badge lookup

import { PramaanClient } from '@pramaan/sdk';

const client = new PramaanClient({
  apiKey: process.env.PRAMAAN_API_KEY,
});

const badge = await client.badges.get('rajesh-bengaluru-9821');
console.log(badge.trust_verdict, badge.trust_score);

Generated contract

Operation manifest generated from /openapi.json with typed helpers for the public API surface.

Problem Details

SDK errors carry RFC 7807 response bodies and correlation IDs for support handoff.

Integrator auth

API keys, bearer sessions and idempotency keys are handled without custom request glue.