Watch payments flow through in real-time. This is what your sales team dashboard could look like.
Everything you need to monitor, track, and analyze payment data in real-time
See payment status changes as they happen, before webhooks arrive from your payment provider.
Revenue graphs, success rates, and KPIs updating in real-time. Built for sales managers.
Type-safe, composable, and runtime-agnostic. Works on Node.js, Cloudflare Workers, Deno, and more.
Swap database and storage providers without changing code. Memory, KV, Redis, or custom.
Link provider responses with webhook events. Complete transaction lifecycle in one place.
HMAC webhook signatures, timing-safe comparisons, and secure crypto utilities included.
Built with Effect-TS for robust error handling and dependency injection. Deploy anywhere — Node.js, Cloudflare Workers, Deno, or Bun.
Type-safe errors, composable services, testable code
Swap providers without changing application code
Crypto utilities, webhook verification, and more
import { Effect } from "effect";
import {
makeFetchRuntime,
Database,
createCloudflareKVStorage
} from "tachles-pay/adapters/cloudflare";
const runtime = makeFetchRuntime({
makeStorage: (env) =>
createCloudflareKVStorage(env.TACHLES_KV)
});
export default {
fetch: runtime((request, env) =>
Effect.gen(function* () {
const db = yield* Database;
const payments = yield* db.listPayups();
return Response.json(payments);
})
)
};