Repository navigation
Add API client generation, testnet walkthrough, webhook example, and API-key management - #999
Merged
Merged
Conversation
|
@kennyjid 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
Add API client generation, testnet walkthrough, webhook example, and API-key management
What was solved
#979 — Generate a typed client from the OpenAPI spec
Add a generated, typed OpenAPI client for the backend API so request/response types stay in sync with the published schema, with CI staleness detection and a documented consumer example that builds.
Addressed:
#980 — Add a seeded local testnet merchant walkthrough
Add a repeatable local testnet merchant walkthrough: seeded test data plus a documented end-to-end flow for creating an invoice, paying it, and verifying settlement on-chain and in the backend. Deliverables are a seed script/fixture and a walkthrough doc (likely a Makefile target and README/Makefile wiring) so a clean environment can reproduce expected on-chain and backend state.
Addressed:
#981 — Publish a runnable webhook receiver example
Add a minimal, runnable webhook receiver example that verifies delivery signatures and safely handles duplicate or retried deliveries, backed by automated verification tests. The example should live alongside the existing backend code and reuse its established patterns (signature verification, idempotency) rather than introducing new infrastructure.
Addressed:
#982 — Add merchant API-key management to the frontend
Add a merchant-facing frontend surface for API-key management: authorized merchants can create, rotate, and revoke API keys and view last-used metadata, with secrets displayed only once at creation and proper authorization/error-state handling.
Addressed:
Changes
README.md(modify)artifacts/addresses.json.example(modify).github/workflows/ci.yml(modify)Makefile(modify)backend/src/idempotency.rs(modify)backend/src/lib.rs(modify)backend/.env.example(modify)backend/src/handlers.rs(modify)Approach
Issues
Closes #979
Closes #980
Closes #981
Closes #982