Skip to content

Add fake payment API#12

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

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

Conversation

@vegapunk9527
Copy link
Copy Markdown

Summary

  • add an in-memory payment schema and payment store helpers
  • add POST /payments/send, GET /payments/list, and POST /payments/complete
  • cover payment creation, idempotent resend, filtered listing, and completion in route tests

Testing

  • npm exec --yes bun -- test
  • npx biome check lib/db/schema.ts lib/db/db-client.ts routes/payments/send.ts routes/payments/list.ts routes/payments/complete.ts tests/routes/payments.test.ts
  • npm run build
  • npx tsc --noEmit

/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