Managed Infrastructure • Simple Integration • Production Ready

The Gratitude Layer

Build on gratitude infrastructure. Three API calls to integrate universal @handles, portable reputation, and cross-platform identity.

The gratitude layer of the internet—managed by TYSM, accessible via API.

Integration in Minutes

Three API Calls. Full Identity Layer.

We run the infrastructure. You integrate the features.

Layer 1: HTTPS URLs

Works everywhere, right now

Documentation →
https://tysm.to/@alice
Universal Compatibility
Works in browsers, emails, SMS, QR codes, anywhere
Zero Installation
No apps required, works immediately
Guest Checkout
Anyone can send without signing up
SEO Friendly
Crawlable, indexable, shareable

Start here. This is the foundation. Everything else is optional.

Layer 2: tysm: URI Scheme

Native app integration (optional)

Documentation →
tysm:@alice?amount=10
Instant App Opening
Deep links directly into native app
Automatic Fallback
Opens HTTPS URL if app not installed
Better UX
Faster, native experience for app users
iOS & Android
Standard mobile deep linking

Add when you have a mobile app. Layer 1 still works, this enhances it.

Layer 3: Enterprise API & Dedicated Infrastructure

For banks, platforms, and large partners

Contact Sales →
Dedicated Workspaces
Isolated infrastructure and routing for your organization
Custom SLAs & Support
Up to 99.99% uptime SLA with dedicated account management
Webhooks & Server Integrations
Real-time events and server-side API access
Custom Branding Options
Branded checkout experiences and embeddable widgets
Webhook Signature Verification
Ed25519-signed webhooks to verify event authenticity
Managed by TYSM
We run the infrastructure—you get dedicated capacity and guarantees

For banks, platforms, and large partners who want to embed TYSM at scale. TYSM runs and manages the infrastructure—you get dedicated capacity, custom SLAs, and custom branding.

Start Building in 60 Seconds

Get your API key at tysm.to/app/developers and start building

Two Ways to Use the Protocol

🔗 Just Use Links
No API key needed
https://tysm.to/@yourhandle

Works everywhere: websites, emails, QR codes, social media. Perfect for simple tipping and payment buttons.

🔑 Use the API
Requires API key
tysm.getGratitudeScore()

Query reputation data, display trust badges, build conditional logic. Perfect for platforms and integrations.

TLDR: Links are for distribution. The API is for reputation.

1. Use the JavaScript SDK (Recommended)

Type-safe, easy to use, production-ready

npm install @tysm/sdk
import { TYSM } from '@tysm/sdk';

// Initialize with your API key
const tysm = new TYSM('tysm_live_your_api_key');

// Get gratitude score
const score = await tysm.getGratitudeScore('@daniel');
console.log(`${score.score}/850 - ${score.tier}`);
// "742/850 - GOLD"

// Send gratitude with idempotency (prevents duplicate charges)
const transaction = await tysm.send({
  recipient: '@alice',
  amount: 1000, // $10.00 in cents
  memo: 'Thanks for the coffee!',
  idempotencyKey: 'order-123-abc' // Prevents accidental double-sends
});
// { id: 'txn_...', status: 'completed', amount: 1000 }

// Get user profile
const user = await tysm.getUser('@daniel');
console.log(`${user.name} - Verified: ${user.verified}`);
// "Daniel - Verified: true"

// Create payment link
const url = tysm.createPaymentLink('@alice', 500, 'Thanks!');
// "https://tysm.to/@alice?amount=5&memo=Thanks!"

2. Or Use the API Directly

Works with any language - just add your API key

// Get gratitude score (requires API key)
const response = await fetch(
  'https://tysm.to/api/v1/public/gratitude/@daniel/score',
  {
    headers: {
      'Authorization': 'Bearer tysm_live_your_api_key'
    }
  }
);

const data = await response.json();
console.log(data);
/*
{
  "handle": "daniel",
  "score": 742,
  "tier": "GOLD",
  "totalReceived": 12500,
  "totalSent": 8560,
  "transactionCount": 156
}
*/

3. Create Gratitude Links (No API Key)

Anyone can click and send - guest checkout, no signup required

<!-- Add to any website -->
<a href="https://tysm.to/@alice?amount=10&memo=Thanks">
  💙 Send Gratitude
</a>

<!-- Works in email signatures -->
<a href="https://tysm.to/@yourhandle">
  tysm.to/@yourhandle
</a>

<!-- QR code content -->
https://tysm.to/@restaurant/sarah?amount=5

Idempotency Keys

Prevent duplicate charges with built-in idempotency support on all transaction endpoints.

Test Mode

Use tysm_test_ keys to test without real money. Full feature parity.

Webhook Verification

Ed25519-signed webhooks with automatic retry and exponential backoff.

Ready to Build?

Get your API key in 30 seconds

Free: 1,000 req/hour • Pro: 10,000 req/hour • Enterprise: Custom limits

Why Three Layers?

Progressive enhancement. Start simple, add complexity only when needed.

Universal First

Layer 1 works everywhere with zero setup. Maximum compatibility.

Better When Possible

Layer 2 enhances with native apps. Falls back gracefully.

Enterprise Ready

Layer 3 for organizations that need dedicated capacity, custom SLAs, and custom branding.

Proprietary Protocol, Managed Infrastructure

TYSM is a proprietary protocol and managed infrastructure layer operated by TYSM, Inc. Developers integrate via API, SDKs, and the tysm:// URI—no self-hosting or federation required. We run the infrastructure, you build on top.

Proprietary Gratitude Infrastructure for the Internet

Three layers. One managed platform. Built and operated by TYSM, Inc.

Developer APIs • Universal compatibility • Built for integration