Skip to content

Add fake payment API#13

Open
francoabaroa wants to merge 3 commits into
tscircuit:mainfrom
francoabaroa:bounty-fake-payment-api
Open

Add fake payment API#13
francoabaroa wants to merge 3 commits into
tscircuit:mainfrom
francoabaroa:bounty-fake-payment-api

Conversation

@francoabaroa
Copy link
Copy Markdown

@francoabaroa francoabaroa commented May 11, 2026

Summary

  • add a fake payment record model to the in-memory database
  • add payment lifecycle routes: send, list, get, complete, cancel, and fail
  • support retry-safe sends with an optional idempotency key
  • add route tests covering lifecycle, filtering, idempotency, cancellation, and failure
  • document the fake payment API in the README

Bounty

/claim #1

Verification

  • git diff --check
  • Added route coverage in tests/routes/payments.test.ts

I did not run the test suite locally because this was prepared in an isolated Codex workspace under a no-local-execution constraint for untrusted bounty repositories.

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