Skip to content

Add payment sending API#17

Open
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:bootstrap-payment-api
Open

Add payment sending API#17
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:bootstrap-payment-api

Conversation

@joel777rubio-web
Copy link
Copy Markdown

Fixes #1.

Adds a small payment API bootstrap:

  • POST /payments/send validates recipient, amount_usd, and optional memo, then records a sent payment.
  • GET /payments/list returns recorded payments.
  • Adds a payment schema and in-memory db helper.
  • Adds coverage for sending and listing payments.

Verification:

  • npx bun test
  • npx bun run build

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