hackclub / hackclub/banker-api

Set up basic API Service.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Specs:
- [ ] `GET` balance - Self-explanatory.
- [ ] `GET` invoice - Gets an invoice from ID
- [ ] `GET` invoices - Gets all ingoing and outgoing invoices for the user.
- [ ] `POST` transfer/transaction - verifies a transaction, then transfers GP from one user to the other.
- [ ] `POST` invoice - Used by the `/invoice` command. This should create a new invoice between two users.
- [ ] `DELETE` invoice - When an invoice has been paid, this is invoked.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.