Skip to content

Add fake payment API#29

Open
lasgg wants to merge 1 commit into
tscircuit:mainfrom
lasgg:codex/fake-payment-api
Open

Add fake payment API#29
lasgg wants to merge 1 commit into
tscircuit:mainfrom
lasgg:codex/fake-payment-api

Conversation

@lasgg
Copy link
Copy Markdown

@lasgg lasgg commented May 13, 2026

Summary

  • add a fake payment lifecycle API with send/list/get/complete/cancel/fail routes
  • persist payment records in the existing in-memory zod/zustand store
  • support retry-safe sends with optional idempotency_key and list filters for recipient, repository, and status
  • document the payment endpoints in the README

Verification

  • npx --yes bun test
  • npx biome check lib/db/schema.ts lib/db/db-client.ts routes/payments tests/routes/payments.test.ts README.md
  • npx --yes bun run build
  • npx tsc --noEmit
  • git diff --check

/claim #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant