Skip to content

feat: add fake payment API#31

Open
autochamchikim-pixel wants to merge 1 commit into
tscircuit:mainfrom
autochamchikim-pixel:feat/fake-payment-api
Open

feat: add fake payment API#31
autochamchikim-pixel wants to merge 1 commit into
tscircuit:mainfrom
autochamchikim-pixel:feat/fake-payment-api

Conversation

@autochamchikim-pixel
Copy link
Copy Markdown

Summary

  • Adds fake payment lifecycle routes: POST /payments/send, GET /payments/list, GET /payments/get, and POST /payments/update_status.
  • Extends the in-memory database schema/client with payment records, statuses, and idempotency-key deduplication.
  • Documents the payment API and adds Bun route coverage for send/list/get/update flow.

Validation

  • bun install
  • bun test tests/routes/health.test.ts tests/routes/things/create.test.ts tests/routes/payments.test.ts

Closes #1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap w/ API for sending payment

1 participant