Skip to content

chore: nomba subaccout scoping for outbound transfer and doc - #16

Open
Lftobs wants to merge 4 commits into
masterfrom
dev
Open

chore: nomba subaccout scoping for outbound transfer and doc#16
Lftobs wants to merge 4 commits into
masterfrom
dev

Conversation

@Lftobs

@Lftobs Lftobs commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces significant improvements to the documentation and payment processing logic, as well as enhancements to test coverage and error handling. The most notable changes include the addition of a comprehensive architecture guide, dynamic minimum funding thresholds based on environment, improved payout source account selection, and stricter payment status checks.

Documentation Updates:

  • Added a detailed docs/architecture.md file documenting the platform's high-level design, payment infrastructure, webhook reconciliation, deployment, and architectural decisions, especially the rationale for using virtual account funding instead of subscriptions.
  • Updated the README.md to include an "Architecture" section, linking to the new architecture documentation and summarizing key design choices. [1] [2]

Payment Processing Improvements:

  • The minimum funding threshold for virtual account deposits is now environment-aware: ₦20.00 in development and ₦5,000.00 in production, improving flexibility for testing and deployment. [1] [2]
  • Payouts now select the source account ID dynamically, using a configured subaccount if available, for better compatibility with payment provider requirements.
  • The require_confirmed_session_payment function now raises an explicit error if any payment is marked as "failed" or "reversed", providing clearer feedback to clients.

Test Coverage Updates:

  • Adjusted test cases in test_reconciliation.py to match the new minimum funding threshold logic, ensuring that the tests accurately reflect both development and production settings. [1] [2] [3]

@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

@Lftobs is attempting to deploy a commit to the Cypheron 's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:

  • Make your repository public. Collaboration is free for open source and public repositories.
  • Upgrade to pro and add @Lftobs as a member. A Pro subscription is required to access Vercel's collaborative features.
    • If you're the owner of the team, click here to upgrade and add @Lftobs as a member.
    • If you're the user who initiated this build request, click here to request access.
    • If you're already a member of the Cypheron 's projects team, make sure that your Vercel account is connected to your GitHub account.

To read more about collaboration on Vercel, click here.

Lftobs added 4 commits July 8, 2026 00:33
Include detailed system design, payment
infrastructure overview, and
webhook reconciliation logic in
docs/architecture.md and reference it
in the README.
environment-dependent

Lower the minimum payment threshold to ₦20.00 in
development mode to
facilitate easier testing.
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
klawva Error Error Jul 7, 2026 11:33pm

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.

1 participant