Harriet's Developer Platform v2.4

Harriet's Docs

Infrastructure for modern commerce and agentic software. Build with our APIs, Rails DocsSession, and developer SDKs.

HAIJS
teach your agent how to use Harriet's: harriets-skills/get-started.md
harriets.dev/preview
INITIALIZATION LOGLive Session

Loaded @harriets/sdk v2.4.0

Configured runtime with merchant token: harriet_live_sk94...

Verified DocsSession for stripex_merchant_id

Authenticated via encrypted header. Session active for 30 days.

Created payment session

ID: cs_live_948f2a1b9c | M-Pesa + Card enabled

Generated signed checkout preview

Rendered device canvas in 32ms.

// Instant checkout session
const session = await harriets.checkout.sessions.create({
  amount: 4900,
  currency: "usd",
  customer_id: "cus_harriets_01",
  payment_method_types: ["card", "mpesa"],
  success_url: "https://yourdomain.com/receipt/{CHECKOUT_SESSION_ID}"
});
Latency: 38msStatus: 200 OK
Harriet's Store$49.00

Product

Developer Pro Plan

Annual subscription

Card number•••• 4242
12 / 28
CVC •••
Scan or load on mobile