Skip to content

feat: add APort AP2 payment bridge#86

Open
KingParmenides wants to merge 1 commit into
aporthq:mainfrom
KingParmenides:aport-ap2-bridge-11
Open

feat: add APort AP2 payment bridge#86
KingParmenides wants to merge 1 commit into
aporthq:mainfrom
KingParmenides:aport-ap2-bridge-11

Conversation

@KingParmenides
Copy link
Copy Markdown

Summary

  • Adds a JavaScript AP2 bridge under examples/protocol-bridges/ap2 using @aporthq/sdk-node for APort passport policy authorization.
  • Adds an AP2 REST client wrapper, policyTrace mapping, allow/deny handling, confirmation payload support, and a mocked local payment-flow demo.
  • Documents environment variables, live usage, authorization flow, and AP2 responsibility boundaries.

Verification

  • npm_config_cache=/private/tmp/codex-npm-cache npm install --no-audit --no-fund --package-lock=false
  • npm_config_cache=/private/tmp/codex-npm-cache npm test
  • npm_config_cache=/private/tmp/codex-npm-cache npm run example
  • git diff --cached --check with a temporary Git index

Closes #11

Bounty: $50 USD
Preferred payout: BTC 39Q34P8A7g375yqEr8buvNJkUbRgKfbKQZ

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.

[Hacktoberfest] AP2 Bridge for Payment Authorization

1 participant