Skip to content

Add retry-safe fake payment API#40

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

Add retry-safe fake payment API#40
mg272011 wants to merge 1 commit into
tscircuit:mainfrom
mg272011:codex/payment-api

Conversation

@mg272011
Copy link
Copy Markdown

/claim #1

Summary

  • adds fake payment records to the in-memory zod/zustand store
  • adds send/list/get/complete/cancel payment routes with Winterspec schemas
  • supports idempotency keys for retry-safe fake payment sends
  • documents endpoint usage and adds route coverage

Verification

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

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