Modular SDK Architecture & Ecosystem

Harriet's Packages Directory

Harriet's Stripex architecture is decoupled into eight independently testable, zero-dependency packages. Each domain provides typed client primitives, automated signature verification, and resilient retry logic engineered for high-volume commerce, distributed microservices, and modern edge runtimes.

Total Modules

8 Core Packages

Full API domain coverage

Runtime Footprint

< 14 KB

Zero external dependencies

Target Engines

Edge & Node

Cloudflare, Bun, Rails, Vercel

Type Coverage

100% Strict

TypeScript & Ruby YARD typed

Deep Dives by Package Domain

Inspect how each package organizes data models, manages network latency, and handles production scale with dedicated code references and visual state representations.

Identity CoreModule 1 of 8stipex.customers

Idempotent customer ledger and tokenized payment instrument vaulting

The customer package encapsulates comprehensive billing identities across diverse checkout touchpoints. Rather than binding credit cards or mobile wallets directly to ad-hoc transactions, every payer identity is securely minted into an isolated merchant vault. This module handles zero-downtime card updates, default payment rail switching, customer-level tax exemption states, and unified transaction histories across cards, M-Pesa wallets, and local bank transfers.

Architecture & Reliability Highlights:

  • Cryptographically enforced idempotency keys prevent duplicate profile initialization under network jitter.
  • Automated metadata indexing supports querying by custom internal merchant user IDs and external CRM tags.
  • Compliant tokenization pipeline ensures zero raw PAN or PIN exposure across your application boundary.

Live State RepresentationInteractive Wireframe

vault://cus_982k4x90
LIVE_VAULT
Identity Name:Grace Hopper Corp
Default Instrument:VISA •••• 4242 (Tokenized)
Settlement Ledger:USD / KES Multi-Currency
✓ Verified KYC Tier 2 • Biometric Multi-Factor Bound

Integration Pattern

Invoke via stipex.customers using your merchant session credentials or backend API key.

Catalog EngineModule 2 of 8stipex.products

Multi-currency SKU indexing with recurring and meterable pricing schedules

The products module provides a flexible catalog engine capable of modeling one-time consumer products, complex enterprise licensing tiers, and recurring subscriptions. Products function as permanent canonical records that decouple commercial presentation from real-time price calculations, letting your engineering team rotate prices, apply regional tax configurations, and experiment with metered usage without modifying checkout clients.

Architecture & Reliability Highlights:

  • Decoupled SKU architecture preserves historical transaction receipts when catalog attributes mutate.
  • Native support for fractional quantity multipliers, seat-based subscriptions, and usage tiers.
  • Instant synchronization with hosted checkout surfaces, invoice generators, and payment links.

Live State RepresentationInteractive Wireframe

prod_enterprise_tier
RECURRING
Base License$149.00 / month
Metered Overages$0.008 / compute-min
Tax Tag: saas_b2bArchivable

Integration Pattern

Invoke via stipex.products using your merchant session credentials or backend API key.

Billing AutomationModule 3 of 8stipex.invoices

Enterprise invoice generation with automated reconciliation and localized PDF delivery

Automate accounts receivable with deterministic invoice lifecycle management. Invoices collect one-time charges, recurring plan fees, and retroactive usage into a legally compliant fiscal receipt. With built-in reminders, net-terms scheduling (Net 15, Net 30, Net 60), credit notes, and smart collection retries, this package handles end-to-end reconciliation so finance operations never have to manually match bank receipts.

Architecture & Reliability Highlights:

  • Automated dunning engine triggers customizable customer reminder webhooks before and after due dates.
  • Zero-latency rendering of international tax compliant PDF receipts with verifiable cryptographic hashes.
  • Atomic state transitions: draft → open → paid → uncollectible with full audit log preservation.

Live State RepresentationInteractive Wireframe

INV-2026-0892
NET 30 DUE
Billed To:Acme Logistics Corp
Subtotal (8 Items):$8,450.00
Tax (16% VAT):$1,352.00
Total Balance:$9,802.00 USD

Integration Pattern

Invoke via stipex.invoices using your merchant session credentials or backend API key.

Instant CheckoutModule 4 of 8stipex.paymentLinks

Zero-code shareable payment links with localized mobile money & card processing

Empower your marketing, sales, and customer support teams to generate secure checkout endpoints instantly. Payment links bundle items, tax settings, discounts, and custom fulfillment workflows into a lightweight, branded link. Optimized for both desktop and mobile viewports, the hosted checkout experience supports Apple Pay, Google Pay, M-Pesa STK push, and global card networks.

Architecture & Reliability Highlights:

  • One-click URL expiration parameters and per-customer maximum transaction attempt limits.
  • Deep-link redirection parameters pass tracking UTM headers directly into resulting webhook payloads.
  • Custom branding engine renders your brand colors, logo monograms, and custom success messages.

Live State RepresentationInteractive Wireframe

pay.harriets.dev/ln_8x2
SECURE HOST

Harriet's Pro Developer Bundle

$49.00 USD

Apple PayM-Pesa STKCards

Integration Pattern

Invoke via stipex.payment-links using your merchant session credentials or backend API key.

Disbursement RailModule 5 of 8stipex.payouts

Multi-rail automated disbursements, creator splits, and telecom payouts

Move money outward with the same programmatic speed as incoming transactions. The payouts module handles programmatic disbursement batches across African telecom channels (including M-Pesa B2C and Airtel Money) alongside standard SWIFT/SEPA global clearing networks. Designed for marketplace split payments, gig worker platforms, and vendor settlements.

Architecture & Reliability Highlights:

  • Two-step approval workflows allow automated staging with biometric or programmatic token release.
  • Comprehensive balance pre-flight check guarantees disbursements never trigger overdraft penalties.
  • Real-time rail status telemetry automatically re-routes payouts during banking window maintenance.

Live State RepresentationInteractive Wireframe

payout_batch_091
SETTLED IN 1.8s
Recipient:+254 712 ••• 890
Disbursement Rail:M-Pesa B2C Direct
Amount Transferred:KES 45,000.00

Integration Pattern

Invoke via stipex.payouts using your merchant session credentials or backend API key.

Risk DefenseModule 6 of 8stipex.disputes

Programmatic chargeback defense, evidence compilation, and resolution tracking

When a customer questions a charge with their issuing bank, the disputes package provides automated tools to safeguard your revenue. Manage evidence upload deadlines, inspect issuing bank reason codes, and assemble multi-document defense dossiers containing server access logs, carrier delivery tracking, and signed agreements.

Architecture & Reliability Highlights:

  • Automated deadline warning thresholds notify your operations team 72 hours before evidence gates expire.
  • Evidence packaging converts raw images and strings into bank-compliant binary attachments.
  • Seamless integration with stipex.disputeTimelineEvents for minute-by-minute audit logging.

Live State RepresentationInteractive Wireframe

dp_under_review_44
NEEDS EVIDENCE
Reason Code:10.4 Fraud / Unauthorized
Evidence Deadline:48h Remaining
Disputed Amount:$380.00 USD

Integration Pattern

Invoke via stipex.disputes using your merchant session credentials or backend API key.

Audit LedgerModule 7 of 8stipex.disputeTimelineEvents

Immutable event ledger documenting arbitration cycles and evidence milestones

Financial compliance requires rigorous proof of communication and procedural adherence. The dispute timeline events module operates as an append-only ledger that logs every step of an open dispute—from the initial webhook notification from Visa/Mastercard to evidence submission, customer rebuttal, and final adjudication.

Architecture & Reliability Highlights:

  • Tamper-evident timestamped milestones ensure non-repudiation during regulatory reviews.
  • Enables merchant platforms to construct transparent customer-facing dispute history widgets.
  • Direct foreign key linkage to master dispute objects and corresponding transaction records.

Live State RepresentationInteractive Wireframe

Audit Stream #88124 Milestones

10:14:02 UTC

Bank Chargeback Initiated

11:05:40 UTC

Tracking Evidence Attached

14:22:18 UTC

Defense Dossier Submitted to Rail

Integration Pattern

Invoke via stipex.timeline-events using your merchant session credentials or backend API key.

Event StreamModule 8 of 8stipex.webhookEvents

Cryptographic signature validation and asynchronous event stream processing

Connect your backend architecture to real-time payment states with resilient webhook handling. This package exposes bulletproof helper functions to inspect inbound HTTP payloads, verify SHA-256 HMAC cryptographic signatures, and protect your serverless functions or Rails apps against replay attacks.

Architecture & Reliability Highlights:

  • Constant-time string comparison protects your endpoint handlers against timing attacks.
  • Configurable tolerance windows guarantee expired or intercepted events are cleanly discarded.
  • Native compatibility with Cloudflare Workers, Node.js HTTP servers, Express, and Rails controllers.

Live State RepresentationInteractive Wireframe

event_stream.listen
HMAC-SHA256 OK

payment_intent.succeeded

sig: v1,7f98d02c81bc6a74e50882e39...

Latency: 42ms • Status: 200 OK Delivered

Integration Pattern

Invoke via stipex.webhooks using your merchant session credentials or backend API key.

Open Developer Ecosystem

Get Involved with Harriet's SDK Development

Our SDK suites and client libraries are open source and governed by continuous community RFCs. Whether you are authoring a new client adapter for Go, Python, or Elixir, contributing benchmarks for high-concurrency payment link queues, or tuning edge caching headers, we welcome your involvement.

1

Propose New Capabilities

Submit Request-for-Comment (RFC) tickets to suggest new payment rails, cryptographic algorithms, or telemetry integrations.

2

Test Edge Adapters

Run our comprehensive synthetic test harness across local Bun, Deno, and Cloudflare Workerd microservices.

3

Earn Bounty Recognition

Report edge-case concurrency race conditions or documentation gaps to earn developer bounties and platform credits.