Skip to content

feat: implement x402 seller workflows - #11

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/x402-seller
Oct 1, 2026
Merged

nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/x402-seller

Conversation

@nkavian

@nkavian nkavian commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add async Seller configuration, exact prices, route construction, sponsorship declarations, and upstream scheme registrations.
  • Add an InFlow Facilitator with stable payment identifiers, precise rejection handling, and bounded retries for explicit pending settlements only.
  • Document FastAPI setup, metering, client lifetime, and upstream integration behavior.

Verification

  • make sync and make verify passed on Python 3.11, 3.12, 3.13, and 3.14: formatting, strict typing, 757 tests, coverage gates, package build, and isolated consumers.
  • All 39 shared seller vectors match inflow-specs.
  • Real upstream FastAPI middleware tests cover successful and rejected payments, handler failures, and metered settlement. InFlow HTTP responses are mocked; no live funds were moved.
  • Review covered cancellation, cache isolation, payment identifier stability, optional imports, retry safety, and independent sponsorship schemas.

Related changes

Broader cross-product hardening, runnable example applications, and cross-language interoperability remain separate queued tasks.

@nkavian
nkavian merged commit f5b248b into inflowpayai:main Oct 1, 2026
4 checks passed
@nkavian
nkavian deleted the feat/x402-seller branch October 1, 2026 23:09
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