Skip to content

feat(payments): add send/list/get/complete/cancel API with idempotency#37

Open
js360000 wants to merge 1 commit into
tscircuit:mainfrom
js360000:bountybox/issue-1
Open

feat(payments): add send/list/get/complete/cancel API with idempotency#37
js360000 wants to merge 1 commit into
tscircuit:mainfrom
js360000:bountybox/issue-1

Conversation

@js360000
Copy link
Copy Markdown

Summary

feat(payments): add send/list/get/complete/cancel API with idempotency

Diff

 lib/db/db-client.ts                |  78 ++++++++++++++++++++++++-
 lib/db/schema.ts                   |  25 ++++++++
 routes/payments/cancel.ts          |  24 ++++++++
 routes/payments/complete.ts        |  24 ++++++++
 routes/payments/get.ts             |  23 ++++++++
 routes/payments/list.ts            |  30 ++++++++++
 routes/payments/send.ts            |  38 +++++++++++++
 tests/routes/payments/send.test.ts | 113 +++++++++++++++++++++++++++++++++++++
 8 files changed, 353 insertions(+), 2 deletions(-)

Claim

/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.

2 participants