feat: add deposits/addresses, wallet transfer, invoice share, outstanding-aging report#1085
Merged
davedumto merged 1 commit intoJun 25, 2026
Conversation
…ding-aging report Closes davedumto#1028 Closes davedumto#1026 Closes davedumto#1017 Closes davedumto#1009
|
@Jay-Peter-Egemasi is attempting to deploy a commit to the david's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Jay-Peter-Egemasi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #1028
Closes #1026
Closes #1017
Closes #1009
Changes
#1028 — GET,POST /api/routes-d/deposits/addresses
List and generate deposit addresses. GET filters by
networkquery param. POST validates network (mainnet/testnet), looks up wallet address, creates adepositAddressrecord.#1026 — POST /api/routes-d/wallet/transfer
Internal transfer between wallet buckets. Validates
fromBucket,toBucket(savings/operating/reserve),amount, andcurrency. Rejects same-bucket transfers. Creates aninternal_transfertransaction.#1017 — POST /api/routes-b/invoices/[id]/share
Share an invoice via channel link. Validates invoice ownership, validates channels (link/email/slack), generates a base64url share token, returns
shareUrlandexpiresAt(7 days). Wrapped withwithRequestId.#1009 — GET /api/routes-b/reports/outstanding-aging
Outstanding-by-aging-bucket report. Buckets pending/overdue invoices into current, 1-30, 31-60, 61-90, 90+ day bands. Accepts
currencyquery param. Returns totals per bucket and overall. Wrapped withwithRequestId.Test plan